As discussed with @jancborchardt, here is the synchronous workflow:
We always immediately run the task and wait for the result, showing a spinner in the UI. If users are bored to wait, they can click the schedule button which will stop the sync request and schedule the task just like before.
As discussed with @jancborchardt, here is the synchronous workflow: We always immediately run the task and wait for the result, showing a spinner in the UI. If users are bored to wait, they can click the schedule button which will stop the sync request and schedule the task just like before.
Sync:
https://github.com/nextcloud/assistant/assets/11291457/1e87f387-289c-44b0-b6c6-aa29b4234a01
Bored:
https://github.com/nextcloud/assistant/assets/11291457/52f7e20d-976a-407c-8c98-b0261935871f