Commit Graph

638 Commits

Author SHA1 Message Date
Achintha Isuru
9c7ba321bc feat: implement shimmer loading skeletons for client home header and enhance loading states in banners 2026-03-10 14:32:05 -04:00
Achintha Isuru
4423775fa1 feat: add shimmer loading skeletons for various pages and components
- Implemented ReorderCardSkeleton and ReorderSectionSkeleton for the client home page.
- Added SpendingCardSkeleton and SpendingSectionSkeleton for spending-related UI.
- Created OrderCardSkeleton and associated skeletons for the view orders page.
- Developed MetricCardSkeleton and MetricsGridSkeleton for reports page metrics.
- Introduced HomePageSkeleton and its components for staff home page.
- Added PaymentItemSkeleton and PaymentsPageSkeleton for payments page.
- Created ShiftDetailsPageSkeleton and related components for shift details.
- Implemented ShiftsPageSkeleton and ShiftCardSkeleton for shifts page.
2026-03-10 14:25:56 -04:00
Achintha Isuru
2d6133aba8 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.
2026-03-10 14:19:49 -04:00
Achintha Isuru
e6ebae60e4 feat: update routing paths and improve UI components in order forms 2026-03-10 13:32:39 -04:00
Achintha Isuru
0f0714c55b feat: add shimmer loading skeletons for various pages and components
- Implemented UiShimmer as a core shimmer wrapper for animated gradient effects.
- Created shimmer presets for list items, stats cards, section headers, and more.
- Developed specific skeletons for billing, invoices, coverage, hubs, reports, payments, shifts, and home pages.
- Enhanced user experience by providing visual placeholders during data loading.
2026-03-10 13:21:30 -04:00
Achintha Isuru
80b83a16f3 Refactor coverage widgets and improve localization
- Replaced custom navigation buttons with a new CalendarNavButton widget in coverage_calendar_selector.dart.
- Removed the CoverageHeader widget as it is no longer needed.
- Updated CoverageQuickStats to use CoverageStatCard for displaying statistics.
- Refactored CoverageShiftList to utilize ShiftHeader and WorkerRow for better structure.
- Added LateWorkersAlert with improved localization for late worker notifications.
- Introduced CoverageBadge and CoverageStatCard for better encapsulation of UI components.
- Created CoverageStatsHeader for displaying coverage metrics in a consistent format.
- Implemented ShiftHeader to manage shift-related information display.
- Developed WorkerRow to represent individual worker statuses with proper localization.
2026-03-10 12:27:27 -04:00
Achintha Isuru
a22a092b56 fix: Adjust border width and improve layout of stat card in coverage quick stats 2026-03-10 12:08:51 -04:00
Achintha Isuru
825cffbc33 feat: Update typography styles and improve layout in coverage components 2026-03-10 12:07:36 -04:00
Achintha Isuru
1f79541404 feat: Implement UI for adding new shift manager during order creation 2026-03-10 11:46:11 -04:00
Achintha Isuru
3d6b49f500 feat: Add forms and UI components for one-time, permanent, and recurring orders
- Implemented OneTimeOrderForm widget for creating one-time orders with fields for event name, vendor selection, date, hub, hub manager, and positions.
- Created OrderBottomActionButton for a consistent bottom action button across order views.
- Developed PermanentOrderForm for permanent orders, including event name, vendor selection, start date, permanent days, hub, hub manager, and positions.
- Added RecurringOrderForm for recurring orders with fields for event name, vendor selection, start/end dates, recurring days, hub, hub manager, and positions.
- Introduced PermanentOrderDaysSelector and RecurringOrderDaysSelector for selecting days of the week in permanent and recurring orders respectively.
2026-03-10 11:08:03 -04:00
Achintha Isuru
0d241844dd feat: Enhance review order summary with hours display and localization for hours suffix 2026-03-10 10:44:01 -04:00
Achintha Isuru
48207367cb feat: Add estimated weekly total label and refactor cost calculations for one-time and recurring orders 2026-03-10 10:31:08 -04:00
Achintha Isuru
a3aab678fd feat: Refactor review order action bar for improved button layout and async handling in permanent order BLoC 2026-03-10 10:21:18 -04:00
Achintha Isuru
c5d6bcbe04 feat: Implement review order functionality with localization support for titles, subtitles, and labels across multiple components 2026-03-10 10:12:38 -04:00
Achintha Isuru
d6c9ed2cf3 feat: Enhance localization compliance by enforcing usage of localized keys for user-facing strings and updating related documentation 2026-03-10 10:00:03 -04:00
Achintha Isuru
316a148726 feat: Implement review order flow for one-time, recurring, and permanent orders
- Added ReviewOrderPage to handle order review before submission.
- Created ReviewOrderArguments model to pass data between pages.
- Implemented schedule sections for one-time, recurring, and permanent orders.
- Enhanced navigation flow to confirm order submission after review.
- Refactored order submission logic in OneTimeOrderPage, PermanentOrderPage, and RecurringOrderPage.
- Introduced utility functions for time parsing and scheduling.
- Created reusable widgets for displaying order information in the review section.
- Updated navigation methods to use popSafe for safer back navigation.
- Added MainActivity for Android platform integration.
2026-03-09 19:49:23 -04:00
Achintha Isuru
7a5c130289 refactor: change singleton registrations to lazySingleton for improved performance 2026-03-09 15:01:18 -04:00
Achintha Isuru
c936d5f2ab feat: add attire section components for improved UI organization 2026-03-07 02:51:07 -05:00
Achintha Isuru
c9a46a1a71 feat: implement attire section toggles for required and non-essential items in AttirePage 2026-03-07 02:47:55 -05:00
Achintha Isuru
0f5ceb8003 feat: enhance documentation and update dependencies in mobile feature builder and development rules 2026-03-07 02:19:14 -05:00
Achintha Isuru
856e7545f6 Implement profile completion checks in shift details flow and update UI accordingly 2026-03-04 16:48:49 -05:00
Achintha Isuru
38007d32bc refactor: Enhance StaffPayment model and PaymentHistoryItem widget with shift details 2026-03-04 13:37:42 -05:00
Achintha Isuru
256f9fd678 refactor: Remove unused code and improve PaymentHistoryItem widget styling 2026-03-04 13:27:14 -05:00
Achintha Isuru
76ffeb9667 refactor: Clean up imports and comment out unused button in CoverageShiftList widget 2026-03-04 13:19:43 -05:00
Achintha Isuru
867ff8d61c refactor: Replace Navigator.pop with Modular.to.popSafe for consistent navigation handling 2026-03-04 13:08:39 -05:00
Achintha Isuru
b20039ae84 refactor: Enhance DailyOpsReportPage layout and improve UI consistency 2026-03-04 12:59:56 -05:00
Achintha Isuru
4a5c2be489 refactor: Clean up view order card layout and improve text overflow handling 2026-03-04 12:56:25 -05:00
Achintha Isuru
26663d4e02 fix: Specify type for BlocProvider in CoverageReportPage 2026-03-03 23:45:43 -05:00
Achintha Isuru
8e83e6dcbf fix: Remove unnecessary background color setting in report pages 2026-03-03 23:44:17 -05:00
Achintha Isuru
0726f1dfbb feat: Add subtitle support to SectionLayout in various widgets 2026-03-03 22:11:51 -05:00
Achintha Isuru
6f2a195724 feat: Refactor client home widgets to use SectionLayout and add titles
- Updated ActionsWidget, CoverageWidget, SpendingWidget, ReorderWidget, and LiveActivityWidget to utilize SectionLayout for consistent layout structure.
- Introduced SectionHeader for displaying titles and optional actions in sections.
- Added ClientHomeBody, ClientHomeEditModeBody, ClientHomeNormalModeBody, and ClientHomeErrorState for improved state management and UI separation.
- Enhanced dashboard widget builder to support edit mode and error handling.
2026-03-03 22:00:42 -05:00
Achintha Isuru
2d20254ce3 fix: Remove unnecessary whitespace in TomorrowsShiftsSection widget 2026-03-03 21:37:11 -05:00
Achintha Isuru
630b90ee38 feat: Implement show/hide functionality for bottom navigation bar based on route changes 2026-03-03 21:35:59 -05:00
Achintha Isuru
65ac22953e fix: Update default stroke width in CircularProgressPainter for consistency 2026-03-03 21:26:08 -05:00
Achintha Isuru
ca60e03c1e feat: Refactor benefit card components for improved styling and performance 2026-03-03 21:25:21 -05:00
Achintha Isuru
85936e9b94 feat: Refactor home cubit and add benefits overview functionality
- Updated import paths for home_cubit.dart to reflect new structure.
- Introduced BenefitsOverviewCubit to manage benefits overview page state.
- Created BenefitsOverviewState to handle loading, loaded, and error states for benefits.
- Implemented HomeCubit to manage home page state, including shifts and benefits.
- Added new widgets for benefits overview: BenefitCard, BenefitCardHeader, AccordionHistory, ComplianceBanner, StatChip, and BenefitsOverviewBody.
- Implemented custom painter for circular progress indicators.
- Enhanced UI components for displaying benefits and their statuses.
2026-03-03 21:15:04 -05:00
Achintha Isuru
4474a732c2 feat: Enhance benefits section and layout for improved user experience 2026-03-03 20:47:15 -05:00
Achintha Isuru
a7d66a1efe feat: Implement rapid order creation via voice and text in mobile app
- Added benefits section with state management
- Refactored home page to include new sections for quick actions, today's shifts, and tomorrow's shifts
- Introduced full-width divider for better layout
- Created reusable section layout widget for consistent UI
- Implemented circular progress indicator for benefits
- Removed deprecated benefits widget and replaced with new structure
- Updated data connection configuration for validation environment
2026-03-03 20:28:12 -05:00
Achintha Isuru
e8b768b978 feat: Refactor sign-out method to use unified service call across repositories 2026-03-02 16:04:20 -05:00
Achintha Isuru
8497709356 fix: Correct formatting and improve comments in various files for clarity 2026-03-02 12:38:57 -05:00
Achintha Isuru
a13cadefc8 feat: Implement attire options, documents, and certificates completion use cases in staff profile 2026-03-02 12:32:39 -05:00
Achintha Isuru
2ea5a25858 feat: Update styling for legal and privacy section widgets with improved background color and border properties 2026-03-02 12:09:51 -05:00
Achintha Isuru
a206459cbd feat: Enhance tax forms page with progress overview and refactor components for better structure 2026-03-02 12:05:09 -05:00
Achintha Isuru
ca6c10552d feat: Implement attestation checkbox in attire capture page and refactor related components 2026-03-02 10:33:22 -05:00
Achintha Isuru
ea77a49224 feat: Remove commented-out code for commute tracker and attire photo section in ClockInPage 2026-03-01 22:29:15 -05:00
Achintha Isuru
2e043f35b9 feat: Refactor ClockInPage for improved readability and consistency in code formatting 2026-03-01 21:18:41 -05:00
Achintha Isuru
8e95589551 feat: Enhance certificate upload process with file change verification and signed URL generation 2026-03-01 21:17:45 -05:00
Achintha Isuru
49ecede35f feat: Remove redundant PDF file validation before certificate upload 2026-03-01 21:11:05 -05:00
Achintha Isuru
5b4b8b7138 feat: Update file selector and PDF types banner to use super.key for improved widget initialization 2026-03-01 21:05:48 -05:00
Achintha Isuru
973b8b8ac3 feat: Add file path management for certificate uploads in the mobile app 2026-03-01 21:03:01 -05:00