fix(ui): polish follow-ups to likes leaderboard#2681
Conversation
- Move leaderboard fetch to SSR data - Add staggered entry animation - Fill the 1-3 card banners - Tighten the podium card body layout and likes count alignment
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughThe leaderboard likes page refactors client fetch to return a defaulted data array, removes prior request-state UI, adds mount-triggered staggered entry animations and responsive podium helpers, switches row logos to homepage logos with icon fallback, introduces scoped animation CSS with reduced-motion respect, and enables ISR (900s) for the likes API route. ChangesLeaderboard Likes UI Refactor
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
| } | ||
|
|
||
| .likes-leaderboard-entry-motion { | ||
| animation: likes-leaderboard-pop-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; |
There was a problem hiding this comment.
I tried playing with different cubic-bezier values, and found something like (0.16, 0.3, 0.3, 1) made it slightly smoother. But it is shippable as is:)
🔗 Linked issue
N/A
🧭 Context
Follow-ups to #2459 (#2459 (review), #2459 (comment))
📚 Description
npmx.top.liked.demo.v3.mp4