-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Highlight Toggled State of Toolbar Items #8968
Highlight Toggled State of Toolbar Items #8968
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well for me, and the code looks good for the most part, with a couple of minor issues.
examples/api-samples/src/browser/view/sample-unclosable-view-contribution.ts
Outdated
Show resolved
Hide resolved
What It Does Adds a sample toolbar item (add/plus icon) to the sample view toolbar that can be toggled. Signed-off-by: seantan22 <[email protected]>
0388507
to
5088583
Compare
Fixes [eclipse-theia#8312](eclipse-theia#8312) What It Does - Renders toolbar items with a highlighted background if in a toggled state. How To Test 1. Go to View -> Sample Unclosable View 2. Click on the toolbar item (add/plus icon) to toggle and observe that a highlighted background appears behind the toolbar icon. Signed-off-by: seantan22 <[email protected]>
5088583
to
f3482c5
Compare
The code looks good to me. @vince-fugnitto or @marechal-p, would you be willing to give it a once over to make sure it isn't doing something in the example views that shouldn't be done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me 👍
I can merge the updates tomorrow if there are no objections.
What it does
Fixes #8312
How to test
observe that a highlighted background appears behind the toolbar icon.
Review checklist
Reminder for reviewers
Signed-off-by: seantan22 [email protected]