fix(html-examples): make progress click-driven

Remove interval auto-ticking from the progress example, render visible percentage text next to the native progress element, and update smoke coverage to assert explicit click behavior.

req: htmx_equivalents/001

req: examples/001

req: test/006
This commit is contained in:
slhx agent
2026-06-26 07:47:07 +02:00
parent dc5743de99
commit 379ed02f88
5 changed files with 11 additions and 10 deletions
@@ -13,7 +13,7 @@ refs:
## Objective
Keep `html-examples-smoke` as the repo-owned browser proof for no-reload dynamic interactions, revealed fallback, interval triggers, and the htmx-equivalent gallery behaviors.
Keep `html-examples-smoke` as the repo-owned browser proof for no-reload dynamic interactions, explicit progress clicks, revealed fallback, and the htmx-equivalent gallery behaviors.
## Authority
@@ -21,7 +21,7 @@ Keep `html-examples-smoke` as the repo-owned browser proof for no-reload dynamic
## Close when
- The smoke covers click-to-edit, edit-row, inline validation, active search, delete row, lazy load, click-to-load, infinite/reveal, progress interval, value select, reset input, and revealed fallback without IntersectionObserver.
- The smoke covers click-to-edit, edit-row, inline validation, active search, delete row, lazy load, click-to-load, infinite/reveal, explicit progress click, value select, reset input, and revealed fallback without IntersectionObserver.
- The no-navigation/no-reload guard wraps dynamic interactions.
- Failures identify the named smoke path.
@@ -37,4 +37,4 @@ Keep `html-examples-smoke` as the repo-owned browser proof for no-reload dynamic
## Evidence
Done at HEAD `67d167f`: `cargo run -p hemx-xtask -- html-examples-smoke` passed and printed all named smoke paths: progress interval, click-to-edit, edit-row, inline validation, active search, delete row, lazy load, click-to-load, infinite/reveal, value select, reset input, and revealed fallback without IntersectionObserver. `hemx-xtask/src/main.rs` owns the CDP-driven smoke command, inline smoke scripts, and no-navigation/no-reload guard; no `/tmp` scripts or second browser runner were added.
Done at HEAD `67d167f`, then corrected for manual progress behavior: `cargo run -p hemx-xtask -- html-examples-smoke` covers explicit progress click, click-to-edit, edit-row, inline validation, active search, delete row, lazy load, click-to-load, infinite/reveal, value select, reset input, and revealed fallback without IntersectionObserver. `hemx-xtask/src/main.rs` owns the CDP-driven smoke command, inline smoke scripts, and no-navigation/no-reload guard; no `/tmp` scripts or second browser runner were added.