Commit Graph

79 Commits

Author SHA1 Message Date
Achintha Isuru
ddf270074b feat: Refactor session management and improve user session data retrieval 2026-02-17 16:05:45 -05:00
Achintha Isuru
631af65a2f feat: Update session navigation and enhance error handling in data services 2026-02-17 15:46:52 -05:00
Achintha Isuru
8ce37d2306 feat: Implement role-based session management and refactor authentication flow 2026-02-17 15:10:10 -05:00
Achintha Isuru
be40614274 feat: Implement session management with SessionListener and SessionHandlerMixin 2026-02-17 14:03:24 -05:00
Achintha Isuru
506da5e26f feat: Implement DataErrorHandler mixin and update imports for consistency 2026-02-17 13:21:00 -05:00
da8192418f fix(mobile): resolve client crash and shift status inconsistency 2026-02-17 16:23:10 +05:30
Achintha Isuru
fdd40ba72c feat(data-connect): Implement caching for business ID and enhance error handling in DataConnectService 2026-02-16 17:16:29 -05:00
Achintha Isuru
3245c957f6 feat(data-connect): Add run method for centralized error handling and authentication checks 2026-02-16 15:39:40 -05:00
Achintha Isuru
c3abb819c9 feat(data-connect): Implement DataConnectService for centralized data operations and refactor ShiftsRepositoryImpl to utilize the new service 2026-02-16 14:57:47 -05:00
Achintha Isuru
51d53f658b feat(data-error-handler): Replace print with debugPrint for unhandled exceptions logging 2026-02-16 14:49:13 -05:00
3e212220c7 feat: complete centralized error handling system with documentation 2026-02-11 10:36:08 +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
97747625e4 Remove generated files for UpdateWorkforce and VaidateDayStaffApplication classes to streamline codebase and eliminate unused code. 2026-02-02 22:04:25 -05:00
Achintha Isuru
94ad1d66fb fix: update SDK constraints to ensure compatibility across multiple pubspec files 2026-02-02 10:30:50 -05:00
Achintha Isuru
075c3150d0 feat: update mobile makefile to include SDK generation for client and staff apps
- Added `dataconnect-generate-sdk` as a prerequisite for mobile installation, client, and staff build commands.
- Ensured SDK generation is performed before running or building mobile applications to streamline the development process.
2026-02-02 10:07:13 -05:00
José Salazar
818fc1759a solving problem adding checkin time 2026-02-02 20:45:12 +09:00
José Salazar
279544930c solving bugs in check in 2026-02-02 08:25:13 +09:00
José Salazar
b7b7709386 history ready 2026-02-02 07:26:07 +09:00
José Salazar
761830b380 adding validations for apply 2026-02-02 07:14:54 +09:00
José Salazar
a2020f9f98 little advance and corrections 2026-02-02 06:00:39 +09:00
José Salazar
5a2721eebb getting last getApplicationsbyStaffId 2026-02-02 04:55:37 +09:00
Achintha Isuru
6441e72ae3 Add COMPLETED status to ApplicationStatus enum in GraphQL schema 2026-02-01 11:22:28 -05:00
José Salazar
6277b9f5e2 changes 2026-02-01 22:39:40 +09:00
Achintha Isuru
3f7aa90fee Merge branch 'dev' into Issues-on-payments-timecard-availability-screens-01-02-03-04 2026-01-30 11:19:07 -05:00
Suriya
ac7874c634 feat: implement staff availability, clock-in, payments and fix UI navigation 2026-01-30 21:46:44 +05:30
José Salazar
1e505c806a hidding collapse and showing start rate of staff 2026-01-30 00:00:44 -05:00
José Salazar
0086585a03 solving the problem of bad information in live today 2026-01-29 21:45:28 -05:00
José Salazar
34546f9b2a new query to validate if a hub has orders before delete 2026-01-29 18:01:16 -05:00
José Salazar
f323f73337 showing better name to shifts in shows orders 2026-01-29 17:17:52 -05:00
José Salazar
02b0790ec3 saving name of the orders 2026-01-29 17:10:26 -05:00
José Salazar
191ba40393 modifications for hub in create one time order 2026-01-29 16:08:44 -05:00
José Salazar
7e17903942 new hudId in order in others queries 2026-01-29 15:36:23 -05:00
José Salazar
8121912805 new queries y mutuations for hub 2026-01-29 14:18:02 -05:00
José Salazar
ff132e1ffc Regenerate dataconnect SDK after merge 2026-01-29 10:00:20 -05:00
Achintha Isuru
710421a832 Refactor code structure for improved readability and maintainability 2026-01-28 12:56:35 -05:00
José Salazar
c646f5fba3 new schema for taxForm 2026-01-28 10:52:07 -05:00
José Salazar
9c0decefae new sdk info 2026-01-27 16:23:12 -05:00
José Salazar
1c1639b751 Merge branch '216-p0-staff-01-profile-setup-wizard' into coverage_screen_app 2026-01-27 16:15:01 -05:00
José Salazar
e38c13e61a live today from home 2026-01-27 15:43:24 -05:00
José Salazar
4cdbebf2c0 spending in home view working 2026-01-27 15:00:25 -05:00
Achintha Isuru
8e7caeed48 Refactor staff data models to use List<String> for skills and industries
- Updated GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes to replace AnyValue with List<String> for skills and industries.
- Modified JSON serialization and deserialization logic accordingly.
- Adjusted ExperienceRepositoryImpl to handle List<String> for industries and skills.
- Updated GraphQL mutations and schema to reflect changes in data types for skills and industries.
2026-01-27 14:05:32 -05:00
José Salazar
dbd4c2fdc8 today coverage ready 2026-01-27 13:11:38 -05:00
José Salazar
2261a6d72c new sdk for preferredLocations of staff 2026-01-27 12:40:48 -05:00
José Salazar
a02fd846c1 coverage working 2026-01-27 12:40:42 -05:00
Achintha Isuru
f345e715ad feat: update preferredLocations field to List<String> across staff-related entities and mutations
- Changed preferredLocations from AnyValue to List<String> in GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes.
- Updated JSON serialization/deserialization for preferredLocations to handle List<String>.
- Modified Staff entity to include preferredLocations as List<String>.
- Adjusted ProfileSetupBloc and PersonalInfoBloc to accommodate changes in preferredLocations.
- Updated PersonalInfoRepositoryImpl to handle preferredLocations as List<String>.
- Refactored PersonalInfoContent and PersonalInfoForm to use locations instead of address.
- Updated GraphQL mutations and schema to reflect the new List<String> type for preferredLocations.
2026-01-27 12:27:53 -05:00
Achintha Isuru
450683c45c feat: implement emergency contact management with Firebase integration and relationship type handling 2026-01-27 12:27:22 -05:00
José Salazar
0902c0ecf0 coverage working 2026-01-27 11:27:14 -05:00
Achintha Isuru
536b020c52 feat: update preferredLocations field to List<String> across staff-related entities and mutations
- Changed preferredLocations from AnyValue to List<String> in GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes.
- Updated JSON serialization/deserialization for preferredLocations to handle List<String>.
- Modified Staff entity to include preferredLocations as List<String>.
- Adjusted ProfileSetupBloc and PersonalInfoBloc to accommodate changes in preferredLocations.
- Updated PersonalInfoRepositoryImpl to handle preferredLocations as List<String>.
- Refactored PersonalInfoContent and PersonalInfoForm to use locations instead of address.
- Updated GraphQL mutations and schema to reflect the new List<String> type for preferredLocations.
2026-01-27 02:17:52 -05:00
Achintha Isuru
fbebc22ad4 Merge pull request #293 from Oloodi/billing_screen
Billing screen
2026-01-26 19:00:28 -05:00
Achintha Isuru
060036fe36 Refactor staff profile management to remove livePhoto references and update repository methods for current user authentication 2026-01-26 18:41:13 -05:00