Skip to content

feat(reports): period-over-period deltas and span-flow layout#46

Merged
WhiteMuush merged 1 commit into
mainfrom
feat/reports-customize
Jun 16, 2026
Merged

feat(reports): period-over-period deltas and span-flow layout#46
WhiteMuush merged 1 commit into
mainfrom
feat/reports-customize

Conversation

@WhiteMuush

Copy link
Copy Markdown
Owner

What

  • Period-over-period comparison deltas: newly exposed employees, breaches with new detections, and new alerts, computed over filter-derived windows (explicit date range vs equal-length prior window; otherwise trailing 30 days vs the 30 before).
  • Surfaced as trend pills on the Exposure and Compliance stat cards, as automatic trend findings, and in the exposure CSV.
  • StatCard gains an optional, non-breaking delta prop.
  • Discrete-width flow grid for the customizable report layout: sections pick 1/3, 1/2 or full width, reorder via drag (dnd-kit), with dense auto-flow so partial-width tiles fill gaps and a DragOverlay keeping the dragged section at its width.

Status

Unmerged local work that post-dates PR #40. Rebased onto current main (post dependency rollback). npm run lint -- --max-warnings 0, npx tsc --noEmit and npm run build all pass locally.

Add comparison deltas (newly exposed employees, breaches with new
detections, new alerts) computed over filter-derived windows: an explicit
date range compares against the equal-length prior window, otherwise the
trailing 30 days against the 30 days before. Surfaced as trend pills on the
Exposure and Compliance stat cards, as automatic trend findings, and in the
exposure CSV. StatCard gains an optional, non-breaking delta prop.

Rework the customizable layout to a discrete-width flow grid: sections pick
1/3, 1/2 or full width and reorder via drag (dnd-kit). Rows stretch and use
dense auto-flow so partial-width tiles fill empty space instead of leaving
gaps; a DragOverlay keeps the dragged section at its own width.
@WhiteMuush WhiteMuush merged commit db21ecc into main Jun 16, 2026
10 checks passed
@WhiteMuush WhiteMuush deleted the feat/reports-customize branch June 16, 2026 09:54
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