Hi all! Has anyone noticed missing flow toggles t...
# prefect-ui
d
Hi all! Has anyone noticed missing flow toggles the Deployments tab? I use to be able to turn off certain deployments from this tab, using a toggle/switch. Now this has been removed, so I have to click into each deployment and then click the toggle to turn them off. This turns 1 click into three and feels like a degradation in UX for the Deployments tab. Just wondering if this is expected or not.
d
Hey Donald, This is an intentional change by the team. Thanks for your feedback here and I definitely feel you re: additional clicks. The toggle is going to move a little more in the next release of the ui library via: https://github.com/PrefectHQ/prefect-ui-library/pull/2583 The discussion we had internally went something like this: • The toggle made sense when deployments could only have one schedule. • We introduced multiple schedules to deployments and started to notice some friction internally on what this toggle actually did. • If I turn off individual schedules on my deployment, the toggle in the list view doesn't actually enable them. • The toggle doesn't impact automation triggers or ad-hoc runs in any way, so it's not really a "global disable" feature. It only stops deployment schedules from creating flow runs in the future. • This means the toggle isn't sufficiently global to warrant being on this page anymore. We understand the downside is the extra click to stop more work from being scheduled. I'd love to hear any more thoughts or feedback you have!
d
That makes sense Dylan, thanks for the detailed response! Great to know about the internal thinking of the team and upcoming changes.
After looking at the PR I see the plan is to keep multiple toggles present in each Deployment's page, just moving one of them above the schedule panel. Since there will still be two toggles after the change, do you think the one with the large scope can still live on the Deployments tab for convenience?
d
We're going to make a similar change to what you're suggesting but hopefully something even better!
🙌 1