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

Node Explorer: Some error message improvements #169

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

tylersmalley
Copy link
Contributor

@tylersmalley tylersmalley commented Aug 4, 2023

Using a Tree View Item as a button to trigger a command, which we are doing, is explicitly called out as a "Don't" in the UX Guidelines.

To adhere to this, we should use an inline context for the external docs link.

On hover, you see the following:

Tailscale not running:

image

Running but not logged in:

image

@@ -316,8 +321,9 @@
"title": "Attach VS Code"
},
{
"command": "tailscale.openExternal",
"title": "Open External Link"
"command": "tailscale.node.openDocsLink",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I renamed it to improve the tooltip for the inline context.

Using a Tree View Item as a button to trigger a command, which we are doing, is explitally [called out](https://code.visualstudio.com/api/ux-guidelines/views#tree-views) as a "Don't" in the UX Guidelines.

Signed-off-by: Tyler Smalley <tyler@tailscale.com>
@tylersmalley tylersmalley merged commit 717cc79 into main Aug 4, 2023
2 checks passed
@tylersmalley tylersmalley deleted the tyler/improve-errors branch August 4, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants