Skip to content

Conversation

@jokasimr
Copy link
Contributor

@jokasimr jokasimr commented Aug 27, 2025

Previously the progress bar stayed until a new run was issued.
This was confusing because even if the bar is full it looks a bit like the reduction is not finished.
It is extra confusing in cases when one or more of the reductions failed, because then the progress bar does not fill up completely.

This PR makes the progress bar go away when the reduction is finished, clearly demonstrating that the work is done.

@jokasimr jokasimr requested a review from jl-wynen August 27, 2025 14:05
self.progress_log.children = (progress,)

def hide_progress(self):
self.progress_log.children = ()
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this going to move the UI elements around? Can the progress bar be placed somewhere where adding / removing it doesn't change the layout?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I moved the progress bar next to the reduction buttons. That's going to make it not move things around, and it is probably also better UX because the progress bar shows up where you are looking when you press "Plot" or "Reduce".

@jokasimr jokasimr requested a review from jl-wynen August 28, 2025 08:54
@jokasimr jokasimr merged commit fccaee0 into main Aug 28, 2025
4 checks passed
@jokasimr jokasimr deleted the remove-progress-done branch August 28, 2025 09:26
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.

3 participants