perf(dashboard): NativeDialog sends update() only on busy/generation change or a reported submit (DSH-008, #258)
JS now reports when a submit raises its in-flight pending flag, and a cancel request marks the same, so the next render clears pending through update() without update() running on every snapshot tick. Escape still works after a rejected submit.
This commit is contained in:
@@ -26,6 +26,13 @@ returns to a usable connected trigger; otherwise the page heading gets temporary
|
||||
programmatic focus, with tabindex removed on blur. A newly claimed outside focus
|
||||
is respected. Native backdrop is the only dimming layer.
|
||||
|
||||
Interop is sent only on state changes, because the host pages re-render every
|
||||
snapshot tick (DSH-008, #258): close() once per generation, update() only when the
|
||||
generation or busy flag changes or JS has reported a submit. A submit or Escape
|
||||
raises a client-side pending flag that blocks a second cancel; JS reports the
|
||||
submit (NotifyPendingAsync) and the next render sends update(), which clears it, so
|
||||
Escape works again after a rejected submit.
|
||||
|
||||
## Observed checks
|
||||
|
||||
- Baseline 341 dashboard tests passed. Two semantic tests failed on the old overlay,
|
||||
|
||||
Reference in New Issue
Block a user