galaxy
galaxy copied to clipboard
Workflow Editor Activity Bar
Brings the activity bar to the workflow editor. Early stages, but open for suggestions
Planned activities for this PR:
- changes (undo redo stack ui)
- workflows (to insert like tools)
Ideas for additional activities, but unsure about:
- workflow specific utility tools
- workflow attributes this would free up the right panel to serve a single purpose
- step list
- subworkflows (in this workflow)
- invocations of this workflow
- run with simplified run form
- edit report
How to test the changes?
(Select all options that apply)
- [ ] I've included appropriate automated tests.
- [ ] This is a refactoring of components with existing test coverage.
- [ ] Instructions for manual testing are as follows:
- [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]
License
- [x] I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.
This might tie in nicely with the ideas in https://github.com/galaxyproject/galaxy/issues/18166?
The first round of feedback:
- separate "inputs" from tools, inputs are imho equivalent to "Upload"
- An easy way to exit is missing imho, "save and exit" instead of "save" might be an option, especially since we now have the "changes" option
- if there are no "workflows" then a hint should be shown like "Here are all workflows listed that you can include as sub-workflows"
- Q: is it useful to list the self-workflow? Is that even possible to include them in a workflow? Recursion?
- Should Ctrl+S save the workflow?
- if you click on tools, the focus should be on the search-box
Thanks @ElectronicBlueberry!
Thanks a lot, Laila. Here is a small review from Wolfgang and me from the Biohackathon:
- If I click tools, my cursor should be in the search field
- If I click on " Input dataset: Missing a label and annotation " in the best-practise panel, its not clear which node is selected and I should probably see the left-side panel?
- if I save the "changes" disappear, this makes somehow sense, but its a bit confusing as the "changes" panel is then empty. Should we indicate the "versions" also in the changes panel?
- if we move the version into the "changes" panel we could rename "Attributes" to Description?
- I'm not convinced "auto-layout", "upgrade" and "download" deserves its own panel item
- separate them with another horizontal bar?
- should auto-layout be part of the "annotation toolbar"
-
- make sure the left panel is not shown, 2) move some boxes, 3) click the arrows (upper, left corner) to revert changes -> the left panel will open, which I think is wrong
- should "Inputs" in the tool panel be its own activity bar item?
- Best Practices Review is not scrollable
- The Run option should be moved to just above Save&Exit
- Downloads triggers a "leave page" warning - but we do not leave the page
- we propose: tools, workflows on top, a horizontal bar and then the rest of the items which are more "metadata inspection items"
- auto-layout can not be undone
These are wonderful changes @ElectronicBlueberry !!
One minuscule thing I've noticed is this:
As soon as you click Create a new workflow, and you land on a fresh editor, if you click Run, this happens:
https://github.com/user-attachments/assets/d4ab1433-c86a-4c31-ab5c-d00e1af09f77
An empty workflow is created, which i think it shouldn't since the button should maybe be disabled?
The workflow bookmarking is broken and you can not unbookmark a workflow. So the API seems to be working fine but the client side is broken and needs to be fixed. I put the PR into a draft and working on it.
This changes also fixes errors like below in the activity bar:
I've re-milestoned this so we can branch. When ready (has to be prior to release testing), please change target branch and milestone, and we'll add it to 24.2.
The remaining selenium failure seems related, I can reproduce it locally https://github.com/galaxyproject/galaxy/actions/runs/12020223847/job/33517490725?pr=18729#step:10:3171
I'll try to figure out what is the issue.
I think I got it... pushing commit.
Good eye! This fixes it for me locally, too.
Argh; I should have adjusted the branch to 24.2 prior to merge. I'll manually merge this back and forward.