cylc-ui icon indicating copy to clipboard operation
cylc-ui copied to clipboard

Graph grouping/collapsing: improve menus/toolbar

Open MetRonnie opened this issue 8 months ago • 3 comments

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).

MetRonnie avatar Jun 17 '25 17:06 MetRonnie

Also probs best to merge the cycle/family grouping and the cycle/family collapsing into a single item.

oliver-sanders avatar Jun 18 '25 11:06 oliver-sanders

What exactly are you proposing? P.S. where is the design sketch, I can never seem to find it

MetRonnie avatar Jun 18 '25 14:06 MetRonnie

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:

graph-grouping-and-collapsing

oliver-sanders avatar Jun 18 '25 14:06 oliver-sanders