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

Show notification when connection to server is lost #196

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Mar 5, 2024

Emits a heartbeat event from the server every second. Shows a notification in the browser if no heartbeat event is received for 3 seconds.

Screenshot 2024-03-05 at 15 23 15

To QA, just start a Storybook dev server with VTA, open it in a browser, then kill the server.

Copy link
Contributor

@andrewortwein andrewortwein left a comment

Choose a reason for hiding this comment

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

📢 Nice touch! 👍🏻

Copy link
Contributor

@andrewortwein andrewortwein left a comment

Choose a reason for hiding this comment

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

📢 Nice touch! 👍🏻

@ghengeveld ghengeveld merged commit fa1dd69 into main Mar 5, 2024
6 checks passed
@ghengeveld ghengeveld deleted the ghengeveld/ap-4234-vta-when-session-is-closed-theres-no-indication-why-the-vta branch March 5, 2024 14:47
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.

None yet

3 participants