PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.32k stars 1.5k forks source link

Move global pause/resume toggle to schedule section of the deployment page #14388

Open billpalombi opened 3 days ago

billpalombi commented 3 days ago

First check

Prefect Version

3.x

Describe the current behavior

The toggle in the top right corner of the deployment page could be interpreted as though it will globally control whether or not runs will be created, but it is in fact specific to scheduled runs.

Describe the proposed behavior

The toggle should be moved to the top of the "Schedules" section on the deployment page and only be displayed if there are multiple schedules.

Screenshot 2024-06-27 at 4 38 35 PM

pleek91 commented 3 days ago

It might be a good idea to add a tooltip to the toggle so when hovering the user sees something like "disable all schedules"/"enable all schedules". We'll also probably want to disable all of the individual schedule toggles when this main toggle is disabled.