fix(tomo_params): debounce beamline-busy banner to stop flicker #295

Merged
holler merged 2 commits from tomo_params_busy_banner_debounce into main 2026-08-14 10:52:33 +02:00
2 Commits
Author SHA1 Message Date
holler bc12b38ef8 Merge branch 'main' into tomo_params_busy_banner_debounce
CI for csaxs_bec / test (push) Successful in 1m49s
CI for csaxs_bec / test (pull_request) Successful in 1m51s
2026-08-14 10:44:06 +02:00
x01dcandClaude Sonnet 5 afc3bb783a fix(tomo_params): debounce beamline-busy banner to stop flicker
CI for csaxs_bec / test (push) Failing after 1m48s
CI for csaxs_bec / test (pull_request) Failing after 1m40s
_refresh_busy_banner() toggled the banner's visibility synchronously
on every poll tick and scan-queue push message, so brief blips in the
underlying queue status made it flicker on/off.

Show busy immediately, but hold the banner up for 5s of continuous
idle before clearing it, mirroring the debounce pattern already used
for XRayEye's queue-guarded toggles (_queue_idle_timer).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-14 10:17:52 +02:00