Skip to content

Conversation

@mofojed
Copy link
Member

@mofojed mofojed commented Jul 20, 2021

  • Add onbeforeunload listener at the app level to prompt when closing the tab
  • For testing, you need to have interacted with the page (click or keyboard) or else prompt will not show
  • Removed unused disconnect/restart session wiring

Fixes #84

- Add onbeforeunload listener at the app level to prompt when closing the tab
- For testing, you need to have interacted with the page (click or keyboard) or else prompt will not show
- Removed unused disconnect/restart session wiring

Fixes deephaven#84
@mofojed mofojed added enhancement New feature or request web-client-ui labels Jul 20, 2021
@mofojed mofojed added this to the July 2021 milestone Jul 20, 2021
@mofojed mofojed requested a review from dsmmcken July 20, 2021 13:59
@mofojed mofojed self-assigned this Jul 20, 2021
Copy link
Contributor

@dsmmcken dsmmcken left a comment

Choose a reason for hiding this comment

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

I am just assuming this doesn't impact enterprise.

@mofojed mofojed merged commit 3aa2235 into deephaven:main Jul 21, 2021
@mofojed mofojed deleted the 84-prompt-on-close branch July 21, 2021 11:53
@mofojed mofojed mentioned this pull request Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request web-client-ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prompt before closing console

2 participants