-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table Component #959
base: wiki
Are you sure you want to change the base?
Table Component #959
Conversation
How it looks now:
{
"columns": {
"number_column": {
"name": "Number Column",
"text_align": "right"
},
"boolean_column": {
"name": "Boolean",
"text_align": "center",
"default": false
},
"my_other_column": {
"name": "Another Column"
}
},
"rows": [
{
"number_column": 1,
"my_other_column": "Aute incididunt proident incididunt ullamco [...]",
"boolean_column": true
},
{
"boolean_column": false,
"number_column": 2,
"my_other_column": "Proident amet id ut exercitation. Do esse [...]"
},
{
"number_column": 3,
"boolean_column": false,
"my_other_column": [
"Proident amet id ut exercitation.",
"Do esse exercitation eiusmod Lorem incididunt exercitation esse fugiat Lorem et.",
"Magna eu ex excepteur qui est consectetur nostrud dolor ea est."
]
}
]
}
## Tables
<Table data="my-table.json" /> |
What's stopping thing from not being a draft? |
That would be me. I haven't been around to really take a poke at this and have it in a state where it can be merged at any time. I really want to nail the JSON schema first and try to port some existing tables(such as the Block Tags) to this new component. |
This PR aims to resolve #955.
The current JSON configuration is as follow: