8 Commits

Author SHA1 Message Date
6600308d61 feat(api): alignement back/front + support functionalType/mimeType + modes simple/complete (VITE_BACKEND_MODE) 2025-09-11 12:28:31 +02:00
152dbc3ed1 chore(release): 0.1.1\n\n- Lint Markdown: ignore guides/rapports, correction sample.md\n- ESLint: ignore coverage, fix no-unused-vars/no-explicit-any\n- TS: corrections FilePreview/api/views, build OK\n- Tests: Vitest OK 2025-09-11 11:50:02 +02:00
root
2a8123bc35 fix: Suppression du bouton Analyser et corrections des erreurs JavaScript
- Suppression du bouton 'Analyser' à côté de l'aperçu
- Correction des erreurs JavaScript dans ExtractionView
- Amélioration de la gestion des erreurs dans l'API
- Alignement avec les endpoints du backend
2025-09-10 23:59:48 +02:00
root
6ae698de76 feat: Implémentation de l'aperçu PDF fonctionnel
- Ajout du composant FilePreview avec iframe et viewer PDF intégré
- Correction du mapping des données API (document_id -> id)
- Ajout de previewUrl avec URL.createObjectURL pour l'aperçu
- Interface modale avec navigation et zoom
- Support des fichiers PDF avec affichage réel du contenu
- Correction de l'affichage de la taille des fichiers
- Ajout des dépendances react-pdf-js pour l'aperçu PDF
- Scripts de démarrage et fichiers de test
- Documentation complète de la fonctionnalité d'aperçu
2025-09-10 23:25:55 +02:00
7e46e1d992 fix: resolve HTML hydration error and improve error handling
- Fix HTML structure error: remove nested div inside p element in UploadView
- Restructure ListItemText secondary content to use valid HTML
- Add warning log for upload failures with demo data fallback
- Improve error handling for ERR_CONNECTION_REFUSED
- Ensure proper HTML semantics and prevent hydration errors
2025-09-10 18:36:57 +02:00
bb133d5448 feat: apply white background theme and improve UI styling
- Add Material-UI theme with white background configuration
- Update CSS with white background and light color scheme
- Integrate ThemeProvider and CssBaseline for consistent styling
- Remove dark theme elements and apply clean white design
- Improve typography and color contrast for better readability
2025-09-10 17:55:39 +02:00
0bb4ea6678 feat: complete UI implementation with Material-UI and full functionality
- Add complete TypeScript types for all document entities
- Implement Redux store with document slice and async thunks
- Create comprehensive API services layer with external integrations
- Build complete UI views with Material-UI components:
  * UploadView: drag&drop with file preview and status
  * ExtractionView: structured data display (identities, addresses, properties, contracts)
  * AnalyseView: CNI verification, credibility scoring, recommendations
  * ContexteView: external data sources (Cadastre, Géorisques, BODACC, etc.)
  * ConseilView: LLM analysis with risks and next steps
- Add Layout component with navigation tabs
- Configure environment variables for backend integration
- Fix all TypeScript compilation errors
- Replace Grid with Box for better compatibility
- Add comprehensive error handling and loading states
2025-09-10 17:50:42 +02:00
c2eba34f57 feat: add Redux store, React Router, code splitting, views skeleton, API services
- Redux Toolkit store with app slice
- React Router with lazy loading (Upload, Extraction, Analyse, Contexte, Conseil)
- API services layer with axios client
- View components skeleton for all main features
- Code splitting with React.lazy and Suspense
2025-09-10 17:37:17 +02:00