feat: Add shimmer loading skeletons for various pages and components

- Implemented `ClientHomePageSkeleton` for the client home page to display a loading state with shimmer effects.
- Created `OrderFormSkeleton` to mimic the layout of the order creation form while data is being fetched.
- Added `ViewOrdersPageSkeleton` to represent the loading state of the view orders page with placeholders for order cards.
- Updated `ClientHomeBody` to show the skeleton during loading states.
- Enhanced shimmer effects in `UiShimmerListItem`, `UiShimmerStatsCard`, and other UI components for consistency.
- Introduced `isDataLoaded` state in order-related BLoCs to manage loading states effectively.
This commit is contained in:
Achintha Isuru
2026-03-10 14:19:49 -04:00
parent e6ebae60e4
commit 2d6133aba8
22 changed files with 828 additions and 48 deletions

View File

@@ -223,7 +223,9 @@ A PR is approved ONLY when ALL of these are true:
- Zero CRITICAL violations
- Zero HIGH violations
- MODERATE violations have a documented plan or justification
- All automated checks pass (tests, linting)
- All automated checks pass
- defined tests
- defined lints including the dart analyzer with no warnings or errors
- Test coverage ≥ 70% for business logic
- Design system fully compliant
- Architecture boundaries fully respected