Commit Graph

343 Commits

Author SHA1 Message Date
41a222ea11 fix 2026-03-11 10:46:37 +05:30
277eff3da0 Merge dev into feature/session-persistence-new 2026-03-04 10:19:28 +05:30
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
e7e11771b3 Merge branch 'dev' of https://github.com/Oloodi/krow-workforce into feature/session-persistence-new 2026-03-03 11:07:15 +05:30
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
c0a69707e6 maestro cases 2026-03-02 19:18:35 +05:30
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
Achintha Isuru
b0abd68c2e feat: Implement certificate upload form with metadata fields, expiry date selection, and file upload functionality 2026-03-01 20:35:22 -05:00
Achintha Isuru
5795f7c45d feat: Update certificate upload process to use signed URLs and enable fields for new certificates 2026-03-01 20:28:13 -05:00
Achintha Isuru
e0e7bd51ce feat: Refactor document upload flow to support selected file path management 2026-03-01 20:09:23 -05:00
Achintha Isuru
632e0cca3d feat: Refactor document upload components to improve file selection and validation 2026-03-01 19:44:43 -05:00
Achintha Isuru
315e8f9598 feat: Implement rapid order creation with voice and text input in client mobile app 2026-03-01 12:33:42 -05:00
Achintha Isuru
b5001edf06 feat: Enhance locale management by retrieving saved language code and updating language selection UI 2026-03-01 12:11:41 -05:00
Achintha Isuru
1e1dc39e20 feat: Implement preferred locations feature with search and display components 2026-03-01 12:02:43 -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
015f1fbc1b feat: Refactor onboarding experience and personal info pages
- Updated ExperiencePage to include subtitles in ExperienceSectionTitle.
- Modified ExperienceSectionTitle widget to accept an optional subtitle parameter.
- Refactored PersonalInfoPage to improve imports and structure.
- Removed unused PersonalInfoContent and PersonalInfoForm widgets.
- Introduced new widgets: EditableField, FieldLabel, ReadOnlyField, TappableRow, and LanguageSelector for better modularity.
- Added AccountCard and SecurityNotice widgets for bank account section.
- Enhanced SaveButton to utilize UiButton for consistency.
2026-03-01 03:06:28 -05:00
Achintha Isuru
ea6b3fcc76 feat: Refactor emergency contact screen and info banner for improved UI consistency 2026-03-01 02:16:26 -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
Achintha Isuru
ce095924bc feat: Implement notice and file types banners for attire upload and enhance incomplete profile messaging 2026-02-28 22:42:04 -05:00
Achintha Isuru
1ab5ba2e6f feat: Implement Android keystore setup for secure signing in release builds and update documentation for local and CI/CD environments 2026-02-28 22:32:54 -05:00
Achintha Isuru
53b612851c refactor: enhance navigation robustness by introducing popSafe and safePushNamedAndRemoveUntil methods and updating their usage. 2026-02-28 17:23:53 -05:00
Achintha Isuru
f39f8860ea Persist verificationId for staff certificates
Add support for verificationId throughout the certificate flow: schema, GraphQL mutations/queries, domain, repositories, service implementation, and UI.

- Backend: add verificationId to Certificate schema and include it in upsert/create mutations; add auth insecureReason notes to related connector operations.
- Data layer: add verificationId parameter to StaffConnectorRepository API and propagation in implementation (SDK call remains commented with FIXME until dataconnect SDK is regenerated).
- Domain: add verificationId field to StaffCertificate (constructor, copyWith, props).
- Certificates flow: create verification via verificationService, pass returned verificationId to upsertStaffCertificate so the verification record is persisted with the certificate.
- UI: update certificate upload page to show existing file path, disable editing of name/issuer/number, rearrange fields, move remove button, change file icon and text style.
- Misc: minor lambda formatting cleanup in benefits mapping.

Note: the generated dataconnect SDK must be refreshed to enable the new .verificationId(...) call (there is a commented FIXME in the connector implementation).
2026-02-27 15:27:15 -05:00
Achintha Isuru
c534584836 feat: Add certificate number field, update "Add Certificate" card UI with blur effect, and consolidate certificate view/upload actions. 2026-02-27 14:36:34 -05:00
Achintha Isuru
7875506e86 feat: Dynamically determine document verification type based on document description and add widget mounted checks for safety. 2026-02-27 14:01:08 -05:00
Achintha Isuru
28cc0e3574 feat: Enable pre-filling document upload page with existing document URLs and update navigation method usage. 2026-02-27 13:35:04 -05:00
9d671be919 compile issues 2026-02-27 14:10:07 +05:30
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
f32bd81a46 refactor: update AttireRepositoryImpl to use constructor injection, reorganize profile sections by moving documents and adding certificates, and introduce new UI icons. 2026-02-27 02:00:51 -05:00
Achintha Isuru
425bf19a9b feat: Implement full certificate management with upload, upsert, delete, and new domain models for staff certificates and their statuses. 2026-02-26 23:28:59 -05:00
Achintha Isuru
ca0ba258e2 refactor: refactor DocumentUploadPage UI into specialized widgets and refine document status mapping with a new DocumentVerificationStatus enum. 2026-02-26 22:25:35 -05:00
Achintha Isuru
5ab5182c1b feat: Implement comprehensive staff document management with verification status tracking and complete document listing. 2026-02-26 22:23:27 -05:00
Achintha Isuru
c113b836f2 feat: Introduce DocumentSelectedCard and refactor DocumentFileSelector for improved display of selected documents, and update upload success navigation. 2026-02-26 17:16:52 -05:00
Achintha Isuru
4995ff435d refactor: extract document upload file selector, attestation checkbox, and footer into dedicated widgets for improved modularity. 2026-02-26 16:21:02 -05:00
Achintha Isuru
1aa5132abe feat: implement document upload functionality with dedicated UI, state management, and routing. 2026-02-26 16:11:24 -05:00