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

Fix some API inconsistencies related to web views #12091

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

tsmaeder
Copy link
Contributor

What it does

Fixes a typing difference in createWebViewPanel as well as support for filtering command links via an array of command id's passed to enableCommandUris.

Fixes #12087

Contributed on behalf of STMicroelectronics

How to test

The attached extension opens three web views at startup: one where the openFolder link works, but openFile is disabled, one where command links are generally enabled and one where they are generally turned off.

Review checklist

Reminder for reviewers

Fixes eclipse-theia#12087

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <[email protected]>
@tsmaeder
Copy link
Contributor Author

Here's the extension:

commanduritest-0.0.1.zip

And here's the source:

commanduritest.zip

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@msujew msujew added vscode issues related to VSCode compatibility webviews issues related to webviews labels Jan 20, 2023
@paul-marechal paul-marechal merged commit 866d2ec into eclipse-theia:master Jan 25, 2023
@paul-marechal paul-marechal added this to the 1.34.0 milestone Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility webviews issues related to webviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix some inconsistencies in webview VS Code API
3 participants