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

Fixes issue #28695 with tooltips in Activity Bar #28783

Merged
merged 1 commit into from
Jun 16, 2017
Merged

Fixes issue #28695 with tooltips in Activity Bar #28783

merged 1 commit into from
Jun 16, 2017

Conversation

brandedoutcast
Copy link

Fixes #28695 by making the tool tips consistent

@mention-bot
Copy link

@rohithkumbharkar, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bpasero and @joaomoreno to be potential reviewers.

@msftclas
Copy link

@rohithkumbharkar,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@@ -310,6 +310,10 @@ export class ViewletActionItem extends ActivityActionItem {
public render(container: HTMLElement): void {
super.render(container);

if (this._keybinding) {
Copy link
Member

Choose a reason for hiding this comment

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

@rohithkumbharkar I have a different suggestion where to put this code that makes it much easier. If you look below in that class there is a public set keybinding(keybinding: string). I suggest to set the title in there because it gets computed there:

this.$label.title(title);
this.$badge.title(title);
this.$container.title(title); // <-- add it here

@bpasero bpasero added this to the June 2017 milestone Jun 15, 2017
@bpasero bpasero self-assigned this Jun 15, 2017
@brandedoutcast
Copy link
Author

@bpasero Yup totally makes sense for some reason I thought I couldn't access $container in there. Made the changes

@bpasero bpasero merged commit 5059f47 into microsoft:master Jun 16, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When hovering over vertical menu tooltips, icons have shortcuts in them, but wrapper buttons don't
5 participants