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
There is a requirement to display structured fact values using UI widgets instead of raw YAML.
The fact value is first and foremost data and its value just not be diluted with display information.
The simplest and most flexible approach is for the UI to inspect the structure and match it to one of its supported types.
string
int
map
Array of string - Single column table.
Single: Array of map - Table with each key in the map as a column.
Multiple: Array of map - Tab (for each key) each containing a table.
Display YAML when structure not matched.
Example Fact=JPA
has a structure of 2 tabs (Session Factory, Entities) each containing a table.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There is a requirement to display structured fact values using UI widgets instead of raw YAML.
The fact value is first and foremost data and its value just not be diluted with display information.
The simplest and most flexible approach is for the UI to inspect the structure and match it to one of its supported types.
Display YAML when structure not matched.
Example Fact=JPA
has a structure of 2 tabs (Session Factory, Entities) each containing a table.
Beta Was this translation helpful? Give feedback.
All reactions