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

Set retainContextWhenHidden to true (or add an option for it) #30

Closed
yzhang-gh opened this issue Mar 12, 2019 · 3 comments
Closed

Set retainContextWhenHidden to true (or add an option for it) #30

yzhang-gh opened this issue Mar 12, 2019 · 3 comments
Assignees
Labels
feature request Feature request nice to have A feature request that is nice to have (lower priority)
Projects
Milestone

Comments

@yzhang-gh
Copy link
Contributor

Describe the feature that you'd like

I really like the git log view because it looks neat. I am happy to give the webview more computing resources to avoid the flash when switching back from other tabs.

Additional context (optional)

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

@yzhang-gh yzhang-gh added the feature request Feature request label Mar 12, 2019
@mhutchie
Copy link
Owner

Thanks for suggestion!

When I first set up the Webview I didn’t know about retainContextWhenHidden, but I came across it last week and have been meaning to try it out. I’m curious to see what the experience is like and how much it impacts system resources. Depending on these results I’m definitely wanting to either: enable it all the time, provide the option to do so, or improve the existing experience when switching back to the Git Graph tab.

@mhutchie mhutchie added the nice to have A feature request that is nice to have (lower priority) label Mar 12, 2019
yzhang-gh added a commit to yzhang-gh/vscode-git-graph that referenced this issue May 18, 2019
@mhutchie mhutchie added this to the v1.6.0 milestone May 19, 2019
@mhutchie mhutchie added this to In Progress in Git Graph May 19, 2019
@mhutchie mhutchie removed their assignment May 19, 2019
mhutchie pushed a commit that referenced this issue May 19, 2019
…enable faster tab restoration

#30 New configuration property git-graph.retainContextWhenHidden, to enable faster tab restoration.
@mhutchie mhutchie moved this from In Progress to Ready For Release in Git Graph May 19, 2019
@mhutchie
Copy link
Owner

Thanks for making these changes and contributing to the Git Graph extension!

I'll finish off a few other feature requests in the next day, and then I'll create a beta release including this one. I'll reply here to let you know once it is available for you to download.

@mhutchie
Copy link
Owner

This will be available in v1.6.0.

If you'd like to use it before the next release, you can download v1.6.0-beta.0, and install it following the instructions provided here.

@mhutchie mhutchie moved this from Ready For Release to Released in Git Graph May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request nice to have A feature request that is nice to have (lower priority)
Projects
Git Graph
Released
Development

No branches or pull requests

2 participants