Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

Simulate events doesn't handle event data that contains sub-objects or Arrays

Open Alastor-git opened this issue 7 months ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

Currently, if an Event's metadata associates a key to a Dictionary or an Array, the key's title is going to be displayed, but the simulation tooltip fails to ask for the associated data.

Image

Image

Expected Behavior

If a metadata's key is associated to a dictionary, the key should display as a section title and the inside elements of the contained objects should be elements of that section. It would be a nice to have to be able to develop/retract the section's content to help the user navigate the menu. Ideally, sub-sections etc should be able to be created. although there might need to be a depth limit.

If the metadata item contains an array, it should be possible to extend the array by duplicating the same structure as the first element of said array (i.e. if it's an array of strings, add/remove strings from the simulated data. If it's an array of objects, ahh/remove blocks of fields that represent each object)

Steps To Reproduce

No response

Version

5.64.0

What operating system are you using Firebot on?

Windows 10

Relevant log output


Contact Details (Optional)

alastor

Alastor-git avatar Jun 12 '25 21:06 Alastor-git