Commit Graph

309 Commits

Author SHA1 Message Date
José Salazar
0ce416c81b diagrams 2026-01-13 09:36:31 -05:00
Achintha Isuru
ef31dbe414 docs: update the route of the mobile apps 2026-01-12 21:01:31 -05:00
Achintha Isuru
ade07eea72 chore: update links to name to be worker 2026-01-12 17:31:31 -05:00
Achintha Isuru
7d61997373 doc: doc 05 updated with some changes 2026-01-12 17:26:43 -05:00
bwnyasse
8916a4ac49 feat: add feature roadmap and tickets documentation
feat: add detailed feature roadmap and tickets documentation
feat: add roadmap overview diagram
feat: add roadmap p0 mvp diagram
feat: add roadmap p0 complete workflow diagram
feat: update diagrams config to include new roadmap diagrams
feat: add support for syncing source code for ai context
chore: update allowed hashes
feat: add jose.salazar@oloodi.com to iap-users.txt
feat: add fazulilahi@gmail.com to iap-users.txt
feat: add zouantchaw74@gmail.com to iap-users.txt
2026-01-12 11:44:26 -05:00
bwnyasse
5cc4e0fc0a docs: add project onboarding master document
This commit introduces a comprehensive document outlining the
KROW Workforce Platform project, covering vision, architecture,
domain logic, feature gap analysis, and development strategy.

The document serves as a central source of truth for team
onboarding and sprint planning, ensuring alignment and
consistency across the project. It details the migration from
a legacy system to a new GCP-based architecture using Firebase
Data Connect, Cloud Functions, and Cloud SQL.

Key aspects covered include:

- Project vision and business value proposition
- System architecture and technology stack comparison
- Core domain logic and entity definitions
- Feature gap analysis between legacy and prototype apps
- Data Connect schema evolution and development strategy
- Definition of Done (DoD) for features and sprints

The document also includes appendices with entity relationship
summaries, status enum references, and key file locations.
2026-01-11 10:57:33 -05:00
Oloodi Admin
7ced6e6fed Merge pull request #195 from Oloodi/cleanup_for_sprint3
chore: remove vite and vscode configuration files
2026-01-10 23:52:58 -05:00
bwnyasse
09ff2bfafb chore: remove vite and vscode configuration files
The files are not needed in the backend repository.
2026-01-10 23:52:30 -05:00
Oloodi Admin
daafec80b9 Merge pull request #194 from Oloodi/cleanup_for_sprint3
Cleanup for sprint3
2026-01-10 23:50:30 -05:00
bwnyasse
ea6765af96 feat(docs): update contributing guide with required tools and IDE setup
feat(internal/launchpad): add iframe viewer for prototypes and update links loader

This commit introduces an iframe viewer in the launchpad to display prototypes directly within the application. It also updates the links loader to handle prototype links differently, opening them in the iframe instead of a new tab.

The contributing guide has been updated to include a list of required development tools and recommended IDE setup, ensuring that contributors have the necessary tools to work on the project.
2026-01-10 23:48:45 -05:00
bwnyasse
5dca852aab feat(scripts): sync mobile prototypes using Flutter
feat(scripts): add mobile client and staff prototype sync
feat(scripts): use FLUTTER_CMD variable for flutter commands
feat(scripts): add FVM support and error handling
feat(scripts): patch vite config for relative paths
chore(scripts): remove .keep files from mobile prototypes
2026-01-10 23:39:06 -05:00
bwnyasse
984da528fb feat: add prototype syncing for local dev and AI context
This commit introduces a new feature to synchronize prototypes
from an external repository for local development and to provide
context for AI tools.

- Added `make sync-prototypes` target to Makefile to build and
 copy prototypes from the adjacent 'client-krow-poc' repository.
- Added `.geminiignore` entries to prevent Gemini from ignoring
 prototypes, ensuring they are available for context.
- Added `.gitignore` entries to ignore generated prototype files,
 except for the `.keep` files, to keep the directories.
- Added `04-sync-prototypes.md` documentation to explain how to
 sync prototypes.
- Removed empty `internal/prototypes/.keep` file.
2026-01-10 23:04:56 -05:00
bwnyasse
969bc13939 feat: add documentation for synchronizing prototypes and script to automate the process
This commit introduces a new document explaining how to synchronize visual prototypes and POCs into the monorepo.
It also adds a script to automate the process of building and copying the prototype files into the `internal/launchpad/prototypes/web/` directory.
The documentation explains the benefits of synchronizing prototypes, the prerequisites, and the steps to synchronize them.
The script automates the process of installing dependencies, building the web application, and copying the resulting `dist/` folder into the `internal/launchpad/prototypes/web/` directory.
This allows developers to easily synchronize prototypes and make them available for local preview and deployment.
2026-01-10 23:04:36 -05:00
bwnyasse
97615b8d00 feat: remove launchpad prototypes
The prototypes are not needed anymore.
They were only used for initial development.
2026-01-10 23:04:22 -05:00
bwnyasse
3c0488576b refactor: restructure monorepo to align with industry standards
This commit restructures the monorepo to improve organization,
maintainability, and scalability. The changes include:

- Moving mobile apps from `mobile-apps/` to `apps/mobile-*`.
- Moving the web dashboard from `admin-web/` and `frontend-web/`
 to `apps/web-dashboard/`.
- Moving Firebase-related files to the root `firebase/` directory.
- Adding a `.geminiignore` file to exclude unnecessary files from
 Gemini analysis.
- Updating `.gitignore` to reflect the new structure and exclude
 sensitive files.
- Updating `codemagic.yaml` to reflect the new app locations.
- Adding a `make help` command to the root directory.
- Adding a `make install-git-hooks` command to install git hooks.
- Adding a `docs/02-codemagic-env-vars.md` file to document
 Codemagic environment variables.
- Adding a `docs/03-contributing.md` file to document
 contribution guidelines.
- Adding prototype placeholders to the internal launchpad.
- Updating the `README.md` file to reflect the new structure and
 provide updated instructions.

These changes improve the overall structure of the monorepo and
make it easier to develop, maintain, and scale the KROW Workforce
platform.
2026-01-10 22:36:29 -05:00
bwnyasse
a0d820d3ce feat: add backend api specification document
This commit introduces a new document, `docs/01-backend-api-specification.md`, which outlines the backend API specification for the KROW Workforce platform. This document serves as a reference for the development of the backend using Firebase Data Connect and Cloud Functions, replacing the Base44 backend. It includes details on authentication, data API, services API, security, migration notes, and implementation priority.
feat: remove obsolete documentation files

This commit removes several obsolete documentation files that are no longer relevant to the project. The removed files include:

- `docs/01-product-functional-roadmap.md`: This file contained the product roadmap, which is now outdated.
- `docs/02-architecture-overview.md`: This file provided an overview of the architecture, which has been superseded by more recent documentation.
- `docs/03-backend-api-specification.md`: This file contained the backend API specification, which has been replaced by `docs/01-backend-api-specification.md`.
- `docs/04-strategy-technical-roadmap.md`: This file outlined the technical roadmap, which is now outdated.
- `docs/05-project-plan.md`: This file contained the project plan, which is no longer current.
- `docs/06-maintenance-guide.md`: This file provided a maintenance guide, which is no longer applicable.
- `docs/07-reference-base44-api-export-v3.md`: This file contained a reference to the Base44 API export, which is no longer needed.

chore: remove obsolete documentation files

This commit removes several documentation files that are no longer
relevant or have been superseded by other documentation. Removing
these files helps to keep the repository clean and organized.

The following files were removed:

- `docs/07-reference-base44-api-export.md`
- `docs/08-reference-base44-prompts.md`
- `docs/09-sred-tracking.md`
- `docs/10-development-conventions.md`
- `docs/flows/vendor-flow.md`
- `docs/issues/template.md`
- `docs/prompts/create-codemagic-monorepo.md`
- `docs/prompts/create-full-architecture-diagram-flutter.md`
- `docs/prompts/create-mermaid-be-diagrams-flutter.md`
- `docs/prompts/create-mermaid-overview-flutter.md`
- `docs/prompts/create-mermaid-usecase-flutter.md`
2026-01-10 21:36:01 -05:00
bwnyasse
d43a14ee0c clean 2026-01-10 21:22:35 -05:00
bwnyasse
90455d9181 chore: remove unused issue templates and reference documentation
The issue templates for Base44 backend validation, frontend
update, and SR&ED tasks, as well as the Base44 entity schemas
reference document, are no longer needed and have been removed
to reduce clutter and improve maintainability. These files were
specific to a previous architecture and are not relevant to the
current project.
2026-01-10 21:01:58 -05:00
bwnyasse
b8d156b35a feat(Makefile): restructure Makefile into modular files for better organization and maintainability
feat(Makefile): introduce common.mk for shared variables and environment configuration
feat(Makefile): create web.mk for web frontend-related tasks
feat(Makefile): create launchpad.mk for internal launchpad deployment tasks
feat(Makefile): create mobile.mk for mobile app development tasks
feat(Makefile): create dataconnect.mk for Data Connect management tasks
feat(Makefile): create tools.mk for development tools like git hooks
feat(Makefile): remove admin-web specific tasks and files as the admin console is no longer actively maintained
feat(Makefile): update help command to reflect the new modular structure and available commands
feat(Makefile): remove base44 export workflow as it is no longer relevant
feat(Makefile): remove IAP configuration as it is no longer used
feat(Makefile): remove harness-related tasks as they are no longer relevant

The Makefile has been significantly refactored to improve organization and maintainability. The changes include:

- Modularization: The monolithic Makefile has been split into smaller, more manageable files, each responsible for a specific area of the project (web, launchpad, mobile, dataconnect, tools).
- Common Configuration: Shared variables and environment configuration are now centralized in common.mk.
- Removal of Unused Tasks: Tasks related to the admin console, base44 export workflow, IAP configuration, and API test harness have been removed as they are no longer relevant.
- Updated Help Command: The help command has been updated to reflect the new modular structure and available commands.
- Improved Readability: The modular structure makes the Makefile easier to read and understand.
- Maintainability: The modular structure makes it easier to maintain and update the Makefile.
- Scalability: The modular structure makes it easier to add new tasks and features to the Makefile.
2026-01-10 20:59:18 -05:00
bwnyasse
d0a536ffa4 chore: remove obsolete documentation files
These files contained outdated analysis and planning
related to the mobile app and data modeling. They are
no longer relevant to the current state of the project
and were removed to reduce clutter and confusion.

docs: remove outdated mock data analysis document

The file `validation_staff_mock_dataconecct_last_update.md`
contained an outdated analysis of mock data structures
compared to the Data Connect schema. This information is
no longer relevant and the file has been removed to
maintain a clean and up-to-date repository.
docs: remove outdated mock data analysis document v2

The file `validation_staff_mock_dataconecct_v2.md`
contained an outdated analysis of mock data structures
compared to the Data Connect schema. This information is
no longer relevant and the file has been removed to
maintain a clean and up-to-date repository.
2026-01-10 12:20:22 -05:00
bwnyasse
01158b8a89 Clean old base44 project reference architecture 2026-01-10 12:17:00 -05:00
bwnyasse
d2e84addb1 Remove legacy Mobile apps folders 2026-01-10 12:00:39 -05:00
Oloodi Admin
3c8c09dfda Merge pull request #193 from Oloodi/prep-sprint-3
Prep sprint 3
2026-01-10 11:49:54 -05:00
bwnyasse
a5a4eae255 feat(launchpad): implement secure email hashing for access control
This commit introduces a more secure method for verifying user
access to the internal launchpad by hashing email addresses.

- Replaces the plain-text email list with SHA-256 hashes.
- Adds a script to generate these hashes from `iap-users.txt`.
- Updates the launchpad HTML to hash the input email and compare
 it against the `allowed-hashes.json` file.
- Updates Makefile to generate hashes before deploy and serve.
- Adds .keep file for krow_client folder.
2026-01-10 11:48:54 -05:00
bwnyasse
ba938be7ad feat(Makefile): replace Cloud Run deployment with Firebase Hosting for launchpad
feat(firebase.json): remove site property from api-harness hosting config
feat(firebase): migrate launchpad to firebase hosting with auth

This commit migrates the internal launchpad from Cloud Run with IAP
to Firebase Hosting with Firebase Authentication. This change
simplifies the deployment process and leverages Firebase's authentication
capabilities for user access control.

The following changes were made:

- Updated the Makefile to remove Cloud Run deployment tasks and add
 Firebase Hosting deployment tasks.
- Removed the Dockerfile and .gcloudignore files, as they are no longer
 needed for Firebase Hosting.
- Updated the firebase.json file to configure Firebase Hosting for the
 launchpad.
- Modified the launchpad's index.html to include Firebase Authentication
 logic.
- Updated the iap-users.txt file to be used as a whitelist for Firebase
 Authentication.
- Added a launchpad-dev target to run the launchpad locally using the
 Firebase Hosting emulator.
- Removed the configure-iap-launchpad target, as IAP is no longer used.
- Removed the site property from the api-harness hosting configuration
 in firebase.json, as it is not needed.

The migration to Firebase Hosting provides the following benefits:

- Simplified deployment process.
- Firebase Authentication for user access control.
- Improved scalability and reliability.
- Reduced operational overhead.
2026-01-10 11:18:48 -05:00
José Salazar
4dd9e1949f Merge pull request #191 from Oloodi/190-back-update-user-entity-in-data-connect-to-match-staff_app_mvp
190 back update user entity in data connect to match staff app mvp
2025-12-26 15:21:16 -05:00
José Salazar
9acd01237e adding new filed to user 2025-12-26 15:18:56 -05:00
José Salazar
5136b1d6b5 other modifications days ago 2025-12-26 15:14:51 -05:00
José Salazar
ec496fa1ba Merge pull request #189 from Oloodi/187-category-short-description-of-the-task
187 category short description of the task
2025-12-18 19:21:11 -05:00
José Salazar
671003932c just enums 2025-12-18 19:12:11 -05:00
José Salazar
7d3185708c adding instrucction for web free? 2025-12-18 19:11:38 -05:00
José Salazar
6101a56a60 modification schema of event 2025-12-18 19:10:35 -05:00
José Salazar
b1dd5629c4 Merge pull request #186 from Oloodi/183-web-enable-order-visualization-via-event-entity-vendororders
183 web enable order visualization via event entity vendororders
2025-12-18 10:07:54 -05:00
José Salazar
01180bc757 just chaging enum values to work with the backend 2025-12-18 09:50:54 -05:00
José Salazar
cb29f73685 value modications from front 2025-12-18 09:50:23 -05:00
José Salazar
b9fa4d5a90 Merge branch 'dev' into 183-web-enable-order-visualization-via-event-entity-vendororders 2025-12-17 12:05:29 -05:00
José Salazar
75b3466f87 Merge pull request #185 from Oloodi/184-backend-update-staff-entity-schema
adding missing schema for event
2025-12-17 12:03:28 -05:00
José Salazar
d98b816cc7 adding missing schema for event 2025-12-17 11:58:19 -05:00
José Salazar
7ccb87b52c no changes 2025-12-17 09:09:59 -05:00
José Salazar
28368ac729 modification adding limit and where to event 2025-12-17 09:09:22 -05:00
José Salazar
30110cd241 modification for list 2025-12-17 09:08:46 -05:00
José Salazar
7bbc248ce1 Merge pull request #182 from Oloodi/175-web-vendor-role-end-to-end-flow-integration
175 web vendor role end to end flow integration
2025-12-16 09:35:44 -05:00
José Salazar
ea3fe79c8e modification just for test staff crud 2025-12-15 17:26:22 -05:00
José Salazar
e7546715b2 updating important things for the functionality of the front 2025-12-15 17:22:06 -05:00
José Salazar
6399b5f25a chaging vendor_id to string 2025-12-15 17:21:11 -05:00
José Salazar
c8cd750b4f modifiying staff schema for front 2025-12-15 14:32:54 -05:00
José Salazar
af10193ecc creation snake_case to camelCase convertor for create and update 2025-12-14 19:02:35 -05:00
José Salazar
f15b946f4b Merge pull request #180 from Oloodi/175-web-vendor-role-end-to-end-flow-integration
175 web vendor role end to end flow integration
2025-12-12 12:55:26 -05:00
José Salazar
f260d9183a Merge pull request #177 from Oloodi/176-category-short-description-of-the-task
new flow for vendor on web
2025-12-12 10:10:28 -05:00
José Salazar
56918f4374 new flow for vendor on web 2025-12-12 10:06:51 -05:00