feat(ux): import compact + preview format Trimiteri + navigatie + scoatere auto_send (5.11)
8 stories TDD (echipa Sonnet, lead orchestreaza). US-001 scoate hold-ul auto_send din mapare (has_no_auto_send->False, simbol pastrat; cod rezolvat->queued). US-002 scoate bifa auto_send din UI. US-003 preview pas 3 in format .tabel-trimiteri (STARI_PREVIEW + nota_umana_preview, fara repr Python; view-model prez). US-004 filtre layout/stil ca referinta + buton Custom. US-005 navigatie Trimiteri/Mapari sub contoare pe toate paginile. US-006 import <details> nativ colapsabil. US-007 post-commit reveal (OOB _coada/_status + HX-Trigger). US-008 auto-refresh dupa actiuni (nudge eliminat). VERIFY context curat PASS (8/8). /code-review high: 3 buguri reparate (tab nav la self-refresh, pill Custom valori stale, nota_umana_preview precedenta needs_mapping). 934 passed, 1 skipped. Backend trimitere + schema NEATINSE. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -221,7 +221,7 @@ def _resolve_row_for_preview(
|
||||
errors = validate_prezentare(mapped)
|
||||
|
||||
if all_flags:
|
||||
# needs_review: chiar daca validarea trece, flagurile blocheaza auto-send
|
||||
# needs_review: validarea a trecut, dar flagurile (date ambigue, formule) cer confirmare manuala
|
||||
return {
|
||||
"resolved_status": "needs_review",
|
||||
"resolved": mapped,
|
||||
@@ -229,14 +229,7 @@ def _resolve_row_for_preview(
|
||||
"flags": all_flags,
|
||||
}
|
||||
|
||||
# auto_send gate
|
||||
if has_no_auto_send(resolved, mapping_meta):
|
||||
return {
|
||||
"resolved_status": "needs_mapping",
|
||||
"resolved": mapped,
|
||||
"errors": [{"auto_send": "cod mapat cu auto_send=0; review manual inainte de trimitere"}],
|
||||
"flags": all_flags,
|
||||
}
|
||||
# US-001 (PRD 5.11): ramura auto_send eliminata din preview.
|
||||
|
||||
if errors:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user