feat(dashboard): a page per target, and a targets list that leads to it #408

Merged
sharang merged 1 commits from feat/pruefwerk-target-page into main 2026-09-26 08:46:23 +00:00
Owner

P2, part 2 of the UI/UX pass. Stacked on #407, which is stacked on #406: merge in order.

A target used to be a table row that expanded into everything at once: scan runs, artifacts, the manual-findings form, and four unlabelled icon buttons per row. Now:

A page per target (/targets/:id)

  • Header: the type and artifacts, and the actions:
    • Prüfung starten
    • Nachweispaket herunterladen
    • Bearbeiten (the existing editor dialog, moved here)
    • Löschen (returns to the list)
  • CRA-Stand: the bar with its legend, linked to Stand je Anforderung. Next to it, the Stückliste: components and known vulnerabilities.
  • Offene Befunde: the five most severe, each with its Fundstelle, the open count, and a link to all of the target's findings.
  • Prüfläufe and Prüfumfang: scan runs and what the scans check, with the detected facts. In source_only, scans of a running device (DAST, ICS probe, pentest) are folded into one "not enabled here" line.
  • Befunde aus manuellen Tests: the form opens on "Befund erfassen" instead of always being open.

The list

  • Each row shows the name and type, the last scan's status and age, a CRA bar with the violated count, the findings count (linked) and one labelled "Prüfung starten" button.
  • A click on the row opens the target.
  • Unused texts are removed: REFRESH, COL_DETECTED, DETAILS.

Checks

fmt, clippy with the CI flags on both dashboard feature sets, and tests 57 + 41.

Seen, not changed here

A scan run's skipped stages show the agent's raw English reason, which can include a server path (source not found at /data/compliance-scanner/…). That's the same class of leak as the lint paths in #406, but it comes from the agent's stage reasons. I'll file it as a follow-up.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

P2, part 2 of the UI/UX pass. **Stacked on #407**, which is stacked on #406: merge in order. A target used to be a table row that expanded into everything at once: scan runs, artifacts, the manual-findings form, and four unlabelled icon buttons per row. Now: ## A page per target (`/targets/:id`) - **Header:** the type and artifacts, and the actions: - Prüfung starten - Nachweispaket herunterladen - Bearbeiten (the existing editor dialog, moved here) - Löschen (returns to the list) - **CRA-Stand:** the bar with its legend, linked to *Stand je Anforderung*. Next to it, the **Stückliste**: components and known vulnerabilities. - **Offene Befunde:** the five most severe, each with its Fundstelle, the open count, and a link to all of the target's findings. - **Prüfläufe** and **Prüfumfang:** scan runs and what the scans check, with the detected facts. In `source_only`, scans of a running device (DAST, ICS probe, pentest) are folded into one "not enabled here" line. - **Befunde aus manuellen Tests:** the form opens on "Befund erfassen" instead of always being open. ## The list - Each row shows the name and type, the last scan's status and age, a CRA bar with the violated count, the findings count (linked) and one labelled "Prüfung starten" button. - A click on the row opens the target. - Unused texts are removed: REFRESH, COL_DETECTED, DETAILS. ## Checks fmt, clippy with the CI flags on both dashboard feature sets, and tests 57 + 41. ## Seen, not changed here A scan run's skipped stages show the agent's raw English reason, which can include a server path (`source not found at /data/compliance-scanner/…`). That's the same class of leak as the lint paths in #406, but it comes from the agent's stage reasons. I'll file it as a follow-up. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang changed target branch from feat/pruefwerk-overview to main 2026-09-26 08:35:42 +00:00
sharang added 1 commit 2026-09-26 08:35:42 +00:00
feat(dashboard): a page per target, and a targets list that leads to it
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 9m36s
2524df0b22
A target used to be a table row that expanded into everything at once:
scan runs, artifacts, the manual-findings form, and four unlabelled icons
per row. Now each target has its own page (/targets/:id):
- a header with its type and artifacts, and the actions: Prüfung starten,
  Nachweispaket, Bearbeiten, Löschen;
- CRA status with its legend (linked to the status by requirement) and the
  Stückliste's components and known vulnerabilities;
- its most severe open findings, linked to the full list;
- scan runs, and what its scans check (runtime-only scans folded away where
  only source code is examined);
- manual findings behind "Befund erfassen".

The list shows name and type, the last scan with its age, a CRA bar, the
findings count and one "Prüfung starten"; a row opens the target.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang force-pushed feat/pruefwerk-target-page from b7d4dd8fd0 to 2524df0b22 2026-09-26 08:35:44 +00:00 Compare
sharang merged commit d1a4147488 into main 2026-09-26 08:46:23 +00:00
Sign in to join this conversation.