registri dei piani in git (AI-OS#309)
Refs gitea:Adriano/AI-OS#310 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
### Task 9: Toggle "Mostra tag" — report
|
||||
|
||||
Status: fatto.
|
||||
|
||||
- Creato `src/pages/api/admin/showtags.ts` (POST, 403 se ruolo non superuser/admin, set/delete cookie `showtags`).
|
||||
- Aggiornato `src/components/Header.astro`: `showTags` destrutturato dalle props, pulsante con `data-on` e testo dinamico, script che legge `dataset.on` e fa POST + reload.
|
||||
|
||||
Build: `npm run build` OK (nessun errore).
|
||||
Test: `npm test` → 13 file, 64 test, tutti verdi.
|
||||
|
||||
Commit: 8423716 — "feat(showtags): endpoint cookie + toggle nel menu utente" (2 file, +34/-2).
|
||||
|
||||
Concern: nessuno.
|
||||
Reference in New Issue
Block a user