Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

A browser extension that enhance all Merge Requests lists on any instance of Gitlab and GitLab.com

License

Notifications You must be signed in to change notification settings

EpocDotFr/gitlab-merge-requests-lists-enhancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitLab Merge Requests lists enhancer

A browser extension that enhance all Merge Requests lists on any instance of Gitlab and GitLab.com.

Features

  • No configuration needed: install and it just works
  • Display source and target branches
    • Can be enabled/disabled in the extension preferences
    • Buttons allowing to easily copy these branches name (can be enabled/disabled in the extension preferences)
  • Button allowing to copy Merge Request information (useful when sharing the Merge Request on e.g instant messaging softwares)
    • Can be enabled/disabled in the extension preferences
    • Text format is customizable (with support of placeholders)
  • Direct Jira ticket link
    • Can be enabled/disabled in the extension preferences
    • Ticket ID is automatically detected in source branch name or Merge Request title
    • Base Jira URL is configured in extension preferences
    • The ticket ID or an icon can be displayed as the link label (configured in extension preferences)
  • WIP toggle button (can be enabled/disabled in the extension preferences)
  • Compatible with all GitLab editions (GitLab CE, GitLab EE, GitLab.com) (look at the prerequisites, though)

Prerequisites

  • GitLab: 9.0 or above or GitLab.com (this addon requires GitLab API v4)
  • Firefox: >= 63 (because this extension uses the clipboard.writeText API)
  • Chrome: >= 66 (because this extension uses the clipboard.writeText API)

Installation

You can also install this add-on manually by using one of the ZIP files on the Releases page.

Credits

Roadmap

๐Ÿ‘‰ = current version

  • 1.0 - Initial release (display Merge Request source and target branches name)
  • 1.1 - Copy source and target branches name
  • 1.2 - Copy Merge Request information (intended for sharing on e.g instant messaging softwares)
  • 1.3 - Direct Jira ticket link (automatic detection of ticket ID in source branch name or Merge Request title)
  • 1.4 - WIP toggle button
  • ๐Ÿ‘‰ 1.5 - New option: enable display Merge Request source and target branches
  • 1.6 - Automatic update of pipeline status and conflict icons

FAQ

  • Why is there still clickable links on deleted source/target branches name?

Due to a technical GitLab limitation, the extension has no reliable way to determine if a branch has been deleted. Therefore, branches name are always links and are always clickable even though it's leading to a 404 page.

  • Can you display a link to the Merge Request linked to the target branch, if any?

It would be great, however the extension has no reliable way to do that due to a technical GitLab limitation.

License

DBAD 1.1

End words

If you have questions or problems, you can submit an issue.

You can also submit pull requests. It's open-source dude!