-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[WIP] Workflow Run Form Enhancements #19294
base: dev
Are you sure you want to change the base?
[WIP] Workflow Run Form Enhancements #19294
Conversation
I don't think the split view is a good idea. This will never work for production-sized workflows and makes the whole submission harder to understand. If there is a side-panel control option (one that hides the activity bar and history) I would split that out as its own enhancement, and one that we'd probably want to be able to set via the landing request API as well. |
1554aa1
to
9cade22
Compare
Some updates made here, a screencast has been added to the main description |
There is also this version where it is a top down + graph view, where you fill each input one by one: simplified_wf_run_top_down.mp4 |
The wizard like fill in menu is great, the graph however is not useful and should only be shown to advanced users on the click of a button or a toggle. For a good workflow the graph should never be needed, and if you're debugging an existing workflow I think you want the entire available screen estate. |
Humans are often not very pragmatic but often like to see nice, coloful things and get an overview that looks awesome. If we link to this run-page from BRC and similar sites, I think it is a very nice feature to show the workflow by default - even if its just bling bling. We can still hide it with a button and safe this user-choice imho. |
I don't mind making this an option, but BRC is a good example where this should definitely not be shown. |
Right now, ONLY IF |
That's an unfortunate coupling, we don't need panel or graph in BRC. I would much prefer if the graph is never shown by default, this just makes running the workflow much more complex than it needs to be. |
README in Run Form:In the latest commit I've added a README section only for dockstore workflows from IWC like so: simplified_wf_run_READMEs.mp4 |
569625b
to
a25fad2
Compare
just syncs the active node id with the graph for now
The input values are synced with the graph
- We show the appropriate, typed step description for unpopulated or errored steps on the `WorkflowRunGraph` - Changed the `stepValidations` object to an array of `[index, msg]` since we can use the return of `validateInputs` as is, and hence, track only the latest received error message.
in `FormDisplay`
- This drastically changes the styling of `FormElement`s as they have badges (or full colored headers) along with title sections, indicating current status of a step. Each step is in a card like style. - The variant for what type of `FormData` option it currently is has text now, letting the user clearly know whether they are selecting a single dataset, multiple etc. - After a "browse section" in the `FormData` component, we have a tabs section which shows the users the current selected file(s), as well as providing options for uploading/creating collections etc in other tabs.
and improve styling and positioning of the side by side graph view
Fixes galaxyproject#18815 ... at least, as far as being able to drag and drop to individual workflow steps in the run form is concerned.
The function wasn't considering case where `eventStore.multipleDragData === true`.
a25fad2
to
7622468
Compare
From UI/UX meeting:
|
When you switch from singular to multiple variant, the `currentValue` variable can get the same dataset/collection/value twice
Fixes #18883
Description from commit f77b387
Note: Towards the end of this I show an alternate implementation for each step header, where we have a badge instead of the whole header being colored:
simplified_wf_run_2.mp4
Initial version screencast which showcases the graph view for the run form:
simplified_wf_run.mp4
How to test the changes?
(Select all options that apply)
License