Commit Graph

38 Commits

Author SHA1 Message Date
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
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
José Salazar
0902c0ecf0 coverage working 2026-01-27 11:27:14 -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
José Salazar
d67dfd6f2f disconecting expiry time and savings 2026-01-26 18:39:22 -05:00
José Salazar
57ea214871 invoices history ready 2026-01-26 18:23:52 -05:00
José Salazar
fd06391e63 brakedown by week and month 2026-01-26 17:51:30 -05:00
José Salazar
1934d4caab account working 2026-01-26 13:57:04 -05:00
José Salazar
0ba5a9ae16 registration and login ready, with some validations 2026-01-26 10:48:33 -05:00
Achintha Isuru
2a820b3e4f feat: Implement staff availability feature with BLoC architecture
- Created AvailabilityPage with UI for managing staff availability.
- Integrated BLoC for state management, including LoadAvailability and ToggleDayStatus events.
- Added quick set options for availability (All Week, Weekdays, Weekends, Clear All).
- Implemented week navigation and day selection with visual feedback.
- Developed time slot management for each day, allowing toggling of availability.
- Established StaffAvailabilityModule for dependency injection and routing.
- Updated pubspec.yaml with necessary dependencies for the feature.
2026-01-25 22:35:09 -05:00
Achintha Isuru
7c9252e0c3 Merge branch '208-p0-auth-05-get-started-screen' of https://github.com/Oloodi/krow-workforce into 208-p0-auth-05-get-started-screen 2026-01-25 17:01:38 -05:00
Achintha Isuru
8e429dda03 feat: add ShiftAssignmentCard widget and StaffShifts module
- Implemented ShiftAssignmentCard widget for displaying shift assignments with client details, pay calculation, and confirmation actions.
- Created StaffShiftsModule to manage dependencies, routes, and use cases related to staff shifts.
- Added necessary dependencies in pubspec.yaml and generated pubspec.lock.
2026-01-25 16:09:11 -05:00
José Salazar
a9a64caff6 reoder view working 2026-01-25 16:06:07 -05:00
José Salazar
6e575a9ad0 adding pendind and solving problem with status of shifts 2026-01-25 14:22:54 -05:00
José Salazar
bda0b441e9 update and correction of create order 2026-01-25 14:22:54 -05:00
Achintha Isuru
f81e1949d1 feat: Add experience management feature with UI, BLoC integration, and repository implementation 2026-01-24 21:04:59 -05:00
Achintha Isuru
c124111f46 feat: Implement emergency contact management feature with UI and BLoC integration 2026-01-24 20:40:02 -05:00
Achintha Isuru
6c72c2d9fd feat: Implement Staff Profile feature with BLoC architecture
- Added ProfileRepositoryInterface for staff profile operations.
- Created StaffProfileUI to represent extended profile information for the UI.
- Developed GetProfileUseCase to fetch staff profiles and map to UI entities.
- Implemented SignOutUseCase for user sign-out functionality.
- Introduced ProfileCubit to manage profile state and loading logic.
- Created ProfileState to represent various states of the profile feature.
- Developed ProfileNavigator for type-safe navigation within the profile feature.
- Built StaffProfilePage to display staff member's profile and statistics.
- Added various widgets for profile display, including reliability stats and menu items.
- Established StaffProfileModule for dependency injection and routing.
- Configured pubspec.yaml for feature package dependencies.
2026-01-24 14:25:17 -05:00
Achintha Isuru
f57f41c508 Add explicit types and improve type safety across codebase
This commit adds explicit type annotations to variables, function parameters, and return types throughout the codebase, particularly in widget trees, Bloc logic, and repository implementations. The changes improve code readability, maintainability, and type safety, and align with Dart best practices. No business logic was changed.
2026-01-24 10:00:36 -05:00
José Salazar
ff93bfa4bd Merge pull request #289 from Oloodi/view_orders
view shits of ordes by date
2026-01-23 21:15:35 -05:00
José Salazar
afba0e64df view shits of ordes by date 2026-01-23 20:43:18 -05:00
Achintha Isuru
b3b5799c2a Merge branch '208-p0-auth-05-get-started-screen' of https://github.com/Oloodi/krow-workforce into 208-p0-auth-05-get-started-screen 2026-01-23 16:25:54 -05:00
Achintha Isuru
2b331e356b feat(client_coverage): add client coverage feature with user session data use case and dashboard widgets
- Created `client_coverage` feature with necessary dependencies in `pubspec.yaml`.
- Implemented `GetUserSessionDataUseCase` for retrieving user session data.
- Developed `ClientHomeEditBanner` for edit mode instructions and reset functionality.
- Added `ClientHomeHeader` to display user information and action buttons.
- Built `DashboardWidgetBuilder` to render various dashboard widgets based on state.
- Introduced `DraggableWidgetWrapper` for managing widget visibility and drag handles in edit mode.
- Created `HeaderIconButton` for interactive header actions with optional badge support.
2026-01-23 16:25:01 -05:00
José Salazar
ee56985f42 Merge branch '208-p0-auth-05-get-started-screen' into rapid_order_client 2026-01-23 14:31:25 -05:00
Achintha Isuru
ff9ad58b8c Add client billing feature module
Introduces the client billing feature with domain, data, and presentation layers. Adds billing BLoC, navigation, UI widgets, and integrates with mock financial repository. Updates localization files for billing-related strings, adds new icons and typography, and registers url_launcher plugins for Linux, macOS, and Windows platforms.
2026-01-23 14:18:56 -05:00
Achintha Isuru
960b21ec8c Add client view orders feature module
Introduces the client 'View Orders' feature, including domain entity, repository, use case, Cubit, state, navigation extension, UI page, and widget. Integrates the feature into the client main module, updates localization files for English and Spanish, and adds supporting icons to the design system. Also updates the mock repository to provide sample order data.
2026-01-23 11:28:51 -05:00
José Salazar
a320bece0c adding schema from datac 2026-01-23 09:54:05 -05:00
José Salazar
a70468ceb4 session creation and show business information 2026-01-22 18:17:24 -05:00
Achintha Isuru
4b3125de1a Add order entities and mocks for client order feature
Introduces new domain entities for order types and one-time orders, along with their positions. Adds a mock OrderRepository to the data_connect package and wires it into the module. Updates localization files for new order flows and refactors Equatable usage for consistency. Also adds a minus icon to the design system.
2026-01-22 16:47:39 -05:00
José Salazar
c57cb65074 new schemas 2026-01-22 12:37:21 -05:00
José Salazar
fdf28beae4 new schemas of teams and hubs 2026-01-22 12:25:24 -05:00
Achintha Isuru
f882a0a7d0 chore: Update client navigation routes and exports
Standardized navigation route paths for client home, hubs, and settings to use '/client-home', '/client-hubs', and '/client-settings'. Added missing module imports and exports in main.dart and krow_data_connect.dart, including business_repository_mock.
2026-01-22 11:29:54 -05:00
Achintha Isuru
cf59935ec8 Move apps to mobile directory structure
Relocated all app directories (client, design_system_viewer, staff) and their contents under the new 'apps/mobile' path. This change improves project organization and prepares for future platform-specific structuring.
2026-01-22 10:17:19 -05:00