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

Add state management to webviews #254

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

peterbom
Copy link
Contributor

@peterbom peterbom commented Oct 6, 2023

Courtesy of @hsubramanianaks: this avoids webviews losing their state when they are hidden.

See: https://code.visualstudio.com/api/extension-guides/webview#retaincontextwhenhidden

The next step will be to work on an alternative approach to address the documented concern that "this has high memory overhead and should only be used when other persistence techniques will not work".

Copy link
Collaborator

@hsubramanianaks hsubramanianaks left a comment

Choose a reason for hiding this comment

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

Thanks @peterbom for kind words. Without talking to you we wouldn't have found this state management issue. Looks good.

@Tatsinnit Tatsinnit merged commit dda4f38 into Azure:main Oct 6, 2023
4 checks passed
tejhan pushed a commit to tejhan/vscode-aks-tools that referenced this pull request Dec 4, 2024
Co-authored-by: Hariharan Subramanian <[email protected]>
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.

3 participants