docs(01-04): complete web UI plan — 4 task, 16 file, build pulita

Tasks completed: 4/4
- Task 1: Layout, routing, API hooks, tipi TypeScript, Dashboard, Settings
- Task 2a: Badge PN/Schwartz e PostCard con stati success/failed/pending
- Task 2b: SlideViewer con edit inline e ProgressIndicator con polling
- Task 2c: Pagine GenerateCalendar, OutputReview, GenerateSingle complete

SUMMARY: .planning/phases/01-core-generation-pipeline/01-04-SUMMARY.md
This commit is contained in:
Michele
2026-03-08 02:31:42 +01:00
parent a5d1c15c3a
commit 23599e1736
2 changed files with 198 additions and 13 deletions

View File

@@ -5,33 +5,33 @@
See: .planning/PROJECT.md (updated 2026-03-07)
**Core value:** Generare un calendario di 13 caroselli Instagram strategicamente orchestrati, pronti per Canva Bulk Create, con un click dalla Web UI.
**Current focus:** Phase 1 — Core Generation Pipeline
**Current focus:** Phase 1 completata — pronta per deploy e Phase 2
## Current Position
Phase: 1 of 4 (Core Generation Pipeline)
Plan: 3 of 4 in current phase
Status: In progress — Plan 03 completato
Last activity: 2026-03-08 — Completato 01-03-PLAN.md (pipeline LLM + API routers)
Plan: 4 of 4 in current phase
Status: Phase 1 COMPLETATA — tutti e 4 i piani eseguiti
Last activity: 2026-03-08 — Completato 01-04-PLAN.md (Web UI React completa)
Progress: [███░░░░░░] 18% (3/16 piani totali stimati)
Progress: [███░░░░░░] 25% (4/16 piani totali stimati)
## Performance Metrics
**Velocity:**
- Total plans completed: 3
- Average duration: ~7 min
- Total execution time: 23 min
- Total plans completed: 4
- Average duration: ~8 min
- Total execution time: 33 min
**By Phase:**
| Phase | Plans | Total | Avg/Plan |
|-------|-------|-------|----------|
| 01-core-generation-pipeline | 3/4 | 23 min | 7 min |
| 01-core-generation-pipeline | 4/4 COMPLETA | 33 min | 8 min |
**Recent Trend:**
- Last 3 plans: 6 min, 9 min, 8 min
- Trend: baseline stabile ~7-8 min/piano
- Last 4 plans: 6 min, 9 min, 8 min, 10 min
- Trend: baseline stabile ~8 min/piano
*Updated after each plan completion*
@@ -54,14 +54,28 @@ Recent decisions affecting current work:
- [01-03]: asyncio.to_thread wrappa LLM sync calls nel background task async
- [01-03]: Settings.api_key merge: PUT non sovrascrive con None se non inclusa nel body
- [01-03]: Pipeline singleton in generate.py per mantenere _jobs tra request, con fallback da disco
- [01-04]: Palette stone/amber per design B2B non generico (non gradienti viola)
- [01-04]: EditableField come componente generico click-to-edit (no dipendenze esterne)
- [01-04]: refetchInterval condizionale nel hook useJobStatus (non nel componente)
- [01-04]: Download CSV sempre via POST con edits inline (non GET originale)
- [01-04]: localResults separato in OutputReview per edit inline senza mutare cache TanStack Query
### Blockers/Concerns
- [Phase 1]: Validare token usage reale per batch 13 post con claude-sonnet-4-5 — inter_request_delay=2.0s configurato, da validare in produzione
- [Phase 1]: Baseline qualita' prompt italiani da validare dopo prima generazione reale
- [Deploy]: Phase 1 completa — serve vps-lab-deploy per testare end-to-end il sistema
## Session Continuity
Last session: 2026-03-08T01:15:06Z
Stopped at: Completato 01-03-PLAN.md — Pipeline LLM + CSVBuilder + 4 router API
Last session: 2026-03-08T01:29:53Z
Stopped at: Completato 01-04-PLAN.md — Web UI React completa con tutte le pagine e componenti
Resume file: None
## Next Actions
Phase 1 completata. Prossimi passi suggeriti:
1. `vps-lab-deploy` per deployare su VPS e testare end-to-end
2. Configurare API key in Impostazioni UI
3. Generare primo calendario reale per validare qualita' prompt e token usage
4. Poi procedere con Phase 2 (Image Pipeline - URL Unsplash) o Phase 3 (Advanced Features)