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/nshortcuts for previous / next commit (in addition to GitLab'sx/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)
pnpm install
pnpm build- Open
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on… and pick
dist/manifest.json
| 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