PrefectHQ/legacy-ui

BUG: Automation - Select Multiple Flows

Opened this issue · 1 comments

Bug Description
When creating automations and selecting multiple flows it is possible to click "previous" and select automations for does not finish and does not start which I think should not be available options when multiple automations are selected. Per conversations with Jenny at Prefect this may be a possible UI Bug; I think the only automation available for multiple selected flows should be changes state. I think the bug fix would be making it so when "previous" is clicked from the "Choose the states that trigger this automation" menu it goes to the "Choose a flow" menu, not the "Choose an event" menu.

Steps To Reproduce

  1. Create new flow run automation
  2. Select multiple flows and click next ("Choose a flow" menu)
  3. Click previous from the "Choose the states that trigger this automation"
  4. choose an event (does not finish or does not start) ("Choose an event" menu)
  5. Finish clicking through the dialogues and create the automation
  6. The resulting created automation only applies to one of the selected flows (not all of them as might be expected).

Browsers Tested:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

Notes
More context (including videos of how to reproduce are found in this prefect-community slack thread: https://prefect-community.slack.com/archives/CL09KU1K7/p1651075801206849

The actual videos demonstrating the behavior are found at https://prefect-community.slack.com/archives/CL09KU1K7/p1651080446392769?thread_ts=1651075801.206849&cid=CL09KU1K7

zhen0 commented

Thanks for the detailed notes @rmcsqrd