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

Toast API #675

Open
grantjbutler opened this issue Sep 7, 2023 · 0 comments
Open

Toast API #675

grantjbutler opened this issue Sep 7, 2023 · 0 comments

Comments

@grantjbutler
Copy link

This is coming out of some recent discussion from the Discord server. It'd be great if there was an API to use the toasts that NodeCG uses. Ideally this would be an API that would be both usable from a dashboard panel (which I would imagine would show in that specific instance of the dashboard and not across all dashboards) as well as usable from an extension (which I would imagine would show across all instances of the dashboard).

One of my use cases is that I connect with other services over things like WebSockets for realtime communication. It would be helpful to show a toast when a connection is lost or re-established with those services, similar to what the NodeCG dashboard does with the NodeCG backend.

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

No branches or pull requests

1 participant