-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Overview
Create skeleton loading states for Suspense boundaries.
Parent Epic: #70
Priority: P1
Prerequisites
- 1.2: Configure CSS Modules #72 (1.2: Configure CSS Modules)
Next Issues (after this is complete)
- 6.1: Implement Streaming for Story List
- 6.2: Implement Streaming for Comments
Acceptance Criteria
-
app/javascript/components/Skeletons.tsxcreated -
StoryListSkeleton- placeholder for story list -
StorySkeleton- single story placeholder -
CommentSkeleton- comment placeholder -
CommentTreeSkeleton- nested comments placeholder - CSS module styling with pulse/shimmer animation (
Skeletons.module.css)
Implementation Notes
Skeletons should match the approximate dimensions of real content:
- Story skeleton: title bar, meta line
- Comment skeleton: author line, 2-3 content lines
- Use CSS animation for loading effect
coderabbitai