Commit Graph

314 Commits

Author SHA1 Message Date
Achintha Isuru
7a5c130289 refactor: change singleton registrations to lazySingleton for improved performance 2026-03-09 15:01:18 -04: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
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
2596249cd2 feat: Remove redundant session handling in getUserSessionData method 2026-03-01 19:34:14 -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
7c701ded5f feat: Enhance authentication by refining user role validation during session handling and ensuring immediate ID token refresh after sign-in to prevent unauthenticated Data Connect SDK requests. 2026-02-28 18:17:49 -05:00
Achintha Isuru
6902e84519 feat: Temporarily disable worker list display and refine amount widget styling on the completion review page. 2026-02-28 17:36:23 -05:00
Achintha Isuru
26c4327ec5 refactor: reload billing data and update awaiting approval navigation to be awaitable. 2026-02-28 17:31:57 -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
c26128f1f2 feat: Enhance navigation robustness by redirecting to the appropriate home page on navigation errors or when popping the root route. 2026-02-28 17:02:44 -05:00
Achintha Isuru
76424b1b1f refactor: extract invoice approval and dispute logic into a dedicated ShiftCompletionReviewBloc. 2026-02-28 16:02:10 -05:00
Achintha Isuru
5a79a4e517 fix: Reorder invoice title and adjust vertical spacing in the pending invoices section. 2026-02-28 15:28:46 -05:00
Achintha Isuru
8c0708d2d3 Refactor billing data parsing and filtering, update invoice queries, and remove the dedicated timesheets page. 2026-02-28 15:26:05 -05:00
Achintha Isuru
119b6cc000 feat: introduce completion review UI components for actions, amount, info, search, and worker listing. 2026-02-28 12:49:51 -05:00
Achintha Isuru
752f60405e feat: Enable the rapid order type, refactor the invoice ready page to use UiAppBar, and adjust rapid action widget colors. 2026-02-28 12:11:46 -05:00
Achintha Isuru
1ed6d27ca7 refactor: Centralize bottom bar visibility paths into a list and simplify the conditional check. 2026-02-27 21:45:43 -05:00
Achintha Isuru
a65181251d feat: Introduce showBottomBar state to conditionally hide the bottom navigation bar based on specific routes. 2026-02-27 21:43:50 -05:00
Achintha Isuru
bba4054143 feat: Implement hub and role matching for order creation and remove payment, savings, and export sections from the billing page. 2026-02-27 21:32:12 -05:00
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
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
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
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
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
fd43494bd4 chore: Maestro restructure, remove Marionette, add Makefile e2e commands 2026-02-26 16:07:43 +05:30
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
19b82ff73a feat: device services implemented 2026-02-25 12:39:25 -05:00
b85a83b446 #537 (Cost Center)#539 (Hub Manager) 2026-02-25 21:18:51 +05:30
Achintha Isuru
12211e54e2 refactor: Reorder pubspec.yaml dependencies, update SavingsCard text to a hardcoded value, and add scripts/issues-to-create.md to .gitignore. 2026-02-25 09:38:13 -05:00
af09cd40e7 fix eventhandlers 2026-02-25 20:04:02 +05:30
eeb8c28a61 hub & manager issues 2026-02-25 19:58:28 +05:30
239fdb99a8 Fix remaining stash issues by reverting to origin/dev 2026-02-25 13:46:19 +05:30
4e7838bf93 Fix stash conflict 2026-02-25 13:35:58 +05:30
4d4a9b6a66 Merge dev 2026-02-25 13:35:18 +05:30