You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you again for all of your hard work on this project.
I have a suggestion:
In textual data representations, empty arrays are often used to represent empty to-many relationships. (one such example)
A monster's immunities or reactions would be two cases of a to-many relationship. They can have anywhere between 0 and many immunities and/or reactions.
In vellum-monster, if an empty array is passed to a field expecting an array, such as immunities or reactions, it will still show the Immunities or Reactions text, even though they have no content.
My suggestion would be to hide these fields in the end result if the content passed to them is empty.
Hello, thank you again for all of your hard work on this project.
I have a suggestion:
In textual data representations, empty arrays are often used to represent empty to-many relationships. (one such example)
A monster's immunities or reactions would be two cases of a to-many relationship. They can have anywhere between 0 and many immunities and/or reactions.
In vellum-monster, if an empty array is passed to a field expecting an array, such as
immunities
orreactions
, it will still show the Immunities or Reactions text, even though they have no content.My suggestion would be to hide these fields in the end result if the content passed to them is empty.
Given the following HTML:
Current outcome:
Suggested outcome:
Thank you again for your work! Let me know what you think!
The text was updated successfully, but these errors were encountered: