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

Move onDidChangeActiveTextEditor event registration behind feature flag #18283

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

caohai
Copy link
Member

@caohai caohai commented Oct 18, 2024

This PR fixes #18285
In #18192, the onDidChangeActiveTextEditor event handler was setup without checking the rich UI feature flag. This causes an error log in the dev console every time the user switches the editor tab if they don't have the rich UI flag turned on.
Note this does not break other features, just output error message to the dev console.
Screenshot 2024-10-18 at 16 21 49

Copy link

PR Changes

Category Main Branch PR Branch Difference
Code Coverage 49.87% 50.05% $${\color{lightgreen} .18\% }$$
VSIX Size 11657 KB 11656 KB $${\color{lightgreen} -1 KB \space (0\%) }$$
Webview Bundle Size 2984 KB 2984 KB $${\color{lightgreen} 0 KB \space (0\%) }$$

@caohai caohai merged commit 56694bd into main Oct 18, 2024
7 checks passed
@caohai caohai deleted the hacao/query-result-editor-event branch October 18, 2024 23:45
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.

Error Message in dev console: Cannot read property of undefined, reading webview
3 participants