Skip to content

Dashboard v2: expandable KV rows in overview panels#36

Merged
jeftekhari merged 1 commit into
mainfrom
feat/expandable-kv-to-main
Apr 20, 2026
Merged

Dashboard v2: expandable KV rows in overview panels#36
jeftekhari merged 1 commit into
mainfrom
feat/expandable-kv-to-main

Conversation

@jeftekhari

Copy link
Copy Markdown
Contributor

Re-targets #35 at main. The prior PR was merged into feat/dashboard-v2 by mistake; that branch is now redundant since #34 squash-merged to main, so the expandable-rows commit was dangling. This PR cherry-picks it onto main cleanly.

Summary

  • Overview panels (Data Collection, Transport, AI Systems, Third-Party) render each row as a clickable `v2-xkv` dropdown — click flips ▸→▾ and shows the actual items behind the count.
  • Previews: file paths for forms, `POST /api/...` for API endpoints, cookie names, per-header status, AI usage locations, third-party purpose + DPA URL.
  • Access Controls + Dependencies stay plain KV — no useful list to expand.

Test plan

  • `npm run lint` + `npm test` pass.
  • Click a Data Collection row → preview line appears with real file paths.
  • Caret flips ▸ ↔ ▾ consistently, no content shift.

Overview panels (Data Collection, Transport, AI Systems, Third-Party)
now render each row as a clickable v2-xkv dropdown. Clicking flips a
caret (▸ → ▾) and reveals a preview line showing the actual items
behind the count: file paths for forms/APIs, cookie names, header
statuses, AI usage locations, third-party DPA/purpose.

Ports the ExpandableKV pattern from the Claude Design v2 mock so the
counts in the panel grid aren't opaque — you can drill in without
leaving the overview tab. Access Controls and Dependencies stay as
plain KV rows since they have no useful list to expand.
@jeftekhari jeftekhari merged commit 8c93b72 into main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant