Skip to content

feat(dashboard): make AI Insights cards link to their source section - #33

Merged
hellodk merged 1 commit into
mainfrom
feat/clickable-insights
Sep 5, 2026
Merged

hellodk merged 1 commit into
mainfrom
feat/clickable-insights

Conversation

@hellodk

@hellodk hellodk commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Each insight id is prefixed by the scanner that produced it (sec-, anom-, opt-, pod-, err-), which maps 1:1 to the owning section. Each card is now a Next Link to /security / /anomalies / /optimization / /issues / /errors, with a descriptive aria-label and visible hover/focus-visible states.

Testing

  • insight-cards spec: 2/2 (card has correct href, click navigates, keyboard-focusable).
  • tsc + eslint clean.

Closes #28

Each insight id is prefixed by the scanner that produced it (sec-, anom-,
opt-, pod-, err-), which maps 1:1 to the owning section. Wrap each card in
a Next Link to that route (/security, /anomalies, /optimization, /issues,
/errors) with a descriptive aria-label and visible hover/focus states, so
an operator can jump straight from an insight to its detail.

Closes #28
@hellodk
hellodk merged commit 7f762df into main Sep 5, 2026
@hellodk
hellodk deleted the feat/clickable-insights branch September 5, 2026 13:46
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.

AI Insights cards on overview are not clickable — link each to its source section

1 participant