Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to synchronous workflow #13

Merged
merged 8 commits into from
Nov 17, 2023
Merged

Switch to synchronous workflow #13

merged 8 commits into from
Nov 17, 2023

Conversation

julien-nc
Copy link
Member

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:

vokoscreenNG-2023-11-15_15-35-46.mp4

Bored:

vokoscreenNG-2023-11-15_15-39-55.mp4

Copy link
Member

@nimishavijay nimishavijay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Great that this is possible! :)
How about some small icon and wording changes?

  • "Your task is running" --> "Getting results..."
  • "If it takes too long..." --> The input (example "what is 2+2?") (ellipsize after 2 lines)
  • Remove icon for "Run in background" button (it seems a bit too close to a cancel operation button)
  • Scheduled modal: "Your task has been scheduled. You will receive a notification when it has finished" --> "Your task has been scheduled"
  • Subline: "You will receive a notification when it has finished"
  • Use a tertiary button for close button

Signed-off-by: Julien Veyssier <[email protected]>
Signed-off-by: Julien Veyssier <[email protected]>
@julien-nc
Copy link
Member Author

@nimishavijay Thanks for the feedback! All done:

vokoscreenNG-2023-11-16_11-53-55.mp4

Copy link
Member

@nimishavijay nimishavijay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice now! :)

@julien-nc julien-nc merged commit 757f9b1 into main Nov 17, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants