Skip to content

feat(ui): replace push health counts with new counts#9361

Open
benoitgoupilleau wants to merge 3 commits intomozilla:masterfrom
benoitgoupilleau:feat/UI-PushCounts
Open

feat(ui): replace push health counts with new counts#9361
benoitgoupilleau wants to merge 3 commits intomozilla:masterfrom
benoitgoupilleau:feat/UI-PushCounts

Conversation

@benoitgoupilleau
Copy link
Copy Markdown

@benoitgoupilleau benoitgoupilleau commented Mar 31, 2026

As part of removing Push Health links, the push health counts are replaced with new counts based on the jobs data. This new count appears in the header bar for each revision.

When on try repo, after selecting a specific revision, additionally, details counts are displayed (Linting, Build and Tests)

Screenshots:

  • header:
Screenshot 2026-04-01 at 09 52 45 Screenshot 2026-04-01 at 09 52 33 Screenshot 2026-04-01 at 09 52 01
  • detail view
Screenshot 2026-03-31 at 14 45 52

<>
{totalFailedJobs > 0 && (
<Badge
bg="warning"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The failure count for pushes with jobs still in progress must not use the same color as the 'fixed by commit' badge. The latter has the warning type to tell people "Don't use this for production code". Could a different, non-bootstrap color be used (e.g. orange)?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could also display them as they are displayed once all jobs are completed -> red background and white text.
What do you think?
Also for the fixed commit badge, I would add a text inside like "{fixedByCommit} fixed by commit"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants