Rename "Loop Action" to "List item" when reading current item in LOOPER v3.1 widget

Greetings.

Currently, the LOOPER v3.1 custom widget allows to loop over a list of Text values. To do so, it defines a Loop Action event of type Text. By default:

  1. A Loop Action section appears in the right sidebar.
  2. The text value is accessed in expressions via @Event. (although this should probably be @Event.Loop Action but I wrote a ticket for this).
  3. The text value is also available via dropdown lists with Event > Loop Action.

While this works, I find this quite unintuitive and not very readable to access the item of the list being looped on by accessing Loop Action. I would suggest to either:

  • A) Change the type of the Loop Action event from Text to Object with useful properties, like List item (Text) and List item index (Integer).
  • or B) Rename the event to Read list item or something, but I find that unclear and donโ€™t like that solution.

I find solution A much better (and I think it should potentially be a documented good practice when coding custom widgets since it allows to differentiate the event itself from the data it returns).