feat(ci): add label-specific issue badges#50
Conversation
Greptile SummaryThis PR adds three label-specific badge columns —
Confidence Score: 5/5This PR makes purely additive, template-only changes to a static dashboard page with no logic, data mutations, or security-sensitive paths involved. The change adds three new badge cells to a Liquid/Pug template. The shields.io endpoints and GitHub search query strings are correctly formed and URL-encoded. No existing behavior is altered. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[ci.pug table row per module] --> B[Issues badge\nshields.io/github/issues]
A --> C[High badge\nshields.io/github/issues-raw/.../priority: high]
A --> D[Medium badge\nshields.io/github/issues-raw/.../priority: medium]
A --> E[Bugs badge\nshields.io/github/issues-raw/.../type: bug]
A --> F[PRs badge\nshields.io/github/issues-pr]
A --> G[LoC badge\nshields.io/tokei/lines]
C --> C1[GitHub filtered search\nis:issue is:open label:priority: high]
D --> D1[GitHub filtered search\nis:issue is:open label:priority: medium]
E --> E1[GitHub filtered search\nis:issue is:open label:type: bug]
Reviews (2): Last reviewed commit: "fix(ci): normalize badge URL casing" | Re-trigger Greptile |
| a(href="https://github.com/ActivityWatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22priority%3A%20high%22") | ||
| img(alt="Open high-priority issues" src="https://img.shields.io/github/issues-raw/ActivityWatch/{{module}}/priority%3A%20high.svg?style=flat-square") | ||
|
|
||
| td | ||
| a(href="https://github.com/ActivityWatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22priority%3A%20medium%22") | ||
| img(alt="Open medium-priority issues" src="https://img.shields.io/github/issues-raw/ActivityWatch/{{module}}/priority%3A%20medium.svg?style=flat-square") | ||
|
|
||
| td | ||
| a(href="https://github.com/ActivityWatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22type%3A%20bug%22") | ||
| img(alt="Open bug issues" src="https://img.shields.io/github/issues-raw/ActivityWatch/{{module}}/type%3A%20bug.svg?style=flat-square") |
There was a problem hiding this comment.
The new badge URLs use
ActivityWatch (mixed case) for the org name while all existing badge URLs in this file consistently use lowercase activitywatch. GitHub and shields.io treat these as equivalent, but the inconsistency breaks the visual pattern established by lines 71 and 87.
| a(href="https://github.com/ActivityWatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22priority%3A%20high%22") | |
| img(alt="Open high-priority issues" src="https://img.shields.io/github/issues-raw/ActivityWatch/{{module}}/priority%3A%20high.svg?style=flat-square") | |
| td | |
| a(href="https://github.com/ActivityWatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22priority%3A%20medium%22") | |
| img(alt="Open medium-priority issues" src="https://img.shields.io/github/issues-raw/ActivityWatch/{{module}}/priority%3A%20medium.svg?style=flat-square") | |
| td | |
| a(href="https://github.com/ActivityWatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22type%3A%20bug%22") | |
| img(alt="Open bug issues" src="https://img.shields.io/github/issues-raw/ActivityWatch/{{module}}/type%3A%20bug.svg?style=flat-square") | |
| a(href="https://github.com/activitywatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22priority%3A%20high%22") | |
| img(alt="Open high-priority issues" src="https://img.shields.io/github/issues-raw/activitywatch/{{module}}/priority%3A%20high.svg?style=flat-square") | |
| td | |
| a(href="https://github.com/activitywatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22priority%3A%20medium%22") | |
| img(alt="Open medium-priority issues" src="https://img.shields.io/github/issues-raw/activitywatch/{{module}}/priority%3A%20medium.svg?style=flat-square") | |
| td | |
| a(href="https://github.com/activitywatch/{{module}}/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22type%3A%20bug%22") | |
| img(alt="Open bug issues" src="https://img.shields.io/github/issues-raw/activitywatch/{{module}}/type%3A%20bug.svg?style=flat-square") |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
priority: high,priority: medium, andtype: bugbadge columns to the/ci/issues tableCloses #3