Skip to content

Add tooltips to extension navbar#49825

Merged
sandy081 merged 3 commits intomicrosoft:masterfrom
InspectorDeno:master
May 16, 2018
Merged

Add tooltips to extension navbar#49825
sandy081 merged 3 commits intomicrosoft:masterfrom
InspectorDeno:master

Conversation

@InspectorDeno
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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