Skip to content

Add dashboard analytics visualizations - #46

Merged
egrexsec merged 2 commits into
mainfrom
feature/dashboard-ui
May 29, 2026
Merged

egrexsec merged 2 commits into
mainfrom
feature/dashboard-ui

Conversation

@egrexsec

Copy link
Copy Markdown
Owner

Summary

Implements real analytics visualizations for the DetLab dashboard.

Changes

  • Added Recharts dependency
  • Added dashboard summary cards
  • Added severity distribution charts
  • Added maturity distribution charts
  • Added improved dashboard layouts
  • Added frontend visualization groundwork

Example

docker compose up --build

@egrexsec
egrexsec merged commit 5c200ff into main May 29, 2026
1 check failed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 71669191e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/app/page.tsx
>
<div style={{ background: '#1e293b', padding: '1rem', borderRadius: '12px' }}>
<h2>Total Detections</h2>
<p style={{ fontSize: '2rem' }}>27</p>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Populate dashboard metrics from API data

With the default repository data this card reports 27 detections even though /analytics derives total_detections from the files under detections (currently 5), and the new chart arrays are similarly hard-coded. In any environment where detections are added, removed, or a different path is served, the dashboard now shows fabricated/stale analytics instead of the actual API results, so users can make decisions from incorrect counts.

Useful? React with 👍 / 👎.

@egrexsec
egrexsec deleted the feature/dashboard-ui branch June 16, 2026 12:35
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