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

Workflow Invocation view improvements #18615

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from

Conversation

ahmedhamidawan
Copy link
Member

@ahmedhamidawan ahmedhamidawan commented Jul 29, 2024

Following discussions at GCC 2024 and this roadmap by @nekrut: https://hackmd.io/@nekrut/HkinoEh8A

Overall Change to the component

Before After
invocation_view_improvements_before invocation_view_improvements_after
Steps show on the right, the progress bars are within the Overview tab Only the currently active step shows below, leaving full width for graph, progress bars in the Header

Changes to an actively running workflow

Changes made to WorkflowRunSuccess:

Before
workflow_run_success_before
After
workflow_run_success_after

Other Changes

Changes from the roadmap and other changes that improve the UX:

- Steps moved to a separate tab, show clicked/active step below instead of job

This removes the steps from the overview and the graph is filling the center as the default view, and instead of clicking a step and then viewing a job below, the active/clicked step is shown below in its entirety:

invocation_graph_steps_removed.mp4

- Improved Workflow Invocation Step component

Before After
step_before step_after

- Inputs shown in Graph

Before After
inputs_before inputs_after
inputs_param_before inputs_param_after

- Invocation Panel toggles out on mouseleave

The first commit tackles point A in the roadmap: List of invocations is now not visible continously, it goes away after you settle on one invocation and mouseleave the panel area:
invocation_panel_toggled_mouseleave

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.

This first commit tackles point A in the roadmap:

List of invocations is now not visible continously, it goes away after you settle on one invocation and `mouseleave` the panel area.

Roadmap: https://hackmd.io/@nekrut/HkinoEh8A
- Instead of showing steps right next to the invocation graph, moves steps (back) into a separate tab
- To make this work, adds a `graphStepsByStoreId` to the `invocationStore` that helps access the graph steps in multiple components (TODO: improve how this is done)
- Instead of clicking on a node/step in the graph and showing the job for the step that the user clicks, now we show the whole expanded step below
add gap between step header buttons
- The progress bars are in `WorkflowInvocationHeader` now, giving more space to the step header being visible below the graph
- `WorkflowRunSuccess` is a one line header (refactored), and it uses `GridInvocation` to show batch invocations.
@ahmedhamidawan ahmedhamidawan changed the title [WIP]: Workflow Invocation view improvements Workflow Invocation view improvements Sep 20, 2024
@ahmedhamidawan ahmedhamidawan marked this pull request as ready for review September 20, 2024 23:07
@github-actions github-actions bot added this to the 24.2 milestone Sep 20, 2024
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.

1 participant