feat(frontend): add skeleton loading states to all data-heavy pages - #515
Merged
KuchiMercy merged 1 commit intoJul 30, 2026
Merged
Conversation
- Create TransactionTableSkeleton for transactions page - Create NotificationListSkeleton for notifications page - Create AdminOverviewSkeleton for admin overview page - Create AdminTableSkeleton for admin escrows page - Create AdminDisputesSkeleton for admin disputes page - Replace Suspense fallback on dashboard with EscrowCardSkeleton - Replace all Loader2 spinners with matching skeleton components - Skeletons match layout shape of actual content Closes StayLitCodes#478
|
@CJay-Cipher Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Description
Resolves inconsistent loading states across the app where some pages showed
blank content and others showed a generic spinner while data was fetching.
This PR introduces unified skeleton loading states across all data-heavy pages,
matching the shape and layout of the actual content they replace.
Notification page skeleton loading state
Related Issue
Closes #478
Type of Change
Changes Made
New Skeleton Components (
apps/frontend/components/ui/)TransactionTableSkeleton.tsx— Mimics the summary cards + 8-rowtable layout of the Transactions page
NotificationListSkeleton.tsx— Mimics the notification list itemswith avatar, title, body, and timestamp placeholders
AdminOverviewSkeleton.tsx— Mimics the stat cards grid, bar chart,role distribution panel, and activity feed of the Admin Overview page
AdminTableSkeleton.tsx— Reusable skeleton for admin table pages;renders filter pills, desktop table rows, and mobile card fallbacks
AdminDisputesSkeleton.tsx— Mimics the split-panel dispute layoutwith list on the left and detail + resolution form on the right
Pages Updated
app/dashboard/page.tsxEscrowCardSkeleton+ActivityFeedSkeletonin Suspense fallbackapp/transactions/page.tsxLoader2spinnerTransactionTableSkeletonapp/notifications/page.tsxNotificationListSkeletonapp/admin/page.tsxLoader2spinnerAdminOverviewSkeletonapp/admin/escrows/page.tsxLoader2spinnerAdminTableSkeletonapp/admin/disputes/page.tsxLoader2spinnerAdminDisputesSkeletonapp/escrow/[id]/page.tsxEscrowDetailSkeletonNo Changes Needed
The following already had correct skeleton implementations:
components/dashboard/EscrowList.tsx— already usesEscrowCardSkeletoncomponents/common/ActivityFeed.tsx— already usesActivityFeedSkeletonapp/escrow/[id]/page.tsx— already usesEscrowDetailSkeletonTesting Done
throttled to Slow 3G to force skeleton visibility
Checklist