Commit Graph

885 Commits

Author SHA1 Message Date
ea06510474 Merge branch 'dev' into feature/centralized-data-error-handling and resolve conflicts 2026-02-11 12:34:29 +05:30
65620b961a fix: resolve layout overflow on shift details page 2026-02-11 12:07:02 +05:30
4e4b644b32 docs: fix mermaid diagram syntax error 2026-02-11 10:39:35 +05:30
3e212220c7 feat: complete centralized error handling system with documentation 2026-02-11 10:36:08 +05:30
Achintha Isuru
56dbb08b5a Merge pull request #394 from Oloodi/391-refactor-mobile-uis-and-widgets-to-adhere-to-design-system-tokens
Removed the hard coded colors and typograhys from the staff mobile application
2026-02-10 17:18:42 -05:00
Achintha Isuru
4c38013c10 Standardize UI to design system tokens
Refactor multiple UI components to use design system tokens and primitives. Added new UiIcons (coffee, wifi, xCircle, ban) and typography color getters (primary, accent). Replaced hardcoded paddings, spacings, radii, borderRadius, and icon imports (lucide_icons -> UiIcons) with UiConstants, UiColors, UiTypography and UiIcons, and switched to UiColors.withValues for opacity. Changes apply across authentication, availability, clock_in (and its widgets), commute tracker, lunch break modal, location map placeholder, attendance card, date selector, and related presentation files to improve visual consistency.
2026-02-10 17:17:56 -05:00
José Salazar
6ea6e44788 Merge pull request #393 from Oloodi/389-staff-app-inconsistent-display-of-client-app-shifts-in-search-shifts-after-todays-000000
solving problem with the time in shifts
2026-02-10 16:35:36 -05:00
Achintha Isuru
bcd973cf64 refactor: Update pubspec.yaml files and remove unnecessary background color in PaymentsPage for consistency 2026-02-10 16:32:03 -05:00
José Salazar
7ab59eb843 solving problem with the time in shifts 2026-02-10 16:30:13 -05:00
Achintha Isuru
2730277075 Refactor UI components to use design system tokens for consistency
- Removed the UiSuccessSnackbar widget as it is no longer needed.
- Updated WorkerHomePage to replace hardcoded spacing with UiConstants.
- Refactored HomeHeader to use UiConstants for dimensions and colors.
- Modified PlaceholderBanner to utilize UiConstants for sizes and colors.
- Adjusted QuickActionItem to apply UiConstants for dimensions and icon sizes.
- Updated RecommendedShiftCard to use design system typography and constants.
- Refined SectionHeader to implement design system styles and spacing.
- Enhanced ShiftCard to adopt design system tokens for colors and spacing.
- Updated AutoMatchToggle to use design system colors and dimensions.
- Refactored BenefitsWidget to apply design system styles and constants.
- Improved ImproveYourselfWidget to utilize design system tokens for styling.
- Updated MoreWaysToUseKrowWidget to implement design system styles and constants.
2026-02-10 16:25:54 -05:00
José Salazar
0fa26e0f7b Merge pull request #392 from Oloodi/386-refactor-streamline-applicationstatus-enum-in-data-connect-and-ui
386 refactor streamline applicationstatus enum in data connect and UI
2026-02-10 16:20:08 -05:00
Achintha Isuru
77370a7688 refactor: Replace Lucide icons with UiIcons across various widgets to ensure consistency with the design system 2026-02-10 16:12:13 -05:00
Achintha Isuru
c6448ad5c1 Refactor UI components to utilize design system colors and typography
- Removed deprecated app_colors.dart file.
- Updated AttendanceCard widget to use design system colors and typography.
- Refactored CommuteTracker widget for consistent styling with design system.
- Modified DateSelector widget to apply design system styles.
- Adjusted LocationMapPlaceholder widget to align with design system.
- Enhanced LunchBreakDialog with design system colors and typography.
- Updated SwipeToCheckIn widget to utilize design system for colors and text styles.
2026-02-10 16:05:05 -05:00
Achintha Isuru
8edfc72370 refactor: Update AvailabilityPage and ClockInPage to enhance UI consistency and remove unused code 2026-02-10 15:51:50 -05:00
Achintha Isuru
4f94bf6835 feat: Refactor mobile UI components to adhere to design system tokens and improve loading and snackbar functionalities 2026-02-10 15:34:52 -05:00
Achintha Isuru
a34cc5b462 feat: Implement staff authentication as a Flutter Modular feature module, centralizing dependency injection and routing while refactoring imports for better modularity. 2026-02-10 12:15:51 -05:00
José Salazar
761d718ffe deleting files with accepeted status of application 2026-02-10 12:11:25 -05:00
José Salazar
06882f91df deleting accepted from application 2026-02-10 11:59:07 -05:00
José Salazar
eee8b2e6ec all the time when a staff apply to a shift the status of application will be confirmed 2026-02-10 11:51:56 -05:00
Achintha Isuru
aef0c3df14 Refactor code structure for improved readability and maintainability 2026-02-10 11:48:27 -05:00
Achintha Isuru
9f604e7c46 Merge pull request #388 from Oloodi/feature/centralized-data-error-handling
Fix: Resolve critical bugs and linting issues (concurrency, syntax, dead code)
2026-02-10 11:10:03 -05:00
7570ffa3b9 Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code) 2026-02-10 19:12:01 +05:30
Achintha Isuru
12678720fe Merge pull request #387 from Oloodi/authentication-web
Invoices and Staff View related PR
2026-02-09 09:47:49 -05:00
dhinesh-m24
70d5dd1061 feat: Implement Invoice editor to create or modify invoices 2026-02-09 17:06:48 +05:30
dhinesh-m24
cad0662478 feat: Implement detail view for specific invoice 2026-02-09 16:44:00 +05:30
dhinesh-m24
e25b37b39b feat: Implement invoice list view with filtering 2026-02-09 16:30:15 +05:30
dhinesh-m24
3a993c1ca2 feat: Implement a Kanban-Style task board 2026-02-09 16:12:03 +05:30
dhinesh-m24
0db8cf2d89 feat: Implement manual assignment for administrators 2026-02-09 15:20:32 +05:30
dhinesh-m24
f52ee4583a feat: Implement Staff Availability View for Administrators 2026-02-09 13:33:37 +05:30
dhinesh-m24
651700348d feat: Implement calendar view to manage orders and events 2026-02-09 12:55:44 +05:30
dhinesh-m24
444c1234c0 feat: Add base setup for Internationalization(i18n) 2026-02-09 12:24:28 +05:30
dhinesh-m24
1c8541cb1d feat: Implement Edit Orders 2026-02-09 11:31:18 +05:30
Achintha Isuru
c4e553564a Merge pull request #385 from Oloodi/371-functional-parity-analysis-legacy-vs-new-architectures
Created the system bibles, use case documents and architecture documents for the both legacy and current system
2026-02-06 16:20:26 -05:00
Achintha Isuru
8faf9b5046 Add comprehensive architecture, use case, and system documentation for Krow platform
- Introduced architecture overview for the Staff Mobile Application, detailing its high-level structure, major components, and data flow.
- Created use case documentation for the Staff Mobile Application, outlining user interactions and workflows.
- Developed a system bible for the Krow Platform, covering system vision, architecture, use cases, and security models.
- Added architecture overview for the Krow Web Application, including its component structure and external system interactions.
- Documented use cases for the Krow Web Application, detailing workflows for different user roles and shared functional modules.
2026-02-06 16:18:37 -05:00
Achintha Isuru
682a425d0d feat: add zoom controls for Mermaid diagrams and improve diagram interaction 2026-02-06 15:57:29 -05:00
Achintha Isuru
348044b1c3 feat: enhance documentation with comprehensive use case and architecture details for mobile and web applications 2026-02-06 15:43:06 -05:00
Achintha Isuru
4e952f5529 feat: update architecture documents for client and staff mobile apps, and add web platform overview 2026-02-06 14:55:28 -05:00
Achintha Isuru
11bd5c6106 Revise client login and dashboard sections for clarity
Updated section titles for clarity and revised notes regarding order approval flow.
2026-02-06 14:13:38 -05:00
Achintha Isuru
415a0412e5 Change OTP code mode description
Updated OTP code description from 'demo mode' to 'testing mode'.
2026-02-06 14:06:25 -05:00
Achintha Isuru
0198456658 Remove date from Milestone 3 testing plan
Removed the date from the feature testing plan.
2026-02-06 14:05:38 -05:00
Achintha Isuru
964b872ee1 Add clean-branches make target and docs
Document dataconnect environment options and add branch-cleaning tooling. Adds PROTECTED_BRANCHES.md listing protected branches (main, dev, demo/**). Updates Makefile help text to show ENV defaults for dataconnect targets, new bootstrap/backup/validation commands, and a tip about default ENV. Adds a new clean-branches .PHONY target in makefiles/tools.mk that validates the current branch, reads PROTECTED_BRANCHES.md, prompts for confirmation, switches to dev if necessary, and deletes non-protected local branches while reporting a summary.
2026-02-06 13:40:28 -05:00
Achintha Isuru
543d800635 feat: add dataconnect-generated dependency and update pnpm workspace configuration 2026-02-06 13:27:11 -05:00
Achintha Isuru
e1567ba84c Merge pull request #384 from Oloodi/feature/centralized-data-error-handling
refactor: centralize data connect error handling and stabilize mobile applications
2026-02-06 10:05:21 -05:00
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
5c6852fcba Merge pull request #383 from Oloodi/demo/prep-demo-m3
Introduce validation db instance
2026-02-06 00:45:04 -05:00
Achintha Isuru
d39fa6e6c3 Update service IDs in dataconnect configuration for consistency 2026-02-06 00:44:27 -05:00
Achintha Isuru
aa2418b327 Refactor import order and remove debug logging in authentication repository 2026-02-06 00:29:04 -05:00
Achintha Isuru
e0636e46a3 Merge pull request #380 from Oloodi/authentication-web
Order's PR
2026-02-05 22:24:19 -05:00
Achintha Isuru
9f750ac168 Merge pull request #379 from Oloodi/361-missing-features-and-bugs-identified-during-the-milestone-3-demo-smoke-run
feat(mobile): Implement Centralized Error Handling System & Project Cleanup (#377 #378)
2026-02-05 22:24:05 -05:00
José Salazar
b0065068a4 validations of connection to validation db 2026-02-06 11:35:31 +09:00