Watch this space: My new plugin List Shifter, which provides several utility features for dealing with any type of Bubble list, is coming to the plugin store. But more than this, List Shifter includes my high-performance ITERATE feature previously only available in Calendar Grid Pro.
You can iterate (loop) over any Bubble list, executing a workflow for each item. This unlocks massive amounts of power previously unavailable in Bubble. More details and videos to come.
I’m doing an experiment with this one: List Shifter will be released as a “free” plugin available to anyone. But it’s “Karma-Ware” – pay what it’s worth to you at GRUPZ: Karma-Ware Plugins for Bubble
Second: Nice work! I’ve seen a request for lists pop up several times in the forum -> Retrieve -nth item in reverse order from a list of unknown items. I’m guessing reversing the list and selecting -nth item will do the trick.
Don’t want to hack the thread but isn’t this already available as ‘list processor’ element in Utilities (bdk) plugin. I’m curious how’s this one different? Also the inverting / changing order etc via Transform list element in the same plugin.
Hey @gaurav: I didn’t realize that anyone else had figured out how you do that trick! I have a thing called Iterator that’s an even more generic approach, but hadn’t published it, and then I used that technique in CG Pro.
I built List Shifter in response to another thread about reversing loops. It started as just a simple reverser and, well, ended up being a lot more and then I was like… welp, might as well add an iterator to it.
I suspect our approaches work the same way (as I’m pretty sure there’s one-and-only-one way to communicate between a plugin element and a Bubble workflow)…
Yes, this is correct. Apologies that I’ve not yet been able to make a groovy video about List Shifter! Been a busy couple of weeks that have taken me away from side-Bubbling for a moment…
BTW, it’s kind of self-documenting as well. If you fire the Iterate event, but have no iterate workflow defined, the plugin reports this to the debugger.
@keith Appreciate the video guides, helpful stuff to get started. Let me know when the new store is launching, get me some quality child repellent
I’ve been using a drag n drop type system on an app with property photos and as nice as it is, it can be buggy when used in quick succession to change the order of photos. I’ve found the List Shifter to work quite nicely for this, so will probably switch to something like https://luke2.bubbleapps.io/version-test/list-shifter-test
Hey @luke2, this is exactly what I’ve been working on for List Shifter V2… making it REAL easy to do drag and drop. Of course, it’s not easy to make a hard thing really easy, so there’s a bit of R&D involved in it still. “Coming Soon-ish” though…
You might have noticed (though I’ve not demoed this yet) that not only does List Shifter track “Selected”, but it outputs a list of the LAST TWO selected items. This gives an easy way to swap 2 items, of course.
My goal with V2 is to do something similar with drag/drop groups in a targeted RG.
A quick demo on ITERATION with List Shifter Pro. Apologies for the delay in getting this out. Even though there is some weirdness with audio (Loom decided to screw with my sample rate and so my voice gets crazy deep a couple minutes in), this is still instructive.
So here ya go, basics of looping over a list with List Shifter: