feat(aep): carte AEP — push Gitea 2026-04-28
This commit is contained in:
60
Archive Prompts/dev-aep-S8-scroll-hamburger.md
Normal file
60
Archive Prompts/dev-aep-S8-scroll-hamburger.md
Normal file
@@ -0,0 +1,60 @@
|
||||
# Prompt AEP — S8 : Fix scroll fiches + hamburger desktop
|
||||
|
||||
**Projet :** `1 PROJETS/TECH - infra VPS, website pro, RAG/nav-carte/`
|
||||
**Site live :** `aep.trans-former.fr`
|
||||
**Invocation :** `/atis-dev AEP`
|
||||
|
||||
---
|
||||
|
||||
## État d'avancement (fin S8, 2026-04-25) — SESSION TERMINÉE
|
||||
|
||||
**S8 livré et déployé :**
|
||||
- P0 scroll : `app.vue` — `overflow-hidden` conditionné sur `route.path === '/'`, `overflow-y-auto` ailleurs → /fiche/[id], /a-propos, /contribuer scrollent
|
||||
- P1 hamburger : lien "Signaler" ajouté dans le header desktop (`hidden lg:inline-flex`) — accessible sans hamburger
|
||||
- /a-propos : phrase "On s'installe seul.e." ajoutée en S1 (texte 2026-04-25 ATIS Business)
|
||||
- Deploy : `/opt/aep/` sur VPS Hetzner, service `aep`, port 3333 — HTTP 200 confirmé
|
||||
|
||||
**Nota deploy :** le dossier VPS est `/opt/aep/` (pas `/opt/nav-carte/`), service systemd `aep`.
|
||||
|
||||
---
|
||||
|
||||
## État d'avancement (fin S7, 2026-04-16)
|
||||
|
||||
Déployé et fonctionnel :
|
||||
- Logo "AEP" dans le carré + sous-titre "Architecture d'Écologie Politique" + lien → trans-former.fr
|
||||
- Onglets Agences/RAG masqués (code en commentaire dans app.vue, pages gardées)
|
||||
- Mobile : clic fiche → navigation /fiche/[id] (filtres sauvegardés)
|
||||
- Desktop : nextTick sur ficheModalOpen (P0 fix)
|
||||
- Outre-mer mobile : accordéon (header compact, déplie 33vh, invalidateSize Leaflet)
|
||||
- /a-propos : section "Coût de construction" (~1M tokens, ~0,3 kgCO₂e)
|
||||
|
||||
---
|
||||
|
||||
## Reste à faire (S9+)
|
||||
|
||||
- /a-propos Section 5 "Transparence IA" — placeholder à écrire (posture politique des coûts IA)
|
||||
- /a-propos Section 6 "Contribuer" — placeholder à écrire (invitation, ton sans friction)
|
||||
- Taxonomie v2 (Session N dans roadmap dev)
|
||||
- Intégration IA / RAG chatbot (Session S3)
|
||||
|
||||
---
|
||||
|
||||
## Fichiers clés
|
||||
|
||||
| Fichier | Rôle |
|
||||
|---------|------|
|
||||
| `app.vue` | Layout global, header, overflow conditionné |
|
||||
| `pages/index.vue` | Page carte (overflow-hidden géré via app.vue conditionnel) |
|
||||
| `pages/a-propos.vue` | Page à propos — sections 5+6 encore placeholder |
|
||||
|
||||
---
|
||||
|
||||
## Deploy (corrigé)
|
||||
|
||||
```bash
|
||||
cd nav-carte && npm run build
|
||||
tar -czf /tmp/nav-carte-output.tar.gz -C .output .
|
||||
scp -P 4422 /tmp/nav-carte-output.tar.gz vps-hetzner:/tmp/
|
||||
ssh -p 4422 vps-hetzner "rm -rf /opt/aep/server /opt/aep/public && tar -xzf /tmp/nav-carte-output.tar.gz -C /opt/aep && rm /tmp/nav-carte-output.tar.gz && systemctl restart aep"
|
||||
ssh -p 4422 vps-hetzner "curl -s -o /dev/null -w 'HTTP %{http_code}' http://localhost:3333/"
|
||||
```
|
||||
Reference in New Issue
Block a user