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 convergence #9737

Merged

Conversation

jlmitch5
Copy link
Contributor

@jlmitch5 jlmitch5 commented Mar 29, 2021

Satisfies #7669

This adds the ability to set convergence from any nodes (default) to all nodes to the workflow feature. Specifically:

There is an additional convergence dropdown located on the bottom of the first "node type" step for all node types:

Screen Shot 2021-03-29 at 2 09 54 PM

This field defaults to "Any" on add node and whatever the api has the field set to on edit node. It resets to any if you change the node type dropdown (even on edit when changing and then changing back to the original type...I can update that point depending on what UX is preferred).

tvo created a new link explicitly to the explanation in documentation of what the convergence setting does here, and I link to it in the help popover shown in the screenshot below.

Consistent with the old UI, When "All" is selected, a small tab is displayed with the label "ALL" in the node visualizer. "Any" nodes do not get any sort of tab.

Screen Shot 2021-03-29 at 2 15 08 PM

A slight tweak compared to the old ui...I set the tab's border and background to be the same color as the border of the node to create a consistent look for the node across various states and confirmed this behavior was good with @trahman73

OLD:

Screen Shot 2021-03-29 at 2 19 18 PM
Screen Shot 2021-03-29 at 2 19 06 PM
Screen Shot 2021-03-29 at 2 18 53 PM

NEW:

Screen Shot 2021-03-29 at 2 20 40 PM
Screen Shot 2021-03-29 at 2 20 19 PM
Screen Shot 2021-03-29 at 2 20 00 PM

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@jlmitch5 jlmitch5 force-pushed the workflowConvergence branch from 7fea29d to 92031d0 Compare March 29, 2021 18:04
@jlmitch5 jlmitch5 changed the title wip workflow convergence workflow convergence Mar 29, 2021
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@unlikelyzero unlikelyzero added the type:feature prioritized on a feature board label Mar 30, 2021
@unlikelyzero
Copy link

unlikelyzero commented Mar 31, 2021

Feedback

To be Addressed in this PR

  • Node Details should be informative and describe if a Convergence is Any or All

Screen Shot 2021-03-31 at 2 11 41 PM

To be filed as issues

  • It would be easier to understand how workflows converge if the links were highlighted with hovering over a Node
  • min and sec are not formatted well on the add/edit node wizard

Screen Shot 2021-03-31 at 2 41 11 PM

Screen Shot 2021-03-31 at 2 56 55 PM

setIsConvergenceOpen(false);
}}
aria-label={i18n._(t`Convergence select`)}
id="convergence-select"

Choose a reason for hiding this comment

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

I'm not able to access this id

@jlmitch5 jlmitch5 force-pushed the workflowConvergence branch from 92031d0 to 06f8867 Compare April 1, 2021 17:06
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 941e990 into ansible:devel Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ui type:feature prioritized on a feature board
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants