@stu_bowes ah, interesting. One of your lists is a list of Things from the database, but your other one is an API response, right?
My code assumes that anything that looks like a Thing has a field called “_id” on it (that’s the Unique ID field). But I guess API response objects do not have that.
I’ve never thought about that before, but it makes sense.
Is there any way that you could give me access to your app’s editor and point me to your test page? I’d like to inspect the exact objects contained in that list. (PM me with that info.)
Hey! I’m having trouble reseting inputs when using List shifter.
I have a repeating group where items can be checked (to create a custom list) which is then connected to 3 different workflows. If I set “reset inputs” at the end of the workflows the boxes still does not get unchecked. I wonder if this is because the workflows gets disconnected from the original list when using List Shifter…?
Hi! @keith
I wonder this plugin can solve my problem. (add a duplicate text to a list)
My workflow : when checkbox(in a repeating group)'s value is changed and it is checked, add current cell’s text to a list. And when the checkbox’s value is changed and it is unchecked, delete current cell’s text in the list
since bubble’s list can’t contain duplicate value, I want to know how to do this workflow using List Shifter.
Thank you
Anyone ever get this error in the console with List Shifter?
warning: status bar still waiting on Promise(waiting on waiting for debugger to finish with cmOYk)
No results when searching here and Google for cmOYk let alone the rest of the error message.
What’s happening is List Shifter is iterating over a list of 13 Things, but it only successfully does the work on the first two, then it hangs and throws this error.
@brenton.strine this might imply that the workflow you’re triggering with List Shifter isn’t completing. (If the workflow throws an error, List Shifter should report that, but this may not be wildly robust.) Can you share more info about how your workflows are set up and what your Things are?
Hey @stu_bowes, I didn’t get a chance to drill into this too much, but I pushed an update to Reconciler that should handle the issue with API sourced data throwing those errors in the console. Upgrade it to version 1.1.2 and let me know what happens?
I changed the sort order and it fixed it. It did indeed look like it was going through the first 2 items and then stopping. But when I sorted it differently, it got through them all (even the last).
I am using your plugin to create a horizontal carousel system in the testimonial section of my app homepage following the instruction in the article below:
It works fine. However, I was wondering whether it was possible to add a scrolling animation similar to the one that Bubble has in its “Scroll to entry of a repeating group” workflow:
Hi @keith I’ve done some testing of 1.1.3 and it seems to be working fine now with API data! I’m going to do a bit more testing over the next couple of days and will let you know results. Many thanks!
Stuart
Hi @keith - I think I may have found a bug with the ‘reconciler’ plugin. You can see from the screen shot that the debugger is showing that List 1 has one item and List 2 is empty, so the expected result is that the reconciled list should have the item from List 1, but it’s showing as empty.
Oddly, this is manifesting in live, but when I reproduce the scenario in test, it works! Which obviously makes it more difficult. Grateful for any bright ideas you may have?
Hi @keith - I’ve been doing some more testing and can confirm it’s working fine in test, but not in prod, so I guess it’s not a straightforward issue :(. I’ve tried replacing the element with a new one - in case of some glitch with it - but results are the same.
I am having a problem with iterating. On a workflow I trigger the “BEGIN ITERATE…” element action and then on a separate workflow of type “Iterate from List Shifter” I put what I want to be done to each item on the list. However, I am experiencing a problem in that I get the error “List Shifter is not initialized. BEGIN ITERATE action did not run. Use List Shifter Initialized state or event to avoid this error.” when I run the workflow on Normal mode, but when I run it on Step-by-step it runs perfectly. It’s very odd, any tip is highly appreciated.
HI… I am 99% sure that List Shifter can solve my problem by 0% know how to do it. I have a data type called Time that tracks time worked. Each thing has a date and number of hours worked. I am trying to then put these data into a chart based on selected dates to show how many hours have been worked each day. In Chart.js, I need a CSV value for both dates and hours worked, but I want the chart to show all dates regardless of whether or not it has a time entry. So I need List Shifter to recognise missing dates in a repeating group, and show that 0 hours were worked on those dates. I think I can see the potential to do this in List Shifter, but I am not sure how to do it. Can anyone point me in the right direction? Thanks.
Which part of that error message do you not understand? Read it again, until you do. It’s telling you: Don’t fire the ITERATE action at List Shifter until it’s ready. You’ll know it’s ready when you receive the Initialized event. (Which is to say, don’t fire ITERATE at List Shifter on some event like “Page Loaded”… it’s not ready yet.)
I sent a message to you but I thought I should post it here too in case other people have a similar problem.
I am trying to sum up a list of numbers on a repeating group without having to display the entire repeating group itself. The problem is some of the numbers I am trying to compute are calculated in the repeating group and are not actually in a database. I feel as though List shifter could do the job (either using process or iterate) but I am unsure how to set it up. Here is a screenshot I’ve labeled to make it more clear.
The operation I am trying to do is the following for each quarter:
“Sum of Weighted shares”+ “Shares 0” = “Shares total”
“Shares total” * “EPS” = “User earnings”
“Sum of user earnings”
“Sum of Weighted shares” is the sum of “weighted shares” in the “transaction” database where the transaction’s quarter = the RG’s current cell’s quarter and “Shares 0” is the sum of “number of shares” where the transaction’s quarter is < the current cell’s quarter.
The problem is these numbers are calculated in the browser (except for EPS) for each “quarter” and have to reference the repeating group’s current cell. Because these numbers have to be calculated in the browser, the “Sum of user earnings” needs the full repeating to be visible. As soon as I paginate the repeating group, the sum changes to reflect what is visible on the page.
I have a sense that PROCESS might do the trick but how do I reference a list that is “in the browser” and not in a database without having to display the entire RG?
Might you take a look at it and see if it is possible? I would really appreciate it!
Hi Keith,
First of all thanks for a really awesome plugin - listshifter!
I’ve been trying to wrap my head around the process list function, but I’m just stuck. (Undoubtedly my fault, not yours).
Here’s what I need to do:
Take a list (generated from an api call) with 3 fields: username, value a and value b (both numbers)
Create a new list with 5 fields: username, value a, value b, value ab, value ab*constant c
I know this is probably super simple, but I can’t for the life of me figure out how to do this!
Thanks,
Dennis