Commit Graph

30 Commits

Author SHA1 Message Date
Urtzi Alfaro
667e6e0404 New alert service 2025-12-05 20:07:01 +01:00
Urtzi Alfaro
972db02f6d New enterprise feature 2025-11-30 09:12:40 +01:00
Urtzi Alfaro
e902419b6e New alert system and panel de control page 2025-11-27 15:52:40 +01:00
Urtzi Alfaro
5783c7ed05 Add POI feature and imporve the overall backend implementation 2025-11-12 15:34:10 +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
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
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
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
e1b3184413 Add subcription level filtering 2025-09-21 13:27:50 +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
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
a8b73e22ea Add a ne model and card design across pages 2025-08-31 10:46:13 +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
0fd273cfce ADD new frontend 2025-08-28 10:41:04 +02:00