Skip to content

Replace custom view item tooltips with a richer UI with the markdown support (like hovers) #84032

Closed

Description

@eamodio

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:
image

Here is the same tooltip for that same commit:
image

In the hover, there are links to email the user, open the PR, etc. Where as none of that is possible in the tooltip.

Activity

  1. added
    feature-request
    tree-views
    on Nov 6, 2019
  2. eamodio commented on Dec 5, 2019

    @eamodio
    ContributorAuthor

    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).

  3. eamodio commented on Dec 5, 2019

    @eamodio
    ContributorAuthor

    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)

  4. vscodebot commented on Jan 15, 2020

    @vscodebot

    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!

  5. vscodebot commented on Mar 6, 2020

    @vscodebot

    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

  6. vscodebot commented on Mar 6, 2020

    @vscodebot

    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

  7. vscodebot commented on Mar 16, 2020

    @vscodebot

    🙁 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!

  8. tbennun commented on Jul 16, 2020

    @tbennun

    Would inline images work as well?

  9. alexr00 commented on Jul 17, 2020

    @alexr00
    Member

    Duplicate of #100741, since that's where the work happened.

    The markdown supports everything that the document hovers support.

  10. added
    *duplicate
    on Jul 17, 2020
  11. locked and limited conversation to collaborators on Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatefeature-requesttree-views

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions