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:
Claude Agent
2026-06-26 15:16:28 +00:00
parent 412102b9b1
commit 283299ff20
34 changed files with 3079 additions and 389 deletions

View File

@@ -150,7 +150,7 @@ def test_mapari_de_rezolvat_in_tabel(client):
def test_mapari_salvate_in_tabel(client):
"""Sectiunea "Operatii salvate" randata ca tabel; H4: auto-send reflecta valoarea STOCATA."""
"""Sectiunea "Operatii salvate" randata ca tabel. US-002: fara coloana auto_send."""
acct = _create_account_user("salv@test.com")
_seed_nomenclator("R-FRANE", "Reparatie frane")
_seed_nomenclator("R-MOTOR", "Reparatie motor")
@@ -165,9 +165,9 @@ def test_mapari_salvate_in_tabel(client):
assert "tablewrap" in sec, "tabelul Operatii salvate trebuie sa foloseasca .tablewrap"
assert "<table" in sec and "<th" in sec, "Operatii salvate trebuie randat ca tabel cu antet"
assert "OP-AUTO" in sec and "OP-MANUAL" in sec
assert 'name="auto_send"' in sec
# H4: exact maparile cu auto_send STOCAT True sunt bifate (aici: o singura)
assert sec.count("checked") == 1, "comutatorul auto-send trebuie sa reflecte valoarea stocata, nu un default"
# US-002: checkbox auto_send si coloana In coada scoase din UI
assert 'name="auto_send"' not in sec, "US-002: checkbox auto_send scos din tabelul salvate"
assert "In coada" not in sec, "US-002: coloana In coada scoasa din tabelul salvate"
# POST-urile neschimbate
assert 'hx-post="/mapari/salvate"' in sec
assert 'hx-post="/mapari/salvate/sterge"' in sec