You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code waits for 2 seconds before showing the loading icon.
If the process completes or the event resolves within those 2 seconds, the icon is never shown.
If the process doesn't complete, the icon appears after the delay, signaling that something is still loading.
This feature could be particularly useful for applications with frequent, rapid user interactions that trigger parameter updates (e.g., sliders or live data streams). It would improve the UX by removing flicker.
Use case would be linking widgets with self.state.param.busy, but at the current moment it could cause flickering: holoviz/lumen#783 (comment)
I don't think this functionality should live in Param. I do think we should have some way to make the busy toggle not flicker on/off with a debounce, though I think this functionality should live in Panel.
I would like a built-in mechanism in the
self.param.update
method (or similar) that supports debouncing. https://www.geeksforgeeks.org/debouncing-in-javascript/Example:
This feature could be particularly useful for applications with frequent, rapid user interactions that trigger parameter updates (e.g., sliders or live data streams). It would improve the UX by removing flicker.
Use case would be linking widgets with
self.state.param.busy
, but at the current moment it could cause flickering:holoviz/lumen#783 (comment)
I think it would be implemented here https://github.com/holoviz/param/blob/main/param/parameterized.py#L2297-L2357
The text was updated successfully, but these errors were encountered: