Most definitely. Since ListShifter is no longer karmaware, Floppy is the very first purchase I’ll make for each new app.
In the example it’s just part of a test. I only use pauses for visual elements. I don’t like it when my loading element flashes for like 300ms and purposefully add an additional pause to make it show for a second or a half.
There are a number of posts about sequencing, but I’ll quote @keith since his explanations are always in-depth. He goes into even more detail as the thread goes on:
Here’s some general info from the manual:
General rules about how workflows run:
Frontend workflow actions run in order but the next action does not wait on the previous action to be complete before triggering.
Backend workflows are triggered as soon as the workflow is triggered, independently from steps. For example, a “Schedule API Workflow’” action will be triggered as soon as the workflow is triggered even if it is placed last in the workflow action sequence.
Custom events run in sequence, not parallel. If Workflow 1 triggers a custom event that starts Workflow 2, Workflow 2 will complete before the remaining actions in Workflow 1 run.
Searches aren’t always immediately updated with new data. So if you create a new item, and then try to retrieve it via search, it may or may not work; you should not rely on this.
- Retrieving a thing from “result of step X” where step X is the “Create…” step should always be safe.
I have a small test page for state sequencing but it reflects how I set up complex workflows in my apps:
coffeehat-sandbox | Bubble Editor
Just to add as a reference to the types of client-side actions I refer to. From the manual:
Client-side processing
Many actions that you run in your app do not need to be sent to the server to be completed – indeed, many of them can’t be processed on the server since they refer to things happening locally on your user’s device.
For example, events, actions and conditions such as the ones listed below will in many cases be completed locally:
- Navigating between pages by use of the Go to page action.
- Displaying or hiding elements.
- Changing the appearance or styling of elements (colors, fonts, etc.).
- Validating user input in forms before submitting the data to the Bubble server.
- Performing calculations or manipulating data locally.
- Saving custom states with local content (such as user input)
- Triggering animations or visual effects.
- Running custom JavaScript code within the browser.
- Do when condition is true where the condition does not happens server-side
- Do every X seconds
Here’s the link to the thread for those looking:
Thanks for the peer review!
I should remind everyone (not singling you out) that Bubble has its quirks. Like search :count vs search:first item is empty, the way search:filtered works, and how current date/time works in a workflow (it will use the current date/time that the event was triggered).