Commit Graph

1593 Commits

Author SHA1 Message Date
Achintha Isuru
0e296bf83b refactor(ci): enhance mobile release workflow with emojis and extracted scripts
 Enhanced mobile-release.yml workflow:
- 📱 Added emojis to all steps for better visual feedback
- 🔧 Version now automatically extracted from pubspec.yaml
  - No manual version input required
  - Reads from apps/mobile/apps/staff/pubspec.yaml for worker
  - Reads from apps/mobile/apps/client/pubspec.yaml for client
- 📝 Removed manual version input field from workflow

🔨 Created reusable shell scripts in .github/scripts/:
1. extract-version.sh - Extract version from pubspec.yaml
2. generate-tag-name.sh - Generate tag names consistently
3. extract-release-notes.sh - Extract CHANGELOG sections
4. create-release-summary.sh - Generate GitHub Step Summary with emojis

Benefits:
 Simpler workflow - just select app and environment
 Single source of truth for versions (pubspec.yaml)
 Reusable scripts can be used in other workflows
 Better error messages and validation
 Enhanced visual feedback with emojis
 Cleaner workflow file (moved logic to scripts)
2026-03-05 11:49:11 -05:00
Achintha Isuru
054852fcde feat(ci): add GitHub Actions workflows for mobile releases and hotfixes
- Add mobile-release.yml workflow:
  - Manual trigger with app (worker/client) and environment (dev/stage/prod) selection
  - Version validation (semantic versioning)
  - Tag creation with format: krow-withus-<app>-mobile/<env>-vX.Y.Z
  - GitHub Release creation with CHANGELOG extraction
  - Release naming: 'Krow With Us - Worker Mobile - DEV - v0.1.0'
  - Pre-release support

- Add mobile-hotfix.yml workflow:
  - Emergency production fix automation
  - Creates hotfix branch from production tag
  - Auto-increments PATCH version
  - Updates pubspec.yaml and CHANGELOG.md
  - Creates PR with hotfix instructions
  - Follows documented hotfix process

Both workflows support staff (worker) and client mobile apps independently.

Implements mobile release strategy from docs/release/
2026-03-05 11:41:45 -05:00
Achintha Isuru
89dd9fe723 docs(mobile): remove placeholder entries for RAPID and recurring orders in CHANGELOGs 2026-03-05 11:38:36 -05:00
Achintha Isuru
f771bca72a docs(mobile): enhance CHANGELOGs with comprehensive M4 features from git history
- Add Documents & Certificates management features
- Include Camera/gallery support for uploads
- Add Benefits overview section
- Expand Attire management with verification states
- Include RAPID order audio recording and transcription
- Add Hub manager assignment and Cost center features
- Include session management improvements
- Add navigation enhancements and bug fixes
- Document Core API services integration
- Include all user-facing features from milestone issues
2026-03-05 11:34:00 -05:00
Achintha Isuru
c06e14e668 docs(mobile): update M4 version to 0.0.1-M4 (keeping same base version) 2026-03-05 11:21:43 -05:00
Achintha Isuru
6b26a72144 feat(mobile): add localization support for Spanish language in staff app 2026-03-05 11:16:52 -05:00
Achintha Isuru
889d48144c docs(mobile): move CHANGELOGs to correct app directories (staff and client) 2026-03-05 11:15:05 -05:00
Achintha Isuru
e6b0a061ba docs(mobile): add M4 milestone features to staff and client app CHANGELOGs 2026-03-05 11:11:15 -05:00
Achintha Isuru
7be3ff5bea docs(mobile): add M3 milestone CHANGELOGs for staff and client apps 2026-03-05 11:10:12 -05:00
Achintha Isuru
73bd431518 docs(mobile): add M3 milestone CHANGELOGs for staff and client apps 2026-03-05 11:10:03 -05:00
Achintha Isuru
085445e730 feat: add comprehensive release process documentation and version file references
- Introduced RELEASE_VISUAL_GUIDE.md for a visual overview of the release pipeline, including development, staging, and production phases.
- Created RELEASE_WORKFLOW.md detailing step-by-step release procedures for single and multi-product releases, including hotfix processes.
- Added VERSION_FILES_REFERENCE.md to outline all necessary version file updates for each product during releases, ensuring consistency and completeness.
2026-03-05 10:49:09 -05:00
Achintha Isuru
afa4d7cba9 Merge branch 'dev' into 493-implement-rapid-order-creation-voice-text-in-client-mobile-app 2026-03-05 09:36:37 -05:00
Achintha Isuru
308105a1f9 Update formatting for profile completion notes in M4 demo guide 2026-03-04 17:03:16 -05:00
Achintha Isuru
856e7545f6 Implement profile completion checks in shift details flow and update UI accordingly 2026-03-04 16:48:49 -05:00
Achintha Isuru
020b541ed1 Bump staff app version to IlianaStaffM4
Update apps/mobile/apps/staff/pubspec.yaml version from 0.0.1-IlianaStaffM3 to 0.0.1-IlianaStaffM4 to reflect the new staff app build/release.
2026-03-04 14:34:47 -05:00
Achintha Isuru
01f4990e33 Update codemagic.yaml 2026-03-04 14:29:28 -05:00
Achintha Isuru
da3bbb7056 Update Codemagic scripts and add M4 demo guide
Normalize spacing in Codemagic job names (add space after emoji) and remove duplicated android_signing environment variable mappings for staff keystores across dev, staging, and prod workflows in codemagic.yaml. Add docs/MILESTONES/M4/demos/m4-client-note.md with the M4 demo guide (deliverables, test accounts, core improvements, and key deliverables).
2026-03-04 14:27:20 -05:00
Achintha Isuru
a56d8e5fd6 Update pubspec.yaml 2026-03-04 14:10:25 -05:00
Achintha Isuru
7442030e46 Update codemagic.yaml 2026-03-04 13:58:57 -05:00
Achintha Isuru
e386c34b86 Use shared CI keystore env vars; remove backup
Standardize CI signing config and clean up Android build files:

- Replace app-specific CodeMagic keystore env vars (CM_KEYSTORE_PATH_CLIENT/STAFF, CM_KEYSTORE_PASSWORD_CLIENT/STAFF, CM_KEY_ALIAS_CLIENT/STAFF, CM_KEY_PASSWORD_CLIENT/STAFF) with shared variables (CM_KEYSTORE_PATH, CM_KEYSTORE_PASSWORD, CM_KEY_ALIAS, CM_KEY_PASSWORD) in client and staff build.gradle.kts to unify CI configuration.
- Remove stray TODO comment about applicationId in both build files (cleanup).
- Adjust manifestPlaceholders placement in the client build file.
- Delete a backup google-services.json_back from the staff app to remove an unnecessary/sensitive artifact.
2026-03-04 13:58:21 -05:00
Achintha Isuru
38007d32bc refactor: Enhance StaffPayment model and PaymentHistoryItem widget with shift details 2026-03-04 13:37:42 -05:00
Achintha Isuru
256f9fd678 refactor: Remove unused code and improve PaymentHistoryItem widget styling 2026-03-04 13:27:14 -05: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
2a11dbc120 docs: Update comment for getDefaultLocale method to clarify locale handling 2026-03-04 12:14:07 -05:00
Achintha Isuru
d5e796ea81 refactor: Simplify getDefaultLocale method by removing device locale check 2026-03-04 12:13:09 -05:00
Achintha Isuru
138cb9a82e refactor: Update navigation configuration and improve order dialog hub handling 2026-03-04 12:09:08 -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
faae6c07d5 Merge pull request #564 from Oloodi/493-implement-rapid-order-creation-voice-text-in-client-mobile-app
Improved Benefit screen and improved UX of worker and client homepages
2026-03-03 23:41:39 -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
2d20254ce3 fix: Remove unnecessary whitespace in TomorrowsShiftsSection widget 2026-03-03 21:37:11 -05:00
Achintha Isuru
630b90ee38 feat: Implement show/hide functionality for bottom navigation bar based on route changes 2026-03-03 21:35:59 -05:00
Achintha Isuru
6d9cb64487 refactor: Move constructor to the top of the Benefit class for improved readability 2026-03-03 21:26:48 -05:00
Achintha Isuru
65ac22953e fix: Update default stroke width in CircularProgressPainter for consistency 2026-03-03 21:26:08 -05:00
Achintha Isuru
ca60e03c1e feat: Refactor benefit card components for improved styling and performance 2026-03-03 21:25:21 -05:00
Achintha Isuru
85936e9b94 feat: Refactor home cubit and add benefits overview functionality
- Updated import paths for home_cubit.dart to reflect new structure.
- Introduced BenefitsOverviewCubit to manage benefits overview page state.
- Created BenefitsOverviewState to handle loading, loaded, and error states for benefits.
- Implemented HomeCubit to manage home page state, including shifts and benefits.
- Added new widgets for benefits overview: BenefitCard, BenefitCardHeader, AccordionHistory, ComplianceBanner, StatChip, and BenefitsOverviewBody.
- Implemented custom painter for circular progress indicators.
- Enhanced UI components for displaying benefits and their statuses.
2026-03-03 21:15:04 -05:00
Achintha Isuru
4474a732c2 feat: Enhance benefits section and layout for improved user experience 2026-03-03 20:47:15 -05:00
Achintha Isuru
a7d66a1efe feat: Implement rapid order creation via voice and text in mobile app
- Added benefits section with state management
- Refactored home page to include new sections for quick actions, today's shifts, and tomorrow's shifts
- Introduced full-width divider for better layout
- Created reusable section layout widget for consistent UI
- Implemented circular progress indicator for benefits
- Removed deprecated benefits widget and replaced with new structure
- Updated data connection configuration for validation environment
2026-03-03 20:28:12 -05:00
Achintha Isuru
017c0d4823 chore: Remove redundant line from use case completion audit document 2026-03-03 16:56:27 -05:00
Achintha Isuru
c13faea3d9 Merge pull request #562 from Oloodi/493-implement-rapid-order-creation-voice-text-in-client-mobile-app
Session clearance issue fixed
2026-03-03 00:06:08 -05:00
Achintha Isuru
14c223540e Update 04-use-case-completion-audit.md 2026-03-02 23:42:45 -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
a13cadefc8 feat: Implement attire options, documents, and certificates completion use cases in staff profile 2026-03-02 12:32:39 -05:00
Achintha Isuru
78e99ac470 feat: Remove tax forms from staff profile completion queries and related checks 2026-03-02 12:12:08 -05:00
Achintha Isuru
2ea5a25858 feat: Update styling for legal and privacy section widgets with improved background color and border properties 2026-03-02 12:09:51 -05:00