Graph grouping/collapsing: improve menus/toolbar
The menus for grouping and collapsing need some work:
-
Reset buttons for grouping and collapsing
-
Clicking a checkbox in the tree in the menu expands any collapsed levels in the tree (not to be confused with the collapsing of the graph nodes). This seems to be because the tree is rebuilt from scratch every time a selection is made.
-
Search functionality would be good but can come later
-
Attempt to simplify the graph view toolbar (e.g. the design sketch merged the collapse by family/cycle dialogues).
Also probs best to merge the cycle/family grouping and the cycle/family collapsing into a single item.
What exactly are you proposing? P.S. where is the design sketch, I can never seem to find it
On the original issue (still open): https://github.com/cylc/cylc-ui/issues/1130#issuecomment-2117177048
Since then we changed one detail, rather than a toggle to group/collapse ALL cycles, we allow them to be grouped/collapsed individually, so a slight change needed.
Ideally:
- One menu for grouping.
- One menu for collapsing.
- Reset buttons for both.
- Search for both.
Original sketch: