Enhance the ui.notification
#5148
Yuerchu
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
Interesting idea, but a bit special. Could also work as an example. To make it more generic it would be cool to somehow be able to incorporate progress bar. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think we could add a context manager-like method to
ui.notification
to better show the progress of some time-consuming tasks to the user.For example, in the past, we had to manipulate
ui.notification
like this:But if we define a context manager like this beforehand:
This way, the user's code becomes much simpler:
Beta Was this translation helpful? Give feedback.
All reactions