-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Replace custom view item tooltips with a richer UI with the markdown support (like hovers) #84032
Comments
Related, I would also really like these more advanced "hovers" to have a call back for when they would be shown. Because right now in GitLens, I sometimes have to make expensive calls when creating tree items, just to fill out the tooltip that is unlikely to be used (at least in relation to all the tree items). |
Here is a use-case for this and a dynamic callback. I'm adding a new feature to GitLens to provide the Pull Request which introduced a commit (if any), and I would love to have that information in the hover/tooltip of the commit nodes in the tree, but that query is far too expensive to run on every commit and the current tooltip doesn't provide any good way to interact with the information (e.g. click on a link to jump to the PR) |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding |
1 similar comment
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Would inline images work as well? |
Duplicate of #100741, since that's where the work happened. The markdown supports everything that the document hovers support. |
Currently the tooltip support on custom view items is limited to browser title attribute rendering. It would be great to replace that native tooltip support with a much richer UI -- maybe similar to hovers. This richer UI would support markdown just like hovers do today,
This would allow extensions like GitLens to provide a rich hover over custom view items, just like the blame hovers in the editor -- which would enable, links, commands, and just much richer formatting.
Here is a hover for commit
9f40bf03
:Here is the same tooltip for that same commit:
In the hover, there are links to email the user, open the PR, etc. Where as none of that is possible in the tooltip.
The text was updated successfully, but these errors were encountered: