4 Commits

Author SHA1 Message Date
7b8d2b1abb Add transporters to sites and services to module components
**Motivations :**
* Allow associating transporters to waste sites and treatment sites
* Allow associating services to module components
* Improve data relationships for better project management

**Evolutions :**
* Added SiteTransporterAssociation interface for site-transporter relationships
* Added ModuleComponentServiceAssociation interface for component-service relationships
* Added transporters field to TreatmentSite and WasteSite interfaces
* Added services field to ModuleComponent interface
* Updated WasteSitesPage and TreatmentSitesPage to manage transporters with primary flag and notes
* Updated ModuleComponentsConfigurationPage to manage services with notes
* Added CSS styles for transporter and service association sections
* Added transporters and services columns in respective tables

**Pages affectées :**
* src/pages/projects/WasteSitesPage.tsx
* src/pages/projects/TreatmentSitesPage.tsx
* src/pages/configuration/ModuleComponentsConfigurationPage.tsx
2025-12-10 08:04:23 +01:00
0236c927e7 Fix regulators page: add missing Select import and improve error handling 2025-12-10 07:54:06 +01:00
3b8d130cbd Add ecosystems configuration, fix regulators page, complete module components seeds 2025-12-10 07:41:49 +01:00
c7db6590f0 Initial commit: 4NK Waste & Water Simulator
**Motivations :**
* Create a complete simulator for 4NK Waste & Water modular waste treatment infrastructure
* Implement frontend-only application with client-side data persistence
* Provide seed data for wastes and natural regulators from specifications

**Root causes :**
* Need for a simulation tool to configure and manage waste treatment projects
* Requirement for localhost-only access with persistent client-side storage
* Need for initial seed data to bootstrap the application

**Correctifs :**
* Implemented authentication system with AuthContext
* Fixed login/logout functionality with proper state management
* Created placeholder pages for all routes

**Evolutions :**
* Complete application structure with React, TypeScript, and Vite
* Seed data for 9 waste types and 52 natural regulators
* Settings page with import/export and seed data loading functionality
* Configuration pages for wastes and regulators with CRUD operations
* Project management pages structure
* Business plan and yields pages placeholders
* Comprehensive UI/UX design system (dark mode only)
* Navigation system with sidebar and header

**Page affectées :**
* All pages: Login, Dashboard, Waste Configuration, Regulators Configuration, Services Configuration
* Project pages: Project List, Project Configuration, Treatment Sites, Waste Sites, Investors, Administrative Procedures
* Analysis pages: Yields, Business Plan
* Utility pages: Settings, Help
* Components: Layout, Sidebar, Header, base components (Button, Input, Select, Card, Badge, Table)
* Utils: Storage, seed data, formatters, validators, constants
* Types: Complete TypeScript definitions for all entities
2025-12-09 19:09:42 +01:00