Commit Graph

48 Commits

Author SHA1 Message Date
Urtzi Alfaro
980bbd4b61 Improve the landing page 2025-11-07 12:00:01 +01:00
Claude
163d4ba60d Fix multiple onboarding and navigation issues
**1. Remove duplicate navigation buttons in SetupWizard**
- Removed external navigation footer from SetupWizard (lines 370-383)
- All setup wizard steps now have only internal navigation buttons
- Prevents confusion with double Continue buttons in onboarding

**2. Fix quality template API call failure**
- Fixed userId validation in QualitySetupStep:17
- Changed from defaulting to empty string to undefined
- Added validation check before API call to prevent UUID errors
- Disabled submit button when userId not available
- Added error message display for missing user

Related: frontend/src/components/domain/setup-wizard/steps/QualitySetupStep.tsx:17,51-54,376

**3. Delete regular tours implementation (keep demo tour)**
Removed custom tours system while preserving demo tour functionality:
- Deleted TourContext.tsx and TourProvider
- Deleted Tour UI components folder
- Deleted tours/tours.ts definitions
- Deleted tour.json translations
- Removed TourProvider from App.tsx
- Removed TourButton from Sidebar

Demo tour (useDemoTour, driver.js) remains intact and functional.

Files deleted:
- frontend/src/contexts/TourContext.tsx
- frontend/src/components/ui/Tour/* (all files)
- frontend/src/tours/tours.ts
- frontend/src/locales/es/tour.json

**4. Issues verified/confirmed:**
- Quality type select UI already working (callback setState pattern)
- Inventory lots UI confirmed present in InventorySetupStep:683,788,833
- Lots UI visible after adding ingredients in onboarding flow

**Build Status:** ✓ All changes verified, build successful in 21.95s
2025-11-06 21:26:09 +00:00
Claude
63d100f1b3 Integrate categorization & stock steps with Tour system
- Updated WizardContext with new state management:
  - Added categorizedProducts and productsWithStock state
  - Added categorizationCompleted and stockEntryCompleted flags
  - Implemented updateCategorizedProducts() and updateProductsWithStock() methods
  - Updated getVisibleSteps() to include new steps in AI-assisted path

- Integrated ProductCategorizationStep and InitialStockEntryStep into UnifiedOnboardingWizard:
  - Added conditional rendering based on AI analysis completion
  - Wired up state management for both steps
  - Added intermediate update handlers

- Integrated Tour system at app level:
  - Added TourProvider to App.tsx context hierarchy
  - Added Tour component for rendering active tours
  - Added TourButton to Sidebar navigation
  - Tour button visible when sidebar is expanded

This completes the Phase 6.5 integration and sets up the guided tour infrastructure.
2025-11-06 13:07:01 +00:00
Urtzi Alfaro
394ad3aea4 Improve AI logic 2025-11-05 13:34:56 +01:00
Urtzi Alfaro
269d3b5032 Add user delete process 2025-10-31 11:54:19 +01:00
Urtzi Alfaro
63f5c6d512 Improve the frontend 3 2025-10-30 21:08:07 +01:00
Urtzi Alfaro
36217a2729 Improve the frontend 2 2025-10-29 06:58:05 +01:00
Urtzi Alfaro
858d985c92 Improve the frontend modals 2025-10-27 16:33:26 +01:00
Urtzi Alfaro
61376b7a9f Improve the frontend and fix TODOs 2025-10-24 13:05:04 +02:00
Urtzi Alfaro
07c33fa578 Improve the frontend and repository layer 2025-10-23 07:44:54 +02:00
Urtzi Alfaro
8d30172483 Improve the frontend 2025-10-21 19:50:07 +02:00
Urtzi Alfaro
62971c07d7 Update landing page 2025-10-18 16:03:23 +02:00
Urtzi Alfaro
7e089b80cf Improve public pages 2025-10-17 18:14:28 +02:00
Urtzi Alfaro
7556a00db7 Improve the demo feature of the project 2025-10-12 18:47:33 +02:00
Urtzi Alfaro
7c72f83c51 REFACTOR ALL APIs fix 1 2025-10-07 07:15:07 +02:00
Urtzi Alfaro
dc8221bd2f Add DEMO feature to the project 2025-10-03 14:09:34 +02:00
Urtzi Alfaro
d573c38621 Refactor components and modals 2025-09-26 07:46:25 +02:00
Urtzi Alfaro
f02a980c87 Support multiple languages 2025-09-25 12:14:46 +02:00
Urtzi Alfaro
6d4090f825 Reorganize teh menus 2025-09-24 22:22:01 +02:00
Urtzi Alfaro
dc6c6f213f Fix some UI issues 2 2025-09-24 21:54:49 +02:00
Urtzi Alfaro
e978d04800 Move the serach box to teh sidebar 2025-09-24 19:40:51 +02:00
Urtzi Alfaro
7892c5a739 Add improved production UI 3 2025-09-23 19:24:22 +02:00
Urtzi Alfaro
ee36c45d25 Add i18 support 2025-09-22 11:04:03 +02:00
Urtzi Alfaro
ecfc6a1997 Add frontend pages imporvements 2025-09-21 22:56:55 +02:00
Urtzi Alfaro
f08667150d Add alerts ssytems to the frontend 2025-09-21 17:35:36 +02:00
Urtzi Alfaro
e1b3184413 Add subcription level filtering 2025-09-21 13:27:50 +02:00
Urtzi Alfaro
13ca3e90b4 Improve the production frontend 2025-09-21 07:45:19 +02:00
Urtzi Alfaro
caf6d92850 Imporve the routes and the menu 2025-09-19 12:06:26 +02:00
Urtzi Alfaro
5269a083b6 Imporve the role based forntend protected roles 2025-09-09 07:32:59 +02:00
Urtzi Alfaro
069954981a Start integrating the onboarding flow with backend 6 2025-09-05 17:49:48 +02:00
Urtzi Alfaro
a11fdfba24 Start integrating the onboarding flow with backend 1 2025-09-03 18:29:56 +02:00
Urtzi Alfaro
6346c4bcb9 Improve subcription support 2025-09-01 19:21:12 +02:00
Urtzi Alfaro
bde52d8ca2 Improve frontend 5 2025-08-31 22:14:05 +02:00
Urtzi Alfaro
c494078441 Fix Avatar issue 2025-08-31 15:16:40 +02:00
Urtzi Alfaro
a8b73e22ea Add a ne model and card design across pages 2025-08-31 10:46:13 +02:00
Urtzi Alfaro
ab21149acf Add new page designs 3 2025-08-30 19:32:53 +02:00
Urtzi Alfaro
0b5c6872e3 Add new page designs 2 2025-08-30 19:21:15 +02:00
Urtzi Alfaro
62b1ab9cb1 Add new page designs 2025-08-30 19:11:15 +02:00
Urtzi Alfaro
221781731c Fix frontend 3 2025-08-28 23:40:44 +02:00
Urtzi Alfaro
68bb5a6449 Fix frontend 1 2025-08-28 18:07:16 +02:00
Urtzi Alfaro
9ea6794923 ADD new frontend 2 2025-08-28 17:15:29 +02:00
Urtzi Alfaro
0fd273cfce ADD new frontend 2025-08-28 10:41:04 +02:00
Urtzi Alfaro
afca94dadd Improve the dahboard with the weather info 2025-08-18 13:36:37 +02:00
Urtzi Alfaro
8914786973 New Frontend 2025-08-16 20:13:40 +02:00
Urtzi Alfaro
995a51e285 Fix new services implementation 11 2025-08-16 08:43:35 +02:00
Urtzi Alfaro
f7de9115d1 Fix new services implementation 5 2025-08-15 17:53:59 +02:00
Urtzi Alfaro
62ca49d4b8 Improve the design of the frontend 2025-08-08 19:21:23 +02:00
Urtzi Alfaro
376ce3ee0d Add new Frontend 2025-08-03 19:23:20 +02:00