Decisions from plan-design-review and plan-eng-review: - Two-accent system: amber = state (nav, pills), blue = action (buttons) - JetBrains Mono selective: codes/numbers only, text uses DM Sans - Dark mode now in scope for Commit 0.5 - Add TODOS.md with deferred P2 items Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
1.0 KiB
Markdown
16 lines
1.0 KiB
Markdown
# TODOS
|
|
|
|
## P2: Refactor sync_service.py in module separate
|
|
**What:** Split sync_service.py (870 linii) in: download_service, parse_service, sync_orchestrator.
|
|
**Why:** Faciliteza debugging si testare. Un bug in price sync nu ar trebui sa afecteze import flow.
|
|
**Effort:** M (human: ~1 sapt / CC: ~1-2h)
|
|
**Context:** Dupa implementarea planului Command Center (retry_service deja extras). sync_service face download + parse + validate + import + price sync + invoice check — prea multe responsabilitati.
|
|
**Depends on:** Finalizarea planului Command Center.
|
|
|
|
## P2: Email/webhook alert pe sync esuat
|
|
**What:** Cand sync-ul gaseste >5 erori sau esueaza complet, trimite un email/webhook.
|
|
**Why:** Post-lansare, cand app-ul ruleaza automat, nimeni nu sta sa verifice constant.
|
|
**Effort:** M (human: ~1 sapt / CC: ~1h)
|
|
**Context:** Depinde de infrastructura email/webhook disponibila la client. Implementare: SMTP simplu sau webhook URL configurabil in Settings.
|
|
**Depends on:** Lansare in productie + infrastructura email la client.
|