Skip to content

fix: Add skeleton loading states and entrance animations to HomeView widgets#415

Merged
rjroy merged 1 commit intomainfrom
fix/home-poping
Jan 25, 2026
Merged

fix: Add skeleton loading states and entrance animations to HomeView widgets#415
rjroy merged 1 commit intomainfrom
fix/home-poping

Conversation

@rjroy
Copy link
Copy Markdown
Owner

@rjroy rjroy commented Jan 25, 2026

Summary

  • Widgets now show skeleton placeholders during load instead of popping into existence
  • Added entrance animations with staggered timing for RecentActivity cards
  • SpacedRepetitionWidget shows loading spinner immediately and "No cards due" idle state
  • All animations respect prefers-reduced-motion

Test plan

  • Load HomeView with slow network (Chrome DevTools throttling) - skeletons should appear immediately
  • Content should animate in smoothly when data arrives
  • RecentActivity cards should stagger in with 50ms delay between items
  • Switch vaults rapidly - no jarring pops, clean transitions
  • Test with prefers-reduced-motion enabled - animations should be disabled
  • Verify SpacedRepetitionWidget shows loading then idle/questions appropriately

🤖 Generated with Claude Code

…widgets

Widgets now show skeleton placeholders during load instead of popping into
existence when data arrives. Changes include:

- HomeView: Track loading states for goals, activity, and inspiration
- InspirationCard: Optional quote prop, skeleton when loading or no data
- GoalsCard: Loading skeleton with shimmer animation
- SpacedRepetitionWidget: Show loading spinner immediately, idle state for
  no cards due, distinguish API errors from empty results
- RecentActivity: Loading skeleton, staggered entrance animation (50ms delay)

All animations respect prefers-reduced-motion. Tests updated accordingly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 25, 2026

Codecov Report

❌ Patch coverage is 84.80000% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
frontend/src/components/home/HomeView.tsx 62.50% 18 Missing ⚠️
...end/src/components/home/SpacedRepetitionWidget.tsx 96.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rjroy rjroy merged commit 72188b4 into main Jan 25, 2026
2 checks passed
@rjroy rjroy deleted the fix/home-poping branch January 25, 2026 05:35
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.

1 participant