-
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
Add Workflow Title and Annotation sections #18762
Add Workflow Title and Annotation sections #18762
Conversation
@ElectronicBlueberry this commit will have negative downstream effects? |
I know this is WIP, but one tiny styling improvement could be made by placing the run and cog button in the same line as the wf name: as opposed to: One way to achieve this would be a On a somewhat related note, I always felt that using the same styled header as a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool, thank you! But please don't embed the published card there. Just a simple expand would be brilliant.
@itisAliRH Wanted your review on changes to the |
09a4eae
to
2b5f1ac
Compare
Ahmed: Minor change requests
|
471ca88
to
fa118ba
Compare
Co-authored-by: Ahmed Hamid Awan <qe66653@umbc.edu>
…kflows Landing Page (instead of design consistency with Workflows Annotation History Panel). Added 'show-actions' Boolean parameter to focus user on running the workflow as consistent with their intended behavior from the prior step; when 'show-actions' equals False, all actions are hidden (note: not same terminology as technical 'read-only' as 'show-actions' also prohibits Share/Favorite which are separate from being able to Edit a workflow).
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
…ocations Page and Workflow Run Form Page
…ocations Page and Workflow Run Form Page
- No `in_panel` prop in route anymore - In `lib/galaxy/managers`, all we need is the `workflow.id` so on the front end, for the run form, we can call `useWorkflowInstance(workflow_id)` - Adjust props and variables in the workflow header to cater for all edge cases such as whether it is rendering for run form or invocation view, workflow is owned or not, is published or not etc. - Minor style improvements
The `BButton :to`, was replaced with a `BButton @click` because the styling in `WorkflowNavigationTitle` worked better with a non `<a>` BButton (using `:to` turns the `<button>` into an `<a>`)
We removed the switch/view history button from the workflow run form version of the header, but it actually makes sense to keep it there since it lets the user know which history is going to be the input for the workflow (it changes as you change the history). In the invocation version of course it always made sense because then it is scoped to the history that was used as input for that invocation.
248ab10
to
aca94f4
Compare
Fixes #18711.
Now, we have two types of views: Run Form version (left) and the Invocation View one (right)
Initial Implementations
Version 3
takes into account Marius' comment for simplicity but maintaining consistency with Workflows Landing Page design_.v3: Expandable Portlet component with site consistency for Workflows Landing Page
Version 2
takes into account Ahmed's comment for consistency with Tool Form page header design.v2: Expandable Portlet component with site consistency
Version 1
is illustrated below as an "expandable portlet" solution. Other ideas/possibilities: "Mouse Hover Overlay-Menu", "Mouse Click Overlay-Menu", "Only Display Description", and so forth. After general solution is agreed, will complete "code clean-up" and test script fix process. Constructive ideas/comments welcome.v1: Expandable Portlet component
How to test the changes?
(Select all options that apply)
License