feat(dashboard): onboarding starts the first scan and shows its progress #344

Merged
sharang merged 1 commits from feat/onboarding-flow into main 2026-09-23 14:03:47 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 8f0ce55ae3 feat(dashboard): onboarding starts the first scan and shows its progress
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 8m13s
The wizard created a target and then left the customer to find the scan
button; a failed create or upload could pass unnoticed, and a large
upload gave no sign of life.

- Create uploads the staged files one by one and says which; the review
  step lists the staged files with readable sizes (12,3 MB).
- The first scan starts on its own, unless an upload failed (the target
  is then kept, the scan is not started, and the failed files are
  listed) or the target offers opt-in scans to decide on first.
- The last step follows that scan live (the scan history component) and
  links to the target's findings and to the targets list.
- Onboarding API calls report the agent's refusal (its `error` message or
  the status text) instead of a JSON parse error: json_or_error in the
  agent client.
- The wizard and the source-only note are in German and English; the
  scan history also polls while it is still empty, since a scan just
  started may not be recorded yet.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-23 15:55:05 +02:00