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

[24.2] Move invocation view running actions and improve styling of annotation section #19168

Merged

Conversation

ahmedhamidawan
Copy link
Member

@ahmedhamidawan ahmedhamidawan commented Nov 20, 2024

The actions for a currently running workflow were added in the tabs-end slot in #18615 Here, we remove controls from there and the BAlert and instead:

  • The icon on the top left is a loading one when workflow is running
  • The cancel button is next to the progress bars now in the title actions (next to the Play button)
  • We remove the "Generate PDF" button entirely

Fixes #19158

Also lets the workflow description/annotation take up full width, and adds a <hr> below it to separate from the run form.

Fixes #19157

Before 🟥
invocation_controls_fix_BEFORE
Now ✅
invocation_controls_fix_AFTER

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:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

Used to be in the `tabs-end` slot. Here, we remove it from there and the BAlert and instead:
- The icon on the top left is a loading one when workflow is running
- The cancel button is next to the progress bars
- We remove the "Generate PDF" button entirely

Fixes galaxyproject#19158
@ahmedhamidawan ahmedhamidawan changed the base branch from dev to release_24.2 November 20, 2024 16:18
@ahmedhamidawan ahmedhamidawan changed the title Move invocation view controls and loading indicator [24.2] Move invocation view controls and loading indicator Nov 20, 2024
In the grid version, we don't have the `WorkflowNavigationTitle` and `WorkflowAnnotation` components, and one of those has the workflow cancel button, which could be useful in the grid as well.
This reverts the change in commit 632955a
We realized (in galaxyproject#19157) we didn't really need this in the run form version of `WorkflowAnnotation` because there this acts as an indicator of whatever the "input" history is; which is just your current history and users can see that anyways.
Fixes galaxyproject#19157 where we notice that the description could be full width instead of truncated half way, as well as the need for a visual distinction between the run form and the header annotation.
and add it to `WorkflowNavigationTitle` where it fades out to reveal the title and actions
which is based on whether it is the run form or invocation view

Tests changes from commit 6dd5f7c
@ahmedhamidawan ahmedhamidawan marked this pull request as ready for review November 21, 2024 00:37
@github-actions github-actions bot added this to the 25.0 milestone Nov 21, 2024
@ahmedhamidawan ahmedhamidawan modified the milestones: 25.0, 24.2 Nov 21, 2024
@ahmedhamidawan ahmedhamidawan linked an issue Nov 21, 2024 that may be closed by this pull request
@ahmedhamidawan ahmedhamidawan changed the title [24.2] Move invocation view controls and loading indicator [24.2] Move invocation view running actions and improve styling of annotation section Nov 21, 2024
since the progress bars already indicate that
Copy link
Member

@mvdbeek mvdbeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@mvdbeek mvdbeek merged commit 52b6290 into galaxyproject:release_24.2 Nov 25, 2024
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invocation control looks odd Workflow annotation in run form could look better
5 participants