Skip to content

About

Firefox extension showing your review progress on GitLab merge requests: files viewed and current commit

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MR Review Progress for GitLab

Firefox extension that shows your review progress on GitLab merge requests.

  • Files viewed (e.g. 4 / 23), on all changes or per commit, next to the files count
  • Commit position (e.g. 3 / 17) when reviewing commit by commit, next to the Previous / Next buttons
  • Both counts in one floating badge
  • Optional p / n shortcuts for previous / next commit (in addition to GitLab's x / c)
  • Settings in the toolbar popup or the add-on preferences
  • Works on gitlab.com and self-hosted instances, using your GitLab session (no token)

Install

pnpm install
pnpm build
  1. Open about:debugging#/runtime/this-firefox
  2. Click Load Temporary Add-on… and pick dist/manifest.json

Development

Command Description
pnpm build Bundle src/ into dist/
pnpm watch Rebuild on change
pnpm start Run Firefox with the extension loaded
pnpm lint Lint the built extension with web-ext
pnpm package Build a zip in web-ext-artifacts/
src/
├── manifest.json
├── icons/
├── shared/settings.js      settings defaults and storage
├── content/                content script injected in merge request pages
│   ├── index.js            entry point: render loop and wiring
│   ├── gitlab-page.js      URL parsing and GitLab DOM lookups
│   ├── gitlab-api.js       GitLab REST API calls
│   ├── commit-cache.js     commit list cache per merge request
│   ├── commit-position.js  commit position label
│   ├── file-reviews.js     viewed files count from GitLab local storage
│   ├── labels.js           shared loading and error labels
│   ├── badges.js           inline and floating badges
│   ├── shortcuts.js        p / n shortcuts
│   └── content.css
└── popup/                  settings popup, also used as the preferences page
scripts/build.mjs           esbuild bundling and static files copy

About

Firefox extension showing your review progress on GitLab merge requests: files viewed and current commit

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages