Git Product home page Git Product logo

gitlab-mr-summary's Introduction

Gitlab MR summary extension

Do you know the feeling when you start using a new service but want some features from the old one? I had this feeling when we started using Gitlab in HeurekaDevs after some time when we were using Bitbucket Stash and found that Gitlab has no summary of pending MRs for codereview, as Stash had. Yes, there are TODOs but they behave strangely and illogically so I decided to write this extension.

How it works

Extension uses Gitlab API for getting all required data about projects and theirs MR requests and participants. Puts everything together and show as a list of merge-requests which waits to codereview and list of yours merge-requests.

Since v2.0.0+ data are stored locally for some time (can be set on options page) and synced over all tabs with same domain as your Gitlab has, so no more waiting for download on new/next page.

Personal access tokens can now have restricted read-only access (since Gitlab 12.10.0 (2020-04-22)), so for security reasons, I recommend using these restricted ones. All downloaded data are stored locally and they are downloaded again on some change (approve, merge).

Setup

  1. Get extension for your browser
  2. Set options of your Gitlab
    • for auth you can use
      • private access token
      • OAuth2
        • redirect URI displays when you check this option
        • OAuth flow pops up when you first come to entered Gitlab domain
  3. Go to your Gitlab domain and profit!

Gitlab Fixtures

A collection of several scripts that make working with gitlab a little more comfortable.

  1. Show commits count in merge button commits count If you are used to squash commits before merging and sometimes you forget it, first fixture will help a little bit.
  2. Expand CI/CD secrets textarea

The second fixture helps with preview of variables (when you click on reveal values) and in edit modal window set bigger height for textarea. 3. Automatically check delete source branch in new-mergerequest page

auto check delete branch And third one automatically check option Delete source branch when merge request is accepted on merge request create page.

Develop

Run watch task

$ docker-compose build
$ docker-compose up

Pack extension to zip file for distributing (folder to packed_extension)

$ docker-compose build
$ docker-compose -f docker-compose.yml -f docker-compose.pack.yml up

gitlab-mr-summary's People

Contributors

dazix avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gitlab-mr-summary's Issues

Allow to specify what to show in To Review list

I'd like to filter out

  • WIP or Draft
  • PRs I only participate but not am as a reviewer
  • PRs I've already approved

so the list serves more like todo. Now there are a lot of reviews I'm not planning to touch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.