Skip to content
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

gscan: auto collapse nodes where appropriate #865

Closed
oliver-sanders opened this issue Dec 8, 2021 · 1 comment · Fixed by #1416
Closed

gscan: auto collapse nodes where appropriate #865

oliver-sanders opened this issue Dec 8, 2021 · 1 comment · Fixed by #1416
Assignees
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

GScan displays a hierarchical view of workflow registrations e.g:

foo/
  run1
  run2
bar/
  pub
baz/
  run1

The numbered runs (i.e. the run1, run2, etc) are a new Cylc 8 feature.

For many cases there will only be one run (run1), so displaying this full hierarchy is kinda annoying e.g:

foo/
  run1
bar/
  run1
baz/
  run1
pub/
  run1

To make GScan more compact and to help ease users into the numbered runs we should collapse these nodes somehow (kinda like what GitHub does when a directory contains only one directory e.g. cylc/flow).

foo/run1
bar/run1
baz/run1
pub/run1

Pull requests welcome!

@AaronDCole
Copy link
Contributor

#889

This PR is a POC of how I think this could be fixed, open to feedback or suggestions for improvements or reworks

@oliver-sanders oliver-sanders modified the milestones: 1.0, 1.x Feb 7, 2022
@MetRonnie MetRonnie linked a pull request May 30, 2022 that will close this issue
10 tasks
@oliver-sanders oliver-sanders modified the milestones: 1.x, Pending Jun 8, 2022
@oliver-sanders oliver-sanders modified the milestones: Pending, 1.4.0 Aug 8, 2022
@oliver-sanders oliver-sanders modified the milestones: 1.4.0, 1.5.0 Dec 7, 2022
@MetRonnie MetRonnie modified the milestones: 1.5.0, 1.6.0 Jan 25, 2023
@oliver-sanders oliver-sanders modified the milestones: 1.6.0, Pending Apr 24, 2023
@MetRonnie MetRonnie modified the milestones: Pending, 2.1.0 Aug 2, 2023
@MetRonnie MetRonnie self-assigned this Aug 2, 2023
@oliver-sanders oliver-sanders modified the milestones: 2.1.0, 2.2.0 Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment