solventum-image-metadata/frontend/package.json
SamoilenkoVadym 06371e3c09 feat(frontend): complete React feature parity with Flask v3.1
Import & Excel Mapping:
- Add ImportMappingModal with column mapping and preview
- Integrate modal into FileUploadZone
- Add Excel lookup metadata source with file upload
- Create excelService for API calls
- Show success indicators after configuration

Registration & Auth:
- Create RegisterPage with form validation
- Add /register route in App.tsx
- Add registration link in LoginPage
- Password strength validation (min 8 chars)

AI Generation:
- Integrate MetadataAnalyzer in backend files upload
- Add AI generation case in metadata_service
- Error handling for missing OPENAI_API_KEY
- Test script for AI integration

Stats & UI Polish:
- Add storage stats cards to Dashboard (files, storage, users)
- Fix vite.svg 404 by replacing with emoji favicon
- Enhanced loading states with spinner
- Improved drag-drop visual feedback
- Fix TypeScript errors with vite-env.d.ts

All features now match Flask v3.1 functionality:
 Import from CSV/Excel/JSON with column mapping
 Excel lookup table
 AI metadata generation
 Template system
 User registration
 Statistics dashboard
 All builds successfully, TypeScript clean

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-02-09 18:35:36 +00:00

31 lines
748 B
JSON

{
"name": "oliver-metadata-frontend",
"version": "4.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@azure/msal-browser": "^3.30.0",
"@azure/msal-react": "^2.2.0",
"axios": "^1.6.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^6.21.0",
"zustand": "^4.4.7"
},
"devDependencies": {
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3",
"vite": "^5.0.11"
}
}