Skip to content

Fix progress timer and spinner#11725

Merged
ndeloof merged 2 commits intodocker:mainfrom
ndeloof:timer
Apr 15, 2024
Merged

Fix progress timer and spinner#11725
ndeloof merged 2 commits intodocker:mainfrom
ndeloof:timer

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Apr 15, 2024

What I did
#11357 was way too optimistic: we can't guess the last event expected for a resource. Better allow progress to manage "more work coming in" and restart the timer/spinner.

progress will report "done" state for some milliseconds before a new task starts and switch it back to "working", so there might be some flicker in UI but at least the end result is correct.

Related issue
fixes #11717

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

@ndeloof ndeloof requested review from a team, glours, jhrotko and milas and removed request for a team April 15, 2024 06:59
This reverts commit a4ddbcb.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested and I confirm it works way better this way 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Healthcheck console timer is broken.

2 participants