Skip to content

Add tooltips to extension navbar #49825

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

Merged
merged 3 commits into from
May 16, 2018
Merged

Conversation

InspectorDeno
Copy link
Contributor

Adds clarity to the extension details by adding tooltips, as mentioned in #47586.
extension-navbar-tooltip

const run = () => this._update(id);
const action = new Action(id, label, null, true, run);

if (!action.tooltip) {
Copy link
Member

Choose a reason for hiding this comment

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

I do not think you need to check for existing tooltip. You can set it to given tooltip always

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. No need for that then :)

What do you think of the captions as
Details -> Extension details
Contributions -> Extension contributions to VS Code editor
Changelog -> Extension changelog
Dependencies -> Extension dependencies

Got a comment and suggestions in #47586 about them being a bit "automatically generated" wich I guess is true. But they're also informative, which was the issue to begin with.
Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

Tooltips can be informative.. I think it makes sense to accept the suggestions from there.

@sandy081 sandy081 added this to the May 2018 milestone May 15, 2018
@InspectorDeno
Copy link
Contributor Author

Check for existing tooltip is removed. Captions changed to:
Details -> Extension details, rendered from the extension's 'README.md' file
Contributions -> Extension contributions to VS Code editor
Changelog -> Extension update history, rendered from the extension's 'CHANGELOG.md' file
Dependencies -> Extension dependencies, lists other extensions this extension depends on

@sandy081
Copy link
Member

LGTM

Thanks @InspectorDeno

@sandy081 sandy081 merged commit 06f568f into microsoft:master May 16, 2018
@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.

2 participants