Skip to content

feat(metrics): prepend issue fields as formatted labels - #3276

Open
setchy wants to merge 4 commits into
mainfrom
feat/issue-fields-as-labels
Open

feat(metrics): prepend issue fields as formatted labels#3276
setchy wants to merge 4 commits into
mainfrom
feat/issue-fields-as-labels

Conversation

@setchy

@setchy setchy commented Sep 5, 2026

Copy link
Copy Markdown
Member

Add support for rendering GitHub Issue Fields, prepending to labels metrics using {{name}}: {{value}} convention.

Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
setchy requested a review from afonsojramos as a code owner September 5, 2026 11:40
@github-actions github-actions Bot added the enhancement New feature or enhancement to existing functionality label Sep 5, 2026
@setchy
setchy marked this pull request as draft September 5, 2026 14:39
@setchy setchy changed the title feat(metrics): prepend issue fields as labels feat(metrics): prepend issue fields as formatted labels Sep 5, 2026
Map both GitHub issue field single-select option colors and native issue
type colors through the shared IconColor design tokens instead of
hard-coded hex strings. Extends the token set with Primer-backed severe
(ORANGE), accent (BLUE) and sponsors (PINK) tokens so all eight GitHub
colors are preserved (light/dark/Glass/reduced-transparency variants).

Field label tokens now render their colour via the IconColor Tailwind
class applied inline (Primer's own label styles would otherwise beat the
utility class in the cascade).

Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy
setchy marked this pull request as ready for review September 6, 2026 04:14
@sonarqubecloud

sonarqubecloud Bot commented Sep 6, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or enhancement to existing functionality

Development

Successfully merging this pull request may close these issues.

1 participant