Closes issue 68: add skeleton loader components, fix tailwindcss parsing issue by adding postcss config, closes issue 68 - #90
Merged
Conversation
…ng issue by adding postcss config, closes issue 68
jobbykings
approved these changes
Jun 22, 2026
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(frontend): add skeleton loaders for all data-fetching components
Closes #68
What changed
New skeleton components
QuizPlayerSkeleton— matches the QuizPlayer card, header, answer options, and pagination dot layoutProgressDashboardSkeleton,CompletionStatsSkeleton,ProgressChartSkeleton,TimeAnalysisSkeleton— cover all Analytics routesExtended
Skeleton.tsxprimitivesuseSkeletonVisibility(isLoading, minDuration?)hook — enforces a 300ms minimum display time to prevent flash-of-loading on fast connectionsSkeletonButton,SkeletonInput,SkeletonBadge,SkeletonStatTile,SkeletonQuizPlayer,SkeletonRoomCardSkeletonError— distinct error state (red-tinted card + retry button) to differentiate from loading stateSkeletonRegionPropstypeWired up in consuming components
ProgressDashboard— replaced spinner div withProgressDashboardSkeletonCourseCardSkeleton— replaced manualrole="status"div withSkeletonRegion; removed redundantsr-onlyspan (now handled by the region)Bug fixes
postcss.config.js— Tailwind CSS was not being parsed due to missing PostCSS configanalytics/ProgressDashboard→Analytics/ProgressDashboardDefinition of done coverage