Sitelet https://github.com/studyield/studyield/pull/98
Skip to content

feat: add loading skeleton for flashcard grid - #98

Open
ohlexolaoluwa wants to merge 1 commit into
studyield:mainfrom
ohlexolaoluwa:main
Open

feat: add loading skeleton for flashcard grid#98
ohlexolaoluwa wants to merge 1 commit into
studyield:mainfrom
ohlexolaoluwa:main

Conversation

@ohlexolaoluwa

Copy link
Copy Markdown

Replaces the loading spinner with a skeleton UI for the flashcard list, per #37.

  • Added a Skeleton primitive in components/ui/skeleton.tsx, following the existing Spinner component pattern
  • Added FlashcardListSkeleton, styled to match the existing FlashcardItem card layout
  • Swapped the spinner for the skeleton in StudySetDetailPage.tsx during flashcardsLoading

Note: I wasn't able to run this against a live backend locally since it requires Postgres/Redis/Qdrant/ClickHouse — happy to make adjustments if anything looks off visually once reviewed.

Closes #37

Replaces the spinner with a skeleton loading UI on the flashcard list in StudySetDetailPage for better perceived performance and UX during loading.

Adds a reusable Skeleton primitive (components/ui/skeleton.tsx) following the existing Spinner component pattern, plus a FlashcardListSkeleton that mirrors the FlashcardItem card layout.

Closes studyield#37
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.

feat: add loading skeleton for flashcard grid

1 participant