Skip to content

Commit 5228438

Browse files
nzaytsevsergeibbb
authored andcommitted
Adds go to home view button to the commit graph title section
1 parent 6942498 commit 5228438

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
88

99
### Added
1010

11+
- Adds go to home view button to the commit graph title section — closes [#3873](https://github.com/gitkraken/vscode-gitlens/issues/3873)
1112
- Adds a _Contributors_ section to comparison results in the views
1213

1314
### Fixed

src/webviews/apps/plus/graph/GraphWrapper.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,21 @@ export function GraphWrapper({
12751275
</span>
12761276
</span>
12771277
</GlTooltip>
1278+
<GlTooltip placement="bottom">
1279+
<a
1280+
href={'command:gitlens.views.home.focus'}
1281+
className="action-button"
1282+
aria-label={`Open GitLens Home View`}
1283+
>
1284+
<span>
1285+
<CodeIcon className="action-button__icon" icon={'gl-gitlens'} aria-hidden="true" />
1286+
</span>
1287+
</a>
1288+
<span slot="content">
1289+
<strong>GitLens Home</strong> — track, manage, and collaborate on your branches and pull
1290+
requests, all in one intuitive hub
1291+
</span>
1292+
</GlTooltip>
12781293
{(subscription == null || !isSubscriptionPaid(subscription)) && (
12791294
<GlFeatureBadge
12801295
source={{ source: 'graph', detail: 'badge' }}

0 commit comments

Comments
 (0)