Files
pruefwerk/compliance-agent/tests/integration
Sharang ParnerkarandClaude Opus 5.5 ee22e6789a
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 11m4s
feat(dashboard): the targets page pages server-side with page size and total
The targets list loaded one unpaged request; with many targets it grew
long, and every caller silently saw only the agent's default first 50.

- Agent: GET /api/v1/targets sorts by _id (creation order) before
  skip/limit, so pages are stable; page/limit (clamped by
  PaginationParams) and the project filter were already applied, total
  counts the filtered selection.
- Dashboard: fetch_targets_page(project, page, limit) for the targets
  page; fetch_targets() now reads every page (200 each, capped), so the
  overview, findings, SBOM, graph, chat and pentest-wizard pickers get
  all targets instead of the first 50.
- Targets page: pager, page size (20/50/100), target count; changing
  the project or page size goes back to page 1; a page past the end
  moves to the last one.
- Pagination component reads German/English from i18n (also on the
  findings, SBOM and issues pages).

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