-
Notifications
You must be signed in to change notification settings - Fork 27
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
multiple selection #434
Comments
FYI I think I'm leaning towards a hybrid solution using the root and leaves of the selection. E.g. if you right clicked on this selection:
You would see:
|
This issue has increased in priority due to "select multiple tasks to re-run" type use cases and is now listed on the roadmap. With the benefit of the past four years (wow this issue is old), I would suggest:
So to answer the questions in the OP:
Namespaces (which is Cylc GraphQL slang for a task or a family, remembering that cycles are ultimately just "root" families).
An unexpanded list of the selected items, e.g: namespaces = [
// a task
"1999/foo",
// a family
"1999/BAR",
// a cycle
"2000/*"
] |
Suggest tacking this one view at a time. The "Table View" is the easiest candidate to start with. |
Cylc 7
We currently have multiple selection in the tree view in the Cylc7 GUI.
This system works by iterating over the
gtk.TreeView
model to work out what's selected, but with one small twist, if you select a family you are implicitly selecting all of the tasks within that family.To explain, if you select the following:
You will be operating tasks
a1
,a2
&a3
because familyA
is included in the selection.Cylc 8
In Cylc8 we should open this multiple selection up to all Cylc views.
Q1) What is the primary focus of the selection. If we open the context menu should we see mutations relevant to workflows, cycles, families, tasks or jobs?
Q2) What is contained the expected selection.
Example 1 - single selection
Option 1 (complete tree):
Q1) tasks
Q2)
a1.1
Option 3 (only tree leaves):
Q1) workflows
Q2)
foo
Example 2 - single-level selection
Option 1 (complete tree):
Q1) tasks
Q2) all tasks in cycles
1
and2
Option 3 (only tree leaves):
Q1) cycles
Q2)
1
,2
Example 3 - multi-level selection
Option 1 (complete tree):
Q1) tasks
Q2)
a1
,a2
,a3
,b1
Option 2 (single level in tree):
Q1) tasks
Q2)
a1
,a2
,a3
Option 3 (only tree leaves):
Q1) tasks
Q2)
a1
,a2
Example 4 - just to be awkward
Q1) jobs
Q2)
* Option 1:
a1.02
,a2.01
,a2.02
* Option 3:
a1.02
,a2.01
Use Cases
Questions
The text was updated successfully, but these errors were encountered: