feat(dashboard): CRA Annex I tiles and the scan history chart (#957) #973

Merged
sharang merged 1 commits from feat/957-cra-history into main 2026-11-10 21:31:04 +00:00
Owner

The two views the repo tabs still showed as placeholders, as in the mockup:

  • CRA Annex I: the 40 requirements as tiles, ten to a row, coloured by state
    and marked with a sign (! ? ~ OK –) so the state is never told by colour
    alone, with a legend and counts. A tile opens the requirement (in the
    URL, ?control=cra-ai-3) with its state, findings and reason, reusing the
    CRA page's row.
  • Verlauf: per scan the CVE alerts found new above the line and those found
    gone below it, with the run's status, and a table view. A scan opens what
    it changed (?scan=): each CVE with component, version and
    severity. New: GET /api/v1/targets/{id}/scan-changes and
    compliance_core::scan_changes. A completed scan's window runs from the end
    of the completed scan before it; the first is the baseline; scans that did
    not complete change nothing. Which components a scan added, updated or
    removed is not stored, and the view says so.

Docs: the target's page and its views in the targets guide; the overview's
repo cards with their Heute buckets.

Refs #957, #955. Checks run locally: fmt, clippy on core, agent and the dashboard (server and web) with the CI flags; core 258, dashboard 188 tests; the new scan-changes API test against MongoDB 7. Checked against the mockup's CRA and Verlauf boards in a local run with demo data.

🤖 Generated with Claude Code

The two views the repo tabs still showed as placeholders, as in the mockup: - CRA Annex I: the 40 requirements as tiles, ten to a row, coloured by state and marked with a sign (! ? ~ OK –) so the state is never told by colour alone, with a legend and counts. A tile opens the requirement (in the URL, ?control=cra-ai-3) with its state, findings and reason, reusing the CRA page's row. - Verlauf: per scan the CVE alerts found new above the line and those found gone below it, with the run's status, and a table view. A scan opens what it changed (?scan=<run id>): each CVE with component, version and severity. New: GET /api/v1/targets/{id}/scan-changes and compliance_core::scan_changes. A completed scan's window runs from the end of the completed scan before it; the first is the baseline; scans that did not complete change nothing. Which components a scan added, updated or removed is not stored, and the view says so. Docs: the target's page and its views in the targets guide; the overview's repo cards with their Heute buckets. Refs #957, #955. Checks run locally: fmt, clippy on core, agent and the dashboard (server and web) with the CI flags; core 258, dashboard 188 tests; the new scan-changes API test against MongoDB 7. Checked against the mockup's CRA and Verlauf boards in a local run with demo data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-11-10 21:09:30 +00:00
feat(dashboard): CRA Annex I tiles and the scan history chart (#957)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m25s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Check (pull_request) Successful in 19m56s
b136dd041e
The two views the repo tabs still showed as placeholders, as in the mockup:

- CRA Annex I: the 40 requirements as tiles, ten to a row, coloured by state
  and marked with a sign (! ? ~ OK –) so the state is never told by colour
  alone, with a legend and counts. A tile opens the requirement (in the
  URL, ?control=cra-ai-3) with its state, findings and reason, reusing the
  CRA page's row.
- Verlauf: per scan the CVE alerts found new above the line and those found
  gone below it, with the run's status, and a table view. A scan opens what
  it changed (?scan=<run id>): each CVE with component, version and
  severity. New: GET /api/v1/targets/{id}/scan-changes and
  compliance_core::scan_changes. A completed scan's window runs from the end
  of the completed scan before it; the first is the baseline; scans that did
  not complete change nothing. Which components a scan added, updated or
  removed is not stored, and the view says so.

Docs: the target's page and its views in the targets guide; the overview's
repo cards with their Heute buckets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang merged commit 31886d226c into main 2026-11-10 21:31:04 +00:00
Sign in to join this conversation.