Dashboard PostureCard and PriorityActionsCard#7659
Merged
Conversation
… data Add the plumbing for the new Ant Design dashboard behind the alphaDashboard feature flag. Includes RTK Query API slice with all dashboard endpoints, MSW mock handlers with seed data, RadarChart and ChartText fidesui enhancements, and the HomeContainer flag gate. The actual Posture and Priority Actions cards will be added in a follow-up PR on top of this branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
kruulik
added a commit
that referenced
this pull request
Mar 16, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
53a6fc8 to
dc2710e
Compare
12 tasks
Move all type definitions from dashboard.slice.ts to a dedicated types.ts file per frontend guidelines. Convert union types (PostureBand, DiffDirection, ActionType, ActionSeverity, ActionStatus) to TypeScript enums. Update mock data and handlers to use enum values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add the Posture score card with animated count-up, radar chart with dimension click-through, and agent annotation alert. Add the Priority Actions card with per-action routing, urgency grouping, and dimension filter support. Includes shared hooks and fidesui chart enhancements. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…, and RadarChart - Consolidate posture-constants.ts into features/dashboard/constants.ts - Replace router.push() with NextLink for proper a11y and prefetching - Add Spin loading wrapper to PostureCard - Move inline styles to SCSS modules (PostureBreakdownContent, PostureCard tooltip) - Extract RadarTooltipContent to its own exported component with themed bg - Use classNames package instead of manual class joining in RadarChart - Extract magic numbers as named constants in RadarChart - Add named export alongside default in HomeDashboard - Rename "this_week" urgency group to "scheduled" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dc2710e to
58dcedd
Compare
Remove openPostureDrawer, PostureBreakdownContent import, and clickable score wrapper from PostureCard — these are re-added in the subsequent dashboard-command-bar-pr branch where DashboardDrawer is rendered. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Moved to dashboard-command-bar-pr where the drawer is introduced. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Greptile SummaryThis PR adds PostureCard and PriorityActionsCard components to the new alpha dashboard, along with supporting infrastructure: an animated count-up hook, a cross-component dimension filter via
Confidence Score: 3/5
Important Files Changed
Last reviewed commit: 228c403 |
- Add fallback routes for POLICY_VIOLATION, PIA_UPDATE, and DSR_ACTION when IDs are missing - Remove unused ACTION_TYPE_ICON_NAME constant Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket ENG-2775
Description Of Changes
Add the core dashboard card components on top of the infrastructure from #7628. This PR introduces:
ACTION_CTAconfig, urgency grouping by severity, and dimension filter supportuseCountUp,useDashboardDrawer,useDimensionFilterCommandBar and DashboardDrawer follow in a separate PR on top of this branch.
All behind the
alphaDashboardfeature flag (dev-only).Code Changes
clients/admin-ui/src/home/PostureCard.tsx— Posture score card with RadarChart, animated score, dimension click-to-filterclients/admin-ui/src/home/PostureCard.module.scss— PostureCard stylesclients/admin-ui/src/home/PostureBreakdownContent.tsx— Drawer content for posture dimension breakdownclients/admin-ui/src/home/PriorityActionsCard.tsx— Tabbed priority actions with per-action-type routing and iconsclients/admin-ui/src/home/PriorityActionsCard.module.scss— PriorityActionsCard stylesclients/admin-ui/src/home/HomeDashboard.tsx— Wire up PostureCard + PriorityActionsCard in grid layoutclients/admin-ui/src/home/posture-constants.ts— Band config, dimension labels, shared constantsclients/admin-ui/src/home/useCountUp.ts— Animated number count-up hookclients/admin-ui/src/home/useDashboardDrawer.ts— Global drawer state via useSyncExternalStoreclients/admin-ui/src/home/useDimensionFilter.ts— URL-param-based dimension filter stateclients/fidesui/src/components/charts/RadarChart.tsx— Add onDimensionClick and tooltipContent propsclients/fidesui/src/components/charts/ChartText.tsx— Refinements for radar chart labelsSteps to Confirm
alphaDashboardflag in devPre-Merge Checklist
CHANGELOG.mdupdateddashboard-command-bar-pr)