feat(5.9): US-005 - poll-guard modal/bife pe trigger periodic

- base.html: listener htmx:beforeRequest scopat la #submissions-wrap care
  anuleaza (preventDefault) DOAR poll-ul periodic (fara requestConfig.triggeringEvent)
  cat timp modalul de detaliu e deschis SAU exista checkbox de bulk bifat.
- F5/R6: trimiteriChanged si submit-ul de filtru au triggeringEvent -> trec mereu,
  deci pauza nu ramane lipita permanent daca randul bifat paraseste filtrul.
- Resume automat (anularea nu opreste timer-ul htmx) + resume explicit pe checkbox
  change via delegare pe body -> trimiteriChanged from:body (pastreaza filtrul).
- Vechea pauza pe „rand expandat" (5.8) era deja inlocuita de modalul global (US-003).
- 3 teste noi in tests/test_web_modal.py; suita 843 passed, 1 deselected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-06-25 09:30:10 +00:00
parent 35e97faae5
commit 74ac16f456
4 changed files with 143 additions and 3 deletions

View File

@@ -251,12 +251,12 @@
],
"requiresBrowserCheck": true,
"requiresDesignReview": false,
"passes": false,
"passes": true,
"failed": false,
"blocked": false,
"retries": 0,
"failureReason": "",
"notes": ""
"notes": "Poll-guard adaugat in base.html: htmx:beforeRequest scopat la #submissions-wrap, anuleaza (preventDefault) DOAR trigger-ul periodic (fara requestConfig.triggeringEvent) cat timp modalul e deschis SAU exista bifa de bulk. trimiteriChanged si submit-ul de filtru au triggeringEvent -> trec mereu (F5: fara blocaj permanent). Anularea nu opreste timer-ul htmx (se reprogrameaza) -> resume automat; resume explicit pe checkbox change via delegare pe body. Vechea pauza pe rand expandat (5.8) era deja inlocuita de modal (US-003). 3 teste noi in test_web_modal.py; suita 843 passed."
}
]
}
}