devtrack icon indicating copy to clipboard operation
devtrack copied to clipboard

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

Open Priyanshu-byte-coder opened this issue 6 months ago • 11 comments

Summary

GoalTracker progress bars snap to final width immediately on mount. A smooth fill animation makes goal progress feel more satisfying.

Expected Behaviour

Each bar animates from 0% to current percentage over ~600ms with ease-out on first render. Respects prefers-reduced-motion.

Implementation Notes

  • Use mounted state + useEffect to delay width value
  • Bar already has transition-all — just defer the width
  • If prefers-reduced-motion matches, skip animation

GSSoC Info

  • Difficulty: Beginner — 20 pts
  • Area: UI / Animation

Priyanshu-byte-coder avatar May 17 '26 05:05 Priyanshu-byte-coder

Hi @Priyanshu-byte-coder , I’d like to work on this issue.

My approach is to add a smooth initial fill animation for the GoalTracker progress bars by rendering them at 0% width first and then updating them to their actual progress value after mount using useEffect. Since the bars already use transition-all, only the width update needs to be deferred to achieve the animation effect. I’ll also make sure to respect prefers-reduced-motion and skip the animation for users who have reduced motion enabled.

Mash4-4-4-4 avatar May 17 '26 05:05 Mash4-4-4-4

I'd like to work on this

coderHimanshu-dev avatar May 17 '26 15:05 coderHimanshu-dev

Hey I would like to work on this under GSSoC please assign it to me

dikshajha13 avatar Jun 11 '26 08:06 dikshajha13

@dikshajha13 This issue is already taken by @Mash4-4-4-4. Check other open issues!

github-actions[bot] avatar Jun 11 '26 08:06 github-actions[bot]

Hi @Priyanshu-byte-coder i would like to work on this issue. Could you please assign this work to me?

Suneeta28 avatar Jun 18 '26 09:06 Suneeta28

@Suneeta28 This issue is already taken by @Mash4-4-4-4. Check other open issues!

github-actions[bot] avatar Jun 18 '26 09:06 github-actions[bot]

Reassigning to @Suneeta28 — this issue had no PR and no activity for over a month, so it's going to the next person who asked for it (first come, first served).

@Suneeta28 it's yours: please open a PR within 7 days or it'll be released again. If you're no longer interested, just say so and I'll pass it on.

Priyanshu-byte-coder avatar Jul 29 '26 17:07 Priyanshu-byte-coder

hey! if there is no contribution or any assignee right now , I would like to work on this issue please assign it to me

dikshajha13 avatar Aug 05 '26 04:08 dikshajha13

@dikshajha13 This issue is already taken by @Suneeta28. Check other open issues!

github-actions[bot] avatar Aug 05 '26 04:08 github-actions[bot]

Hey @Suneeta28 — this issue was assigned a while back with no recent activity. Unassigning so it's available for Hacktoberfest contributors. Still working on it? Comment and we'll reassign you.

Priyanshu-byte-coder avatar Oct 14 '26 18:10 Priyanshu-byte-coder

Assigned to @Priyanshu-byte-coder! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

github-actions[bot] avatar Oct 14 '26 18:10 github-actions[bot]