-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
SCM history: Show details on hover (fix #200378) #202262
Conversation
/assign @lszomoru |
@gjsjohnmurray, thank you very much for the pull request. I was thinking that for each incoming/outgoing entry we would want to show a rich hover similar to the timeline entry. If you do not have bandwidth to update the PR, I am happy to take it from here. |
I have pushed a change to make this display a Markdown-capable tooltip. I think the proposed API will probably need a |
I have added vscode.SourceControlHistoryItem.tooltip to the proposed API and used it from the Git extension. |
Please can this be reviewed (and merged 🤞) soon. I really like the new incoming/outgoing feature but it's tedious to have to widen my side bar to see the full commit messages and the authors. |
@lszomoru any chance this can be merged in time for February? |
Sorry for not getting back to you on this until now. The "Timeline" proposed API is "UI driven" so it makes sense for it to have a property with which the extension describes how the hover should look. "The History Provider" API is model driven so I do not think that we should be making any changes to the existing API. We should just use the existing information (author, message, etc) to render a rich hover. |
@lszomoru I think a history item "rich" hover will be impoverished if all it does is display untruncated the label and description properties of the item (which is what my original commit did, using a native tooltip). Please help me understand why you oppose allowing the extension that provides the item to also provide a markdown tooltip conveying whatever additional information the extension deems relevant. |
@lszomoru can I do anything to progress this? |
Closing in favour of #209373. |
This PR fixes #200378