ui
ui copied to clipboard
BUG: flows dashboard and quickrun throw errors when enabling a schedule when no schedules exist
Bug Description
This is more of a user experience gap than a pure bug. The graphql response in the browser indicates a server failure when attempting to enable or disable a flowrun schedule if there's no schedule for the flow. Once a schedule exists, toggling schedules on/off works as expected
Steps To Reproduce
- Create a project
- Regiser a flow
- *Make sure no schedules exist
- Go to the flows dashboard or quickrun screen and toggle the schedule on or off
Browsers Tested:
- [ ] Chrome
- [ ] Firefox
- [x] Safari
- [ ] Edge
- [ ] IE
Notes
[{ "data": { "set_schedule_active": { "success": false, "__typename": "success_payload" } } }]
At the minimum, the request here is a warning message to check if a schedule is properly set.
I encountered this misleading error message as well and was scratching my head. +1 for a clearer warning message.