P2, part 1 of the UI/UX pass. Stacked on #406: merge that first; this PR's base then moves to main.
The overview showed generic tiles: every finding ever stored, a tickets count, a severity chart. It now answers what a Maschinenbauer asks first: where does each product stand against the CRA, and what do I do next?
Dashboard
Figures strip:
Prüfobjekte;
Offene Befunde, with critical and high called out;
Komponenten in der Stückliste;
Bekannte Schwachstellen (CVE).
Each tile links onward.
CRA-Stand je Prüfobjekt:
One bar per target over the 40 Annex I requirements, in the order nicht erfüllt / nicht bewertet / kein Verstoß gefunden / nicht im Code prüfbar.
Each row shows the violated count and the last scan's age ("vor 2 Std.").
The most violated targets come first; eight are shown, with a link to the rest.
A target's name opens its CRA status.
Als Nächstes: the six most severe open findings, with their target and Fundstelle.
AI chat and MCP sections: unchanged, and still hidden in source_only.
Shared pieces:
CraBar, a shared component drawing the status in the same order and colours everywhere; the target page and CRA page will reuse it.
format_ago, which writes relative time in German and English.
Agent
GET /api/v1/compliance/summary: every target's CRA counts plus component and CVE totals in one call.
Up to 4 targets are evaluated at a time.
A target too large to evaluate is listed with counts: null instead of failing the summary.
/api/v1/stats/overview:
The finding counts now cover only findings still needing action (open, bewertet, zu prüfen). Resolved findings, false positives, accepted risks and ignored findings no longer count as risk. On the nightly data: 99 open instead of 175 stored.
They come from one aggregation instead of five separate counts.
Checks
fmt, and clippy with the CI flags on the agent and on both dashboard feature sets.
Tests: dashboard 57 + 41, agent lib 454.
The Mongo integration test evidence now checks that the summary's counts match the per-target CRA view.
P2, part 1 of the UI/UX pass. **Stacked on #406**: merge that first; this PR's base then moves to main.
The overview showed generic tiles: every finding ever stored, a tickets count, a severity chart. It now answers what a Maschinenbauer asks first: *where does each product stand against the CRA, and what do I do next?*
## Dashboard
- **Figures strip:**
- Prüfobjekte;
- Offene Befunde, with critical and high called out;
- Komponenten in der Stückliste;
- Bekannte Schwachstellen (CVE).
Each tile links onward.
- **CRA-Stand je Prüfobjekt:**
- One bar per target over the 40 Annex I requirements, in the order nicht erfüllt / nicht bewertet / kein Verstoß gefunden / nicht im Code prüfbar.
- Each row shows the violated count and the last scan's age ("vor 2 Std.").
- The most violated targets come first; eight are shown, with a link to the rest.
- A target's name opens its CRA status.
- **Als Nächstes:** the six most severe open findings, with their target and Fundstelle.
- **AI chat and MCP sections:** unchanged, and still hidden in `source_only`.
- **Shared pieces:**
- `CraBar`, a shared component drawing the status in the same order and colours everywhere; the target page and CRA page will reuse it.
- `format_ago`, which writes relative time in German and English.
## Agent
- **`GET /api/v1/compliance/summary`:** every target's CRA counts plus component and CVE totals in one call.
- Up to 4 targets are evaluated at a time.
- A target too large to evaluate is listed with `counts: null` instead of failing the summary.
- **`/api/v1/stats/overview`:**
- The finding counts now cover only findings still needing action (open, bewertet, zu prüfen). Resolved findings, false positives, accepted risks and ignored findings no longer count as risk. On the nightly data: 99 open instead of 175 stored.
- They come from one aggregation instead of five separate counts.
## Checks
- fmt, and clippy with the CI flags on the agent and on both dashboard feature sets.
- Tests: dashboard 57 + 41, agent lib 454.
- The Mongo integration test `evidence` now checks that the summary's counts match the per-target CRA view.
- New tests: `format_ago` and the summary row's JSON.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
The overview answered with generic tiles (all findings ever, tickets, a
severity chart). It now answers what a Maschinenbauer asks first:
- a figures strip: targets, open findings (critical and high called out),
components in the Stückliste, known vulnerabilities; each links onward;
- CRA status by target: one bar per target over the 40 Annex I
requirements, the violated count and the last scan's age, the most
violated first;
- "Als Nächstes": the most severe open findings, with target and location.
Agent:
- GET /api/v1/compliance/summary returns every target's CRA counts in one
call (4 targets evaluated at a time; one too large to evaluate is listed
without counts instead of failing the summary).
- The overview counts only open findings (open, triaged, needs review) and
in one aggregation instead of five counts over every finding ever stored.
A shared CraBar component draws the status in the same order and colours
wherever it appears; format_ago writes "vor 2 Std." / "2 h ago".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
P2, part 1 of the UI/UX pass. Stacked on #406: merge that first; this PR's base then moves to main.
The overview showed generic tiles: every finding ever stored, a tickets count, a severity chart. It now answers what a Maschinenbauer asks first: where does each product stand against the CRA, and what do I do next?
Dashboard
Figures strip:
Each tile links onward.
CRA-Stand je Prüfobjekt:
Als Nächstes: the six most severe open findings, with their target and Fundstelle.
AI chat and MCP sections: unchanged, and still hidden in
source_only.Shared pieces:
CraBar, a shared component drawing the status in the same order and colours everywhere; the target page and CRA page will reuse it.format_ago, which writes relative time in German and English.Agent
GET /api/v1/compliance/summary: every target's CRA counts plus component and CVE totals in one call.counts: nullinstead of failing the summary./api/v1/stats/overview:Checks
evidencenow checks that the summary's counts match the per-target CRA view.format_agoand the summary row's JSON.🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
e75f58339cto21b49dcd3b