Commit Graph

66 Commits

Author SHA1 Message Date
Achintha Isuru
bd98a112a0 feat: add shimmer skeletons for various sections in the staff profile and onboarding features
- Implemented ProfilePageSkeleton for loading state in staff profile.
- Added ReliabilityScoreSkeleton and ReliabilityStatsSkeleton for reliability metrics.
- Created CertificatesSkeleton and related components for loading certificates.
- Developed DocumentsSkeleton and associated document card skeletons.
- Introduced TaxFormsSkeleton for loading tax forms.
- Added BankAccountSkeleton and its components for bank account loading state.
- Created TimeCardSkeleton for displaying time card loading state.
- Implemented AttireSkeleton for loading attire items.
- Added PersonalInfoSkeleton for loading personal information.
- Developed FaqsSkeleton for loading FAQ sections.
- Created PrivacySecuritySkeleton for loading privacy settings.
2026-03-10 15:20:24 -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
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
7a5c130289 refactor: change singleton registrations to lazySingleton for improved performance 2026-03-09 15:01:18 -04:00
Achintha Isuru
256f9fd678 refactor: Remove unused code and improve PaymentHistoryItem widget styling 2026-03-04 13:27:14 -05:00
Achintha Isuru
2d20254ce3 fix: Remove unnecessary whitespace in TomorrowsShiftsSection widget 2026-03-03 21:37:11 -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
a13cadefc8 feat: Implement attire options, documents, and certificates completion use cases in staff profile 2026-03-02 12:32:39 -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
2c61baaaa9 feat: Add UiEmptyState widget and integrate it into BankAccountPage and WorkerHomePage for improved empty state handling 2026-03-01 03:22:48 -05:00
Achintha Isuru
e05ca7c045 feat: Refactor profile completion use cases and update related imports in HomeCubit and StaffHomeModule 2026-02-28 22:46:55 -05:00
34afe09963 feat: localization, file restriction banners, test credentials, edit icon fix
- #553: Audit and verify localizations (en/es), replace hardcoded strings
- #549: Incomplete profile banner in Find Shifts (staff app)
- #550: File restriction banner on document upload page
- #551: File restriction banner on certificate upload page
- #552: File restriction banner on attire upload page
- #492: Hide edit icon for past/completed orders (client app)
- #524: Display worker benefits in staff app
- Add test credentials to seed: testclient@gmail.com, staff +1-555-555-1234
- Fix document upload validation (context arg in _validatePdfFile on submit)
- Add PR_LOCALIZATION.md

Made-with: Cursor
2026-02-27 13:48:04 +05:30
Achintha Isuru
b8d07380c0 replace the "Krow" with "KROW" 2026-02-26 15:13:26 -05:00
dhinesh-m24
e254ba3ce0 fix: Update staff application to connect with data connect 2026-02-24 17:29:20 +05:30
a7b34e40c8 chore: add localization to benefits overview page (en & es) 2026-02-24 16:33:28 +05:30
7e26b54c50 feat: complete client billing UI and staff benefits display (#524, #527)
- Client App: Built dedicated ShiftCompletionReviewPage  and InvoiceReadyPage
- Client App: Wired up invoice summary mapping and parsing logic from Data Connect
- Staff App: Added dynamic BenefitsOverviewPage tracking worker limits matching client mockup
- Staff App: Display progress ring values wired to real VendorBenefitPlan & BenefitsData balances
2026-02-24 16:17:19 +05:30
Achintha Isuru
659b5812b0 Updates SectionHeader text styles, border, and radius, and reduces vertical spacing in WorkerHomePage. 2026-02-23 13:39:26 -05:00
13f8003bda refactor of usecases 2026-02-23 17:18:50 +05:30
Achintha Isuru
7f3a66ba11 refactor: remove redundant pushShiftDetails navigation method and update its usages to toShiftDetails. 2026-02-22 21:16:46 -05:00
Achintha Isuru
b519c49406 feat: Add orderId and normalized orderType to the Shift model to enable UI grouping and type-badging in shift displays. 2026-02-22 11:46:38 -05:00
Achintha Isuru
2d1e6a6acc feat: Display staff profile completion status on the home screen. 2026-02-22 10:40:43 -05:00
Achintha Isuru
a9ead783e4 feat: Add post-save navigation to staff profile for emergency contact and experience, remove a placeholder page, and refine bloc usage and UI rendering. 2026-02-22 03:01:44 -05:00
Achintha Isuru
963fc05f9f fix: Correct primaryInverse color value and improve code formatting in WorkerHomePage 2026-02-19 00:39:24 -05:00
Achintha Isuru
f0453f267b feat: Update color definitions and improve PlaceholderBanner widget styling 2026-02-18 23:43:33 -05:00
Achintha Isuru
535f6ffb1c feat: Update ownerId assignment in HomeRepositoryImpl and clean up shifts page code 2026-02-18 15:25:31 -05:00
Achintha Isuru
a119f36e41 feat: Refactor StaffSession to remove user field and update related session handling 2026-02-17 16:31:23 -05:00
Achintha Isuru
dcb76db1f8 feat(home-repository): Refactor HomeRepositoryImpl to utilize DataConnectService for data operations and simplify shift retrieval logic 2026-02-16 16:05:38 -05:00
Achintha Isuru
e6b512ee84 feat: Add Headline 1 Bold style and refactor ShiftDetailsPage and FindShiftsTab layout 2026-02-16 12:58:05 -05:00
4e1a41ebff Fix build errors: localization syntax, key paths, and ViewOrderCard widget 2026-02-14 16:26:10 +05:30
ad6db7d851 chore: refactor UI consistency using design system tokens and remove LucideIcons 2026-02-12 18:37:31 +05:30
ea06510474 Merge branch 'dev' into feature/centralized-data-error-handling and resolve conflicts 2026-02-11 12:34:29 +05:30
3e212220c7 feat: complete centralized error handling system with documentation 2026-02-11 10:36:08 +05:30
Achintha Isuru
56dbb08b5a Merge pull request #394 from Oloodi/391-refactor-mobile-uis-and-widgets-to-adhere-to-design-system-tokens
Removed the hard coded colors and typograhys from the staff mobile application
2026-02-10 17:18:42 -05:00
Achintha Isuru
bcd973cf64 refactor: Update pubspec.yaml files and remove unnecessary background color in PaymentsPage for consistency 2026-02-10 16:32:03 -05:00
Achintha Isuru
2730277075 Refactor UI components to use design system tokens for consistency
- Removed the UiSuccessSnackbar widget as it is no longer needed.
- Updated WorkerHomePage to replace hardcoded spacing with UiConstants.
- Refactored HomeHeader to use UiConstants for dimensions and colors.
- Modified PlaceholderBanner to utilize UiConstants for sizes and colors.
- Adjusted QuickActionItem to apply UiConstants for dimensions and icon sizes.
- Updated RecommendedShiftCard to use design system typography and constants.
- Refined SectionHeader to implement design system styles and spacing.
- Enhanced ShiftCard to adopt design system tokens for colors and spacing.
- Updated AutoMatchToggle to use design system colors and dimensions.
- Refactored BenefitsWidget to apply design system styles and constants.
- Improved ImproveYourselfWidget to utilize design system tokens for styling.
- Updated MoreWaysToUseKrowWidget to implement design system styles and constants.
2026-02-10 16:25:54 -05:00
Achintha Isuru
77370a7688 refactor: Replace Lucide icons with UiIcons across various widgets to ensure consistency with the design system 2026-02-10 16:12:13 -05:00
José Salazar
761d718ffe deleting files with accepeted status of application 2026-02-10 12:11:25 -05:00
7570ffa3b9 Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code) 2026-02-10 19:12:01 +05:30
5e7bf0d5c0 refactor: centralize data connect error handling and resolve build issues across applications
This commit addresses several critical issues across the mobile monorepo:

1. Centralized Error Handling: Integrated DataErrorHandler mixin into all repository implementations, ensuring consistent mapping of Data Connect exceptions to domain AppExceptions.
2. Build Stabilization: Fixed numerous type mismatches, parameter signature errors in widgets (e.g., google_places_flutter itemBuilder), and naming conflicts (StaffSession, FirebaseAuth).
3. Code Quality: Applied 'dart fix' across all modified packages and manually cleared debug print statements and UI clutter.
4. Mono-repo alignment: Standardized Data Connect usage and aliasing ('dc.') for better maintainability.

Signed-off-by: Suriya <suriya@tenext.in>
2026-02-06 13:28:57 +05:30
Achintha Isuru
ccf8930126 Use StaffPaths and core imports across staff modules
Centralize and standardize routing by introducing StaffPaths constants (shiftDetailsRoute, formI9, formW4) and using StaffPaths.childRoute in multiple staff feature modules instead of hardcoded paths. Add package:krow_core/core.dart imports where needed, clean up minor formatting/constructor spacing, make some route callbacks explicitly typed, replace shiftDetails string interpolation with the new constant, and remove a debug print from phone verification. These changes unify route definitions and add explicit tax-form routes (I-9 and W-4).
2026-02-04 18:36:37 -05:00
Achintha Isuru
3b11c49d90 Refactor navigation and remove unused navigator extensions across staff features
- Removed background color from CreateOrderView, OneTimeOrderView, and RapidOrderView.
- Updated navigation paths in OneTimeOrderView and other staff authentication pages to use new constants.
- Deleted unused navigator extensions for staff authentication, home, profile, and shifts.
- Refactored navigation in StaffMainModule to use new path constants.
- Cleaned up imports and adjusted navigation calls in various staff-related pages and widgets.
2026-02-04 18:22:39 -05:00
José Salazar
cf2433774d solving problem to move to search from home 2026-02-04 10:37:12 +09:00
Achintha Isuru
5625e353c8 feat: update navigation paths for worker profile and shifts in HomeNavigator 2026-02-02 13:58:12 -05:00
Achintha Isuru
476d697dc3 feat: Integrate ShiftAdapter for mapping application data to Shift entities and update status handling in Coverage and Shifts repositories 2026-02-01 22:18:07 -05:00
Achintha Isuru
6d0d7dcbd2 feat: Refactor PhoneInput to use StatefulWidget and improve phone number handling 2026-02-01 21:45:40 -05:00
Achintha Isuru
56dbf7728f feat: Enhance shift filtering logic and update header text style for improved UI 2026-02-01 02:46:30 -05:00