Skip to content

feat(dashboard): QuickActions polish — colored icons, count badges, bounce-in animation (#965)#971

Merged
ericsocrat merged 1 commit intomainfrom
feat/965-quickactions-polish
Mar 19, 2026
Merged

feat(dashboard): QuickActions polish — colored icons, count badges, bounce-in animation (#965)#971
ericsocrat merged 1 commit intomainfrom
feat/965-quickactions-polish

Conversation

@ericsocrat
Copy link
Owner

Summary

Enhances the QuickActions component on the dashboard with visual polish and data integration:

  • Colored icon backgrounds — emerald (Scan), blue (Search), amber (Compare), purple (Lists) with dark-mode variants
  • Count badges — show lists_count from dashboard stats (hidden when 0, capped at 99+)
  • Bounce-in animation — staggered 100ms delay per card with �ounceIn keyframes
  • Hover micro-interaction — scale-[1.04] + shadow lift
  • Skeleton sync — updated DashboardSkeleton to match 40x40 rounded-xl icon placeholders

Changes

File Change
QuickActions.tsx Rewrite — colored iconBg, �adgeKey prop, bounce-in animation, hover scale
page.tsx Pass stats={dashboard.stats} to QuickActions
DashboardSkeleton.tsx Update icon placeholder to 40x40 rounded-xl
QuickActions.test.tsx 10 tests (colored backgrounds, badges, animation stagger, 99+ cap)
DashboardSkeleton.test.tsx +1 test verifying 8-section order

Verification

px tsc --noEmit — 0 errors

  • QuickActions: 10/10 tests pass
  • DashboardSkeleton: 9/9 tests pass
  • Dashboard page: 18/18 tests pass

Closes #965

Copilot AI review requested due to automatic review settings March 19, 2026 18:33
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tryvit Ready Ready Preview, Comment Mar 19, 2026 6:34pm

@github-actions
Copy link

📸 PR Screenshots

Captured 4 screenshots (2 mobile, 2 desktop) for 2 changed page(s):

  • common-dashboard
  • dashboard

📥 Download screenshots from workflow artifacts.

Captured by PR Screenshots workflow • 2026-03-19

@github-actions
Copy link

Bundle Size Report

Metric Value
Main baseline 0 KB
This PR 0 KB
Delta +0 KB (+0%)
JS chunks 0
Hard limit 4000 KB

✅ Bundle size is within acceptable limits.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR polishes the dashboard’s QuickActions UI by adding branded icon backgrounds, integrating dashboard stats for count badges, and introducing a staggered bounce-in entry animation, while syncing the dashboard skeleton to the updated layout.

Changes:

  • Updated QuickActions to support colored icon containers, optional stats prop, list-count badge (0-hidden, 99+-capped), and staggered bounce-in + hover lift interaction.
  • Wired dashboard stats into QuickActions from the dashboard page.
  • Updated DashboardSkeleton (and tests) to match the new QuickActions icon sizing and section ordering; expanded unit tests for QuickActions behaviors.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
frontend/src/components/dashboard/QuickActions.tsx Adds icon background styling, stats-driven badge rendering, and staggered bounce-in animation.
frontend/src/app/app/page.tsx Passes dashboard.stats into QuickActions for badge rendering.
frontend/src/components/common/skeletons/DashboardSkeleton.tsx Syncs quick-action skeleton padding and icon placeholder size/shape to the updated UI.
frontend/src/components/dashboard/QuickActions.test.tsx Adds unit tests for icon backgrounds, badge visibility/capping, and animation staggering.
frontend/src/components/common/skeletons/DashboardSkeleton.test.tsx Adds a test asserting the skeleton’s 8-section structure/order.

Comment on lines +41 to +44
className="card group relative flex flex-col items-center gap-2 py-4 text-center transition-transform transition-shadow duration-200 hover:scale-[1.04] hover:shadow-md lg:py-6"
style={{
animation: `bounceIn 400ms ease-out ${index * 100}ms both`,
}}
Comment on lines +55 to +61
{typeof badge === "number" && badge > 0 && (
<span
className="absolute -top-1 -right-1 flex h-5 min-w-5 items-center justify-center rounded-full bg-brand-primary px-1 text-[10px] font-bold text-white"
aria-label={`${badge}`}
>
{badge > 99 ? "99+" : badge}
</span>
@ericsocrat ericsocrat merged commit b39268f into main Mar 19, 2026
21 of 22 checks passed
@ericsocrat ericsocrat deleted the feat/965-quickactions-polish branch March 19, 2026 18:39
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.

feat(dashboard): QuickActions colored icons + count badges + final polish pass (#960)

2 participants