Commit Graph

3 Commits

Author SHA1 Message Date
dahoud
5383df6dcb refactoring 2026-03-31 09:14:47 +00:00
dahoud
2639850861 feat(mobile): implémentation feedback + correction URLs inscriptions
Connecte le frontend mobile aux nouveaux endpoints backend événements.

## Repository Interface (evenement_repository.dart)
-  Ajout submitFeedback(evenementId, note, commentaire)
-  Ajout getFeedbacks(evenementId) → retourne feedbacks + stats

## Repository Impl (evenement_repository_impl.dart)
-  Correction inscrireEvenement : /inscrire → /inscriptions (POST)
-  Correction desinscrireEvenement : /desinscrire → /inscriptions (DELETE)
-  Implémentation submitFeedback : POST /api/evenements/{id}/feedback
-  Implémentation getFeedbacks : GET /api/evenements/{id}/feedbacks
- Gestion erreurs 400 (déjà soumis, pas participant, etc.)

## Use Case (submit_event_feedback.dart)
-  Remplacement UnimplementedError par appel repository
-  Validation note 1-5
-  Transmission note + commentaire optionnel

## Fonctionnalités débloquées
- Inscription/désinscription événements  (URLs corrigées)
- Soumission feedback post-événement 
- Consultation feedbacks + note moyenne 

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-16 20:15:35 +00:00
dahoud
d094d6db9c Initial commit: unionflow-mobile-apps
Application Flutter complète (sans build artifacts).

Signed-off-by: lions dev Team
2026-03-15 16:30:08 +00:00