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

adding toast when tasks are created #7269

Open
axel7083 opened this issue May 21, 2024 · 4 comments
Open

adding toast when tasks are created #7269

axel7083 opened this issue May 21, 2024 · 4 comments

Comments

@axel7083
Copy link
Contributor

axel7083 commented May 21, 2024

Is your feature request related to a problem? Please describe

When we have a new task created (notification) we should have it showed up as a toast, to properly notify the user, something is happening

Describe the solution you'd like

image

Describe alternatives you've considered

No response

Additional context

We are already using the https://github.com/zerodevx/svelte-toast library for some toaster item (rarely used)

notification.mp4

We should probably extract the TaskItem component, and use it as custom toast1.

Footnotes

  1. https://github.com/zerodevx/svelte-toast?tab=readme-ov-file#send-svelte-component-as-a-message

@deboer-tim
Copy link
Collaborator

Personally, I would find this annoying. I would prefer we draw attention to the task manager (so the user knows where to look to get future task status) and have a constant indication/animation within the UI that there is a running task (e.g. on status bar).

@benoitf
Copy link
Collaborator

benoitf commented May 21, 2024

Discussed during the call, I like the toasts, also there are not so many tasks being created. And toasts can be time-based or required click. To me it does not prevent to draw attention to the task manager, but you don't want to click sometimes to the task manager, you just want to see something being created/in progress. Also it can disappear when it's done anyway

@axel7083
Copy link
Contributor Author

cc @ekidneyrh for opinion

@ekidneyrh
Copy link
Contributor

I think the toast is a good idea, I would have at the bottom of the screen however, so it makes to user look down near the task bar. I maybe wouldn't have it time based unless it's a very short message like 'file created!' etc.

If the message is corresponding with an icon in the task bar, we could make the bubble come out of that icon to notify the user they are related, then they know to keep an eye there for further progress?

Would there be a set amount of use cases for this? like start, error, done etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants