This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@dansmaculotte/vue-gitlab-review-toolbar

0.1.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (26)

    Package Sidebar

    Install

    npm i @dansmaculotte/vue-gitlab-review-toolbar

    Weekly Downloads

    4

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    7.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • pab50
    • romaintouze-dmc
    • zevran