Can I display an alert/notification WHILE a query is running?

Hi there, I know there is a bar at the bottom of Retool apps that display which query is running but I'm looking into displaying some larger/more prominent type of alert or pop up WHILE the query is running, to reduce double clicks from the user (if they're impatient and not aware the query is still running). Is there a way to do this? Thanks!

I know there is a confirmation modal before running a query, and there are things that can trigger on success/fail of a query running, but I'm not able to find docs or info on displaying something WHILE the query is running.

Wire up to the hidden property of whatever you want to show/hide to the isFetching attribute of the query.

2 Likes

Oh nice, didn't know this was an attribute - thanks!

You can have a modalFrame with dynamic Hidden when query is fetching
Animation

modalFrame
image

Container
image

Or with just the button displaying the loading state
Animation

image