Skip to content

Animate goal progress bars#323

Open
Mash4-4-4-4 wants to merge 3 commits into
Priyanshu-byte-coder:mainfrom
Mash4-4-4-4:animate-goal-progress-bars
Open

Animate goal progress bars#323
Mash4-4-4-4 wants to merge 3 commits into
Priyanshu-byte-coder:mainfrom
Mash4-4-4-4:animate-goal-progress-bars

Conversation

@Mash4-4-4-4
Copy link
Copy Markdown

Summary

Added smooth mount animations to GoalTracker progress bars so goal progress fills gradually instead of snapping instantly to the final width.

Closes #209

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup

Changes Made

  • Added animated progress bar fill effect on initial render
  • Added mounted state to defer width updates for animation
  • Added support for prefers-reduced-motion
  • Improved progress bar transition timing with ease-out animation

How to Test

Steps for the reviewer to verify this works:

  1. Open the dashboard page
  2. Navigate to the GoalTracker section
  3. Refresh the page
  4. Verify progress bars animate smoothly from 0% to their target width
  5. Enable prefers-reduced-motion
  6. Refresh again and verify animation is skipped

Screenshots (if UI change)

Screenshot 2026-05-18 192336

Added smooth animated progress bar fill effect in the GoalTracker component.

Checklist

  • Linked issue in summary
  • npm run lint passes locally
  • No TypeScript errors (npm run type-check)
  • Self-reviewed the diff
  • Added/updated tests if applicable

@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

@Mash4-4-4-4 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[GOOD FIRST ISSUE] Animate GoalTracker progress bar fill on first render

1 participant