Forum Academy Marketplace Showcase Pricing Features

Page loader animations, can they run to replace the progress bar while a workflow runs?

I’ve seen a bunch of the page loader animation plugins and was able to make them work by making them visible on page load, and then doing conditions that say when page is fully loaded the element is not visible.

Is it possible to use them though when a workflow is running? For example I have a button that when pressed opens a popup to create a record, so the user enters in all their fields and so on and then presses Save. When they press Save, a workflow runs that creates the new record, sends an email, does an API call, and then hides the popup and navigates to the new record page. The problem I find is that it takes 5-10 seconds to do all that before it goes to the page, so it shows that thin progress bar at the top of the page which is fine, but the issue is that users can just close the popup or try to navigate away on their own should they be impatient.

Is there any way to have the page basically freeze almost, and show a loading animation while all workflows run, and then only once they are done have it navigate to the new page so that a user can’t click Save 5 times in a row or close the popup while the workflow is still creating all the records and doing the flow?

2 Likes

Hi @lmoreau. Have you found a solution to this?
I have the same problem.

There are a few different ways to do this. One simple way is to, at the beginning of the workflow, just show a popup with an icon that spins and not allow them to close it when esc is pressed. Then at the end of the workflow you can hide it. Make the popup look however you want.

Want to learn more?

www.nocodeminute.com

Hope that helps! :slight_smile:

2 Likes

I did that. It works while the page is still visible.
I am looking for a solution (loader animation) that will fill the (White-page gap between the current page and the next page loading) while loading to navigate to a new page.:point_down:


I hope you understand.

I think I understand. I am not sure if there is a way to fix that beside not going to another page. You can keep everything on one page and create a one-page app. That way you wouldn’t have to send the user to another page and they would just see the loading popup. This helps it feel like a more native and quicker app. Does that make sense? :blush:

Yep. I understand what you are saying. My app is too big to be a one-page app (I think). I am building a tutorial app that will have many images, videos, quizes and interactivity. I found a website (not built on Bubble) that does what I want.:point_down:

Maybe they used a type of javascript thingy to do such magic.

1 Like

Yeah, it looks like they probably are. You can try to do something like this maybe: https://smallenvelop.com/display-loading-icon-page-loads-completely/

I hope that helps! At least point you in the right direction. :blush:

1 Like

Thanks. I don’t know Javascript but I know bit of HTML & CSS to get by. I will play with it and see what I can come up with. :ok_hand:

Hi @hatagoeiseb,
How did it go? Were you able to do this?
I have the same issue.

Thanks!!

1 Like

Hi, @andres_0928
I have not yet, found I solution for this.
However, inside the home page, I embedded iframes that show the different pages of my website without the user having to leave the home page.

Take a look at this,

Site: Bubble | No-code apps
Editor: Iframetest1 | Bubble Editor

Advantages

  • Pages load faster because the browsers loads the page directly into the iframe and do not need to first leave the current page and then load the page you want to go to.
  • You can show a spinning icon or loader while the user waits for the page.

Disadvantage

  • I have noticed that scrolling to the top inside an iframe is a bit off with about 100px or so. It is not a major disadvantage.

There might be another way that works, but I have not seen one yet.
I hope this helps.