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
Member

_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

_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>
holler added 1 commit 2026-08-14 10:43:59 +02:00
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
afc3bb783a
_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>
holler added 1 commit 2026-08-14 10:44:08 +02:00
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
bc12b38ef8
holler merged commit 4ac20013b8 into main 2026-08-14 10:52:33 +02:00
holler deleted branch tomo_params_busy_banner_debounce 2026-08-14 10:52:33 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#295