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

Avoid class-name based contribution filtering #13103

Merged

Conversation

tortmayr
Copy link
Contributor

@tortmayr tortmayr commented Nov 27, 2023

What it does

Update example to avoid class name based contribution filtering. Class names are minified in production which breaks the contribution filter.

Use instance of check instead.
Also mention this in the FilterContribution JS-Doc

Contributed on behalf of STMicroelectronics

How to test

Open command palette and verify that the command "example_command.filtered" is still filtered out and not available.

Follow-ups

Review checklist

Reminder for reviewers

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.

LGTM 👍

Update example to avoid class name based contribution filtering.
Class names are minified in production which breaks the contribution filter.

Use instance of check instead. 
Also mention this in the `FilterContribution` JS-Doc
@tortmayr tortmayr merged commit a574542 into eclipse-theia:master Nov 27, 2023
13 of 14 checks passed
@vince-fugnitto vince-fugnitto added this to the 1.44.0 milestone Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants