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

Improve various aspects of the Chat Window #29

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

thedemons
Copy link
Contributor

@thedemons thedemons commented Dec 14, 2023

  • The SetChatThemeAsync function was previously unreliable, occasionally failing to apply the theme. To improve reliability, the function now uses AddScriptToExecuteOnDocumentCreatedAsync to add the set-theme script to a list of scripts that are executed upon document load.
  • During the chat page loading process, a 10-second timeout has been added to verify if the page has loaded. If not, the user is notified and asked whether they wish to reload the chat.
  • As the webview2 operates as a separate HWND, clicking on it does not activate the ToolWindowPane (indicated by a purple strip on the title). This issue has been addressed by manually activating it during the GotFocus event. Additionally, the text input is now automatically focused for user convenience.

Also fixed a bug made in #25

@fortenforge fortenforge merged commit 3bd95df into Exafunction:main Dec 15, 2023
1 check passed
@thedemons thedemons deleted the improve-chat branch December 15, 2023 04:29
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