fix(ui): clearer hold reasons, aligned details and chart states

Render the hold reason as a sentence, pluralise counts, give the details grid a fixed rhythm, use distinct registry colours, label the plotted series, and show a note for a single day of history.
This commit is contained in:
2026-11-24 01:27:22 +00:00
parent 6e8ac5265c
commit ad8295455d
19 changed files with 203 additions and 51 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ describe('verdictBanner', () => {
)
expect(banner.type).toBe('danger')
expect(banner.title).toBe('Held: CVE-2021-44906 is CRITICAL')
expect(banner.body).toContain('Blocks any CRITICAL.')
expect(banner.body).toContain('1 critical finding. Policy holds any critical finding.')
expect(banner.body).not.toContain('threshold')
expect(banner.body).toContain('403')
expect(banner.body).toContain('Fixed in v1.2.6')
})