[ENHANCEMENT] Table: organize column settings in groups#86
Conversation
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Gladorme
left a comment
There was a problem hiding this comment.
LGTM.
Note for myself, find a way to improve readability of desc inputs
I think the column settings grew organically. What do you suggest to sync them?
We already have few migrations here: https://github.com/perses/plugins/blob/main/table/schemas/migrate/migrate.cue but I'm not sure how it works, as we don't version the schemas. Is the migration code looking if some property exists and then infers that this was a valid schema at time X? |
Sorry for the delay in replying, had to take some time to organize my thoughts here :D The migration schema you mentioned is exclusively for grafana to perses migration. Although it's foreseen we may need this at some point we don't have yet schemas for perses vN -> perses vN+1 migrations. The solution is definitely not to ungroup the settings on the UI, I think your change here was great. So yes I'm talking about breaking change(s) on the model side.. I tried to come up with a solution that satisfies these aspects:
..And in the end I think the most robust solution is to avoid having a So all in all I think the Table panel is fine as is, and that we should align the other panel plugins on it by ungrouping the settings currently gathered under |
[CHORE] updating go ci


I'm going to add a few new settings to the column settings page (formatting settings, panel kind), and it would get a bit unorganized, therefore I updated the column settings editor to use the standard grouped options we have in the other panel editors:
Screenshots
Before:

After:
