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

feat(chat-panel): save chat state and reload state when webview reloading #3664

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

icycodes
Copy link
Member

@icycodes icycodes commented Jan 10, 2025

In VSCode, when a user drags the chat panel to another location, the webview is reloaded. To restore the chat state, this PR adds the fetchSessionState and storeSessionState interfaces. These interfaces store the chat state and reload it when the webview is reloaded.

@icycodes icycodes marked this pull request as draft January 10, 2025 01:16
@icycodes icycodes force-pushed the feat-chat-panel-persist-chat-state branch from 31270be to 99b0b02 Compare January 16, 2025 03:08
@icycodes icycodes changed the title feat(chat-panel): persist chat state feat(chat-panel): save chat state and reload state when webview reloading Jan 16, 2025
@icycodes icycodes marked this pull request as ready for review January 16, 2025 04:41
@icycodes icycodes requested a review from liangfung January 16, 2025 04:41
@icycodes icycodes merged commit 8fc3a79 into TabbyML:main Jan 16, 2025
3 checks passed
@icycodes icycodes deleted the feat-chat-panel-persist-chat-state branch January 16, 2025 08:07
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.

2 participants