Add pull requests to git blame tooltip (#10784)
Release Notes: - Added links to GitHub pull requests to the git blame tooltips, if they are available. Screenshot: (Yes, the icon will be resized! cc @iamnbutler) 
This commit is contained in:
parent
70427daed2
commit
f082344747
8 changed files with 145 additions and 20 deletions
|
@ -121,6 +121,7 @@ pub enum IconName {
|
|||
WholeWord,
|
||||
XCircle,
|
||||
ZedXCopilot,
|
||||
PullRequest,
|
||||
}
|
||||
|
||||
impl IconName {
|
||||
|
@ -222,6 +223,7 @@ impl IconName {
|
|||
IconName::WholeWord => "icons/word_search.svg",
|
||||
IconName::XCircle => "icons/error.svg",
|
||||
IconName::ZedXCopilot => "icons/zed_x_copilot.svg",
|
||||
IconName::PullRequest => "icons/pull_request.svg",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue