- Add FrontendURL to config (FRONTEND_URL or VITE_FRONTEND_URL) - OAuth handlers use config instead of os.Getenv - Update TODOS_AUDIT: mark UUID migration items as resolved - Add ISSUES_P2_BACKLOG.md for GitHub issues - Add ROUTES_ORPHANES.md for routes without UI - Document FRONTEND_URL in .env.example
43 lines
1.9 KiB
Markdown
43 lines
1.9 KiB
Markdown
# P2 Issues Backlog — GitHub Issues à créer
|
|
|
|
**Date** : 2026-02-17
|
|
**Source** : [TODOS_AUDIT.md](./TODOS_AUDIT.md)
|
|
|
|
Ce document liste les items P2 identifiés dans l'audit des TODOs. Créer des issues GitHub pour les traiter par sprint.
|
|
|
|
## Items P2 à prioriser
|
|
|
|
| Priorité | Fichier | Description | Catégorie |
|
|
|----------|---------|-------------|-----------|
|
|
| 1 | `internal/core/track/service.go` | Enqueue job pour traitement asynchrone (metadata, waveform) selon ORIGIN_ASYNC_PROCESSING | Performance |
|
|
| 2 | `internal/handlers/oauth_handlers.go` | ~~Get from config (frontendURL)~~ — Résolu 2026-02 | - |
|
|
| 3 | `internal/database/database.go` | Implémenter OAuth user lookup | Feature |
|
|
| 4 | `internal/database/database.go` | Implémenter avec vraie DB (3 occurrences) | Implementation |
|
|
| 5 | `internal/handlers/session.go` | Déterminer si c'est la session actuelle | Feature |
|
|
| 6 | `internal/logging/logger.go` | Implémenter avec AtomicLevel lors de la création du logger | Enhancement |
|
|
| 7 | `internal/services/job_service.go` | Intégrer asynq ou autre système de queue (3 occurrences) | Architecture |
|
|
| 8 | `internal/api/user/service.go` | Parse JSON strings to structs / Serialize structs to JSON | Implementation |
|
|
| 9 | `internal/api/admin/service.go` | Implement based on doc_admin_handler.md (3 occurrences) | Feature |
|
|
| 10 | `internal/config/config.go` | Améliorer la configuration CORS pour utiliser c.CORSOrigins depuis la config | Code quality |
|
|
|
|
## Template issue GitHub
|
|
|
|
```markdown
|
|
**Fichier** : `internal/...`
|
|
**Priorité** : P2
|
|
**Catégorie** : [Performance|Feature|Implementation|Architecture|Code quality]
|
|
|
|
## Description
|
|
[Description du TODO]
|
|
|
|
## Contexte
|
|
Voir TODOS_AUDIT.md
|
|
|
|
## Critères d'acceptation
|
|
- [ ] ...
|
|
```
|
|
|
|
## Références
|
|
|
|
- [TODOS_AUDIT.md](./TODOS_AUDIT.md) — Audit complet
|
|
- [103_RAPPORT_ETAT_FEATURES_2026_02_16.md](../../103_RAPPORT_ETAT_FEATURES_2026_02_16.md) — État des features
|