https://github.com/codelenny/gitlab-links
Styles closed issues and merge requests on GitLab.
https://github.com/codelenny/gitlab-links
Last synced: about 1 month ago
JSON representation
Styles closed issues and merge requests on GitLab.
- Host: GitHub
- URL: https://github.com/codelenny/gitlab-links
- Owner: CodeLenny
- Created: 2016-08-31T20:10:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-02T17:05:38.000Z (almost 10 years ago)
- Last Synced: 2025-11-27T09:48:47.304Z (7 months ago)
- Language: JavaScript
- Homepage: http://gitlab-links.codelenny.com/
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitLab Link Styler
Styles closed issues and merge requests on GitLab. Reads links to issues, and looks each one up in GitLab via the
GitLab API. Closed issues are crossed out. Open issues with checklists in their description are underlined with a
progress bar.

In this example, the issues 21528 and 21613 were closed (at the time of the screenshot), while 21706 was open, and had
a checklist in it's [description](https://gitlab.com/gitlab-org/gitlab-ce/issues/21706), so a progress bar was added
as an underline.
## Installation
With [TamperMonkey](https://tampermonkey.net/) installed in your browser,
visit the [Raw Script](https://raw.githubusercontent.com/CodeLenny/gitlab-links/master/styler.user.js),
which TamperMonkey will prompt you to install.
The script is set to automatically update itself, but the TamperMonkey extension has a very slow update interval by
default. I recommend adjusting the update frequency in the TamperMonkey settings.
## Settings
Visit [http://gitlab-links.codelenny.com/](gitlab-links.codelenny.com) to configure the plugin.
## Change Log
#### v0.3 (8/11/2016)
- Added assets forgotten in v0.2
#### v0.2 (8/11/2016)
- Added `_version` flag to the stored data, to ensure bugfixes to caching are applied.
- Fixed timestamp caching issue
- Tweaked rounding:
- if the percent of completed tasks would round to 0%, but one or more tasks are completed, round up to 10% so the issue doesn't appear unstarted
- if the percent of completed tasks would round to 100%, but one or more tasks are not yet completed, round down to 90% so the issue doesn't appear fully resolved