So, while pushing my way through coding Action Buttons (blindly, dissecting the examples, making up for lack of JS knowledge with pure denial to accept failure), I thought: it would be really cool to have a thread where one can ask a basic question about Action Buttons! Something one feels everyone else probably knows. Something presumably so small it feels awkward to start a separate thread for it.
Q1: How can I check if an entity’s state === its final state? Checking state name somehow? Can I check the current state’s
"Final" checkmark instead?
Q2: Can I use emojis in strings in code? How do I do that?
Q3: Is there a command to get the entity with all of its fields at once? It seems that
fibery.getEntityById() returns an entity with only the fields asked for explicitly.
…and they keep coming as I keep going.
If the community and the devs support the idea, I’d gladly keep the thread organized, copying all the Qs and As to the top post for quick reference. Going like that for some time we might collect a neat little “Action Buttons Syntax 101”, which I imagine could be of great value for someone unequipped but very willing to take on this journey.
So, what do you think?
Would someone from the community be willing to share knowledge in bite-sized Q&A fashion? @Polina_Zenevich any chance we might also have the devs chime in from time to time? Should I go learn some JS instead?
Do let me know.