Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

dansmaculotte/vue-gitlab-review-toolbar

Repository files navigation

vue-gitlab-review-toolbar

npm version npm downloads Dependencies Standard JS

Vue.js plugin for Gitlab Review Toolbar

This feature from Gitlab is undocumented. You can find it after setting up a review app in merge request.

Component code is accessible here.

gitlab review button gitlab review modal gitlab review personal access token gitlab review send feedback

Setup

  1. Add the @dansmaculotte/vue-gitlab-review-toolbar dependency with yarn or npm to your project
  2. Configure it:
import Vue from 'vue'
import GitlabReviewToolbar from '@dansmaculotte/vue-gitlab-review-toolbar'

Vue.use(GitlabReviewToolbar, {
  projectId: 'GITLAB_PROJECT_ID',
  projectPath: 'GITLAB_PROJECT_PATH',
  mergeRequestId: 'GITLAB_MERGE_REQUEST_ID',
  mergeRequestUrl: 'YOUR_GITLAB_URL',
  personalAccessToken: 'YOUR_PERSONAL_ACCESS_TOKEN'
})

Usage

Options

projectId

  • Type: String
    • Default: ''

projectPath

  • Type: String
    • Default: ''

mergeRequestId

  • Type: String
    • Default: ''

mergeRequestUrl

  • Type: String
    • Default: 'https://gitlab.com'

personalAccessToken

  • Type: String
    • Default: ''

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

About

Vue.js plugin for Gitlab Review Toolbar

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •