Commit Graph

736 Commits

Author SHA1 Message Date
Achintha Isuru
95175536a0 feat: Implement audio file upload for rapid order transcription and refine the rapid order verification page titles. 2026-02-27 21:02:34 -05:00
Achintha Isuru
a53dddf2e6 feat: Implement voice-to-text transcription for rapid order creation and refactor RapidOrderBloc state management. 2026-02-27 20:37:14 -05:00
Achintha Isuru
57ea14d6bc small change 2026-02-27 15:41:59 -05:00
Achintha Isuru
d609dd75fa Merge branch 'dev' into 493-implement-rapid-order-creation-voice-text-in-client-mobile-app 2026-02-27 15:32:11 -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
Achintha Isuru
c54b817ac4 Use handleError for audio recording actions
Refactor RapidOrderBloc to wrap start/stop recording logic with handleError (adds onError handling and standardized emit closure). Rename isListening var to alreadyListening and tweak comments. Remove the overridden close() that disposed the audio recorder (disposal likely handled elsewhere). Also remove an unused import (krow_domain) from create_order_view to clean up warnings.
2026-02-27 13:25:51 -05:00
Achintha Isuru
e0d633d65d Merge branch '493-implement-rapid-order-creation-voice-text-in-client-mobile-app' into dev 2026-02-27 13:17:41 -05:00
Achintha Isuru
9d25fd44cc Add rapid order parsing & audio recording
Add support for transcribing and parsing rapid (urgent) orders into one-time order drafts. Introduces ParseRapidOrderTextToOrderUseCase and wiring for TranscribeRapidOrderUseCase, implements parseRapidOrder and transcribeRapidOrder in the client repository, and injects these into the RapidOrderBloc and module. Adds the record package dependency and registers the record plugin for iOS/macOS targets. Updates OneTimeOrder state, bloc and views to handle rapid-order drafts and navigate to the one-time order flow after parsing. Also includes small formatting and navigator changes.
2026-02-27 13:16:11 -05:00
Achintha Isuru
2d4eee576c Merge branch 'dev' into 493-implement-rapid-order-creation-voice-text-in-client-mobile-app 2026-02-27 12:10:35 -05:00
Achintha Isuru
55a31661a1 feat: Implement audio recording and transcription for rapid order creation across platforms. 2026-02-27 11:49:17 -05:00
Achintha Isuru
52bdf48155 feat: Add RAPID order transcription and parsing services with associated response models and API endpoints. 2026-02-27 11:35:09 -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
2b879158c7 Update es.i18n.json 2026-02-27 01:00:02 -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
Achintha Isuru
050072bd93 feat: Implement document upload and verification workflow by expanding document statuses, adding verification metadata, and introducing a mandatory flag for documents. 2026-02-26 15:45:55 -05:00
Achintha Isuru
df71deb698 feat: Add a Documents menu item, refactor DocumentsPage to use BlocProvider and UiAppBar, and capitalize the 'KROWER I' profile level badge text. 2026-02-26 15:24:27 -05:00
Achintha Isuru
b8d07380c0 replace the "Krow" with "KROW" 2026-02-26 15:13:26 -05:00
Achintha Isuru
f9c2d822e6 refactor: update billing module routes to use ClientPaths.childRoute and refactor PendingInvoicesPage to use UiAppBar and ListView.builder. 2026-02-26 14:37:20 -05:00
Achintha Isuru
94e15ae05d refactor: Refactor hub form from a dialog to a dedicated widget and streamline HubDetailsPage UI and bloc initialization. 2026-02-26 13:39:33 -05:00
Achintha Isuru
a4ca8cf71e Merge branch 'dev' of https://github.com/Oloodi/krow-workforce into dev 2026-02-26 11:57:28 -05:00
Achintha Isuru
d8d3c3c79b refactor: Remove 'Edit Profile' and 'Hubs' buttons from settings actions and migrate client hubs page to use UiAppBar. 2026-02-26 11:57:12 -05:00
José Salazar
3cf791ddbf merge with dev 2026-02-26 11:17:01 -05:00
fd43494bd4 chore: Maestro restructure, remove Marionette, add Makefile e2e commands 2026-02-26 16:07:43 +05:30
Achintha Isuru
9f01c25dd3 refactor: update AttireCubit dependency injection to non-lazy and ensure uploadPhoto returns the updated attire item status. 2026-02-25 22:22:48 -05:00
Achintha Isuru
083744cd34 feat: Implement attire item filtering and refactor attire capture flow and repository logic 2026-02-25 22:18:25 -05:00
Achintha Isuru
c7c505f743 feat: Implement modular routing for the attire capture page with a new route path and navigator method. 2026-02-25 19:30:42 -05:00
Achintha Isuru
e0722c938d refactor: Decompose AttireCapturePage into dedicated widgets for info, image preview, and footer sections, and refine attestation and verification status logic. 2026-02-25 19:21:45 -05:00
Achintha Isuru
4515d42cd3 feat: Enhance attire verification status system with more granular states and update related UI and data handling. 2026-02-25 19:05:03 -05:00
Achintha Isuru
6eafba311b refactor: Implement custom DioClient with AuthInterceptor and strongly typed API service responses. 2026-02-25 15:10:44 -05:00
Achintha Isuru
9c9cdaca78 feat: Implement attire photo capture, update AttireItem entity, and streamline the photo upload and state management flow. 2026-02-25 13:56:35 -05:00
Achintha Isuru
0ad70a4a42 Merge branch 'dev' into 503-build-dedicated-interface-to-display-hub-details 2026-02-25 13:07:59 -05:00
Achintha Isuru
74d8d4d4d9 feat: Implement local image preview and explicit submission for attire capture. 2026-02-25 13:06:11 -05:00
Achintha Isuru
ed2b4f0563 feat: Enable users to upload attire photos via camera or gallery. 2026-02-25 12:58:30 -05:00
Achintha Isuru
19b82ff73a feat: device services implemented 2026-02-25 12:39:25 -05:00
Achintha Isuru
e2f3de3a54 feat: introduce BaseDeviceService to standardize interactions with native device features. 2026-02-25 12:29:47 -05:00
17da98ec6c Delete apps/mobile/analyze2.txt 2026-02-25 22:53:26 +05:30
165fe5b66b maestra testcases 2026-02-25 22:06:22 +05:30
Achintha Isuru
c3d2a8a910 style: Adjust vertical spacing in attire capture page. 2026-02-25 11:13:48 -05:00
Achintha Isuru
08920ada3d feat: Externalize Core API base URL to AppConfig and environment configuration. 2026-02-25 10:57:34 -05:00
Achintha Isuru
a21fbf6871 feat: Introduce FileVisibility enum and refactor FileUploadService to use it instead of magic strings for file access levels. 2026-02-25 10:50:42 -05:00