feat(frontend/table): improve column visibility UI#184
Conversation
|
another thing, when tags are expanded, we should probably show variable's titles rather than their names. |
Whoops, I was meaning to fix before marking the PR as ready but it fell through the cracks. Fixed at 2528a11. |
I have other ideas for this, especially on the next PRs as it needs another column: a badge or a dot for easier scanning, like a (wording not exact):
Then they can expand the row for more information. I am more inclined with the dots though, to help make the interface clean.
HMMMM I'd like to postpone this a bit as the interaction could be a bit more complex. Examples would be:
|
|
To me green/red colors indicate something is good/bad, which I think doesn't really fit here, as this just indicates the number of visible variables for a given tag (it's neither god or bad, just an indication). So, I would probably prefer just showing x/y, plus the light gray text is less eye catching than colors.
To me changing the variable visibility should never change a tag visibility. |
Fair enough, I'll think about this more in the future.
I agree, that's why I wanted to add an override list, maybe not in this PR. A problem in this current implementation that the tag selection trumps the variable visibility. That means it's not possible to show a variable that that is not in the current tags selection, unless the associated tag is selected. An override list could solve this. |
|
Merging now, thanks for the review! |

This PR aims to improve the UI of the column visibility: there is now more context that a variable is not shown due to variable visibility or tags selection.
Please check out https://european-xfel.github.io/DAMNIT-web/pull/184/demo/#/example/xpcs to have a go for yourself 😊
Below is a preview of how it looks like:
chrome_QTxD3OdZ2A.mp4