Files
swift_companion/docs/pedagogie/etape-04-vue-profil.md
2026-09-29 14:26:17 +02:00

22 lines
833 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Étape 4 — Vue 2 : profil complet
> **Prérequis :** [étape 3 — recherche](etape-03-vue-recherche.md) (navigation vers vue 2 avec login valide).
## Objectif sujet (partie obligatoire)
| Exigence | Détail |
|----------|--------|
| ≥ 4 infos | login, email, mobile, level, location, wallet, evaluations, … |
| Photo | Image de profil (`image_url` / `image.link` selon API) |
| Skills | Niveau + pourcentage |
| Projets | Terminés **y compris failed** |
| Retour | Bouton retour vers vue 1 |
| Layout | Responsive (étape 5 peut affiner) |
## API
- `GET /v2/users/{id}` avec champs / includes selon apidoc (`cursus_users`, `projects_users`, `skills`, etc.).
- Token : toujours via `IntraAuthService`.
Guide détaillé à rédiger quand l’étape 3 est codée — demande l’implémentation pas à pas dans le chat.