New Tasks Scheduler - Edit a Saved Task
- Dominant language
- TypeScript
- Stars
- 117
- Forks
- 51
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 4
Description
## ACs
- If the user would like to edit the task, allow them to click "Edit Task" on the existing task log the same way they do today.
- Upon clicking edit task, if the saved task was created via the NEW task scheduler, then bring the user to NEW Tasks scheduler UI
- Once the user arrives at the NEW task scheduler UI via the "edit task" path, the header of the page should be "Edit Task". Lastly, the 'Schedule Task' button at the bottom of the page should display instead as "Update Task"
- The script associated with that saved task should be auto-selected in the 'edit task' page
- The "Update Task" button should be disabled until all required fields are filled in / selected.
- If the user clicks on "Update Task" they should be navigated back to the task run log page (task detail page) that exists today.
- Upon clicking edit task, if the saved task was created via the OLD task UI, then navigate the user to the OLD UI. No changes are needed to the old UI as it will someday be sunset.
## Implementation
- The API will return task type to determine if a user created a task via the old scheduler (raw flux) vs the new scheduler (saved script). This will need to be fetched on the task list.
- See Invokable Scripts API here: https://docs.influxdata.com/influxdb/cloud/api/#operation/PostScripts
- Edit Task Figma: https://www.figma.com/file/r91KxurPL3VQ7JMqc9Ldqo/New-Tasks-Experience?node-id=1754%3A42541
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.