[FEAT] Full function and deployed version

This commit is contained in:
NADAL Jean-Baptiste
2026-02-19 15:15:58 +01:00
parent e7c4768589
commit cf0db69f2d
24 changed files with 6949 additions and 69 deletions

40
PLAN.md
View File

@@ -493,8 +493,38 @@ services:
- `/legacy/Scores` → fichiers PDF
### Tâches pour déploiement
- [ ] Créer Dockerfile
- [ ] Créer docker-compose.yml
- [ ] Tester en local
- [ ] Configurer CI/CD (GitHub Actions)
- [ ] Déployer sur serveur prod
- [x] Créer Dockerfile
- [x] Créer docker-compose.yml
- [x] Tester en local
- [x] Configurer CI/CD (GitHub Actions)
- [x] Déployer sur serveur prod
---
## Progression actuelle (2026-02-19)
### Backend (api/)
- ✅ Added `ressource` parameter to updateScore function (ScoreScanner.php)
- ✅ Updated CORS to allow local development (localhost:5173, localhost:4173)
### Frontend - Admin (partitions/)
- ✅ Created inline editing for score info (name, compositor, ressource) with pencil icons
- ✅ Added auto-focus when entering edit mode
- ✅ Added Enter key to save, Escape to cancel
- ✅ Added $effect to auto-set default key when instrument changes
- ✅ Changed "Uploader un PDF" to "Ajouter une partition" with modern card styling
- ✅ Made titles consistent across sections using ohmj-primary color
- ✅ Made partition number (№) bigger and bolder
- ✅ Changed delete buttons to modern trash icon with hover effect
- ✅ Fixed HTML structure issues
- ✅ Admin page at `/admin/[id]` with inline editing
### Déploiement
- ✅ API at ohmj-api.c.nadal-fr.com
- ✅ Frontend at partitions.c.nadal-fr.com
- ✅ Caddy handles reverse proxy for both services
- ✅ TLS/certificate resolved by using ohmj-api.c.nadal-fr.com
- ✅ Deploy zip at _builds/deploy_ohmj.zip
### API Documentation
- ✅ README.md updated with ressource parameter