So, with anyone here needs to have a Current time updated, or wants to register how long does it take for a user do something, they will need a “Do every 1 second workflow”, right?!
But, what I don’t see anyone talking about it’s how this kind of workflow messes up with DEBUG_MODE, it’s just IMPOSSIBLE to check any bug because the “Do every 1 second” will appear ALL THE TIME!!!
What I suggest → The same way there’s the opcion to add a pointbreak, to ADD THE OPTION to IGNORE any workflow in the Debug mode!!!
This way, it will allow people to check bugs in the right way!
What do you think??? Would you like to have this feature??
I actually have a workaround when activating my debugging “tools”. I have a URL parameter that will activate/deactivate workflows/elements that i need (or don’t) for debugging.
This let’s me debug in peace, even in Live, anytime i need to.
what description have you used? It will make it easy to search there
PS: There is another idea that would be good, to also add a folder on workflows that cointains all “add a breakpoint” and this new “ignore workflow on debug”, because if you don’t know where it is, good luck trying to find haha
Wait… you’re using a Do every 1 second to tell how long it takes a user to perform an action?
I’ve never had to do this myself, but why don’t you subtract current date/time - the date/time = the amount of time it took for them to perform the action?
The way you’re describing it sounds incredibly inefficient
You’re right, I do this is some parts of my app too, but to get the current time and work it like a clock it needs the do every 1 second, that’s what many tutorial of bubble say to do…
as @jonah.deleseleuc says, just clock the start time and the end time… no need to run a workflow every second (I’m not even sure how that would work, or what it would be for?..)
Is there any other alternative to get a clock moving sec by sec?
what I do → every 1 sec → current time state = Current Date/Time
Yeah, that’s what you need to do to update the time on the page…
… but that’s not necessary to record how long a User takes to perform an action - just clock the initial time (as Current Date/time) and the time they performed the action (also as Current Date/time)…
You should be able to display the time on the page using a client side method. For example, a plug-in.
I know it’s working right now but I strongly suggest you don’t use a loop just to display the time on the page (it’s just a bad way to develop things, I’m sorry)
For anyone reading this in the future you should use loops sparingly and only when necessary. Often times there’s a better solution to your problem.