Skip to content

Commit

Permalink
Adds go to home view button to the commit graph title section
Browse files Browse the repository at this point in the history
  • Loading branch information
nzaytsev authored and sergeibbb committed Dec 23, 2024
1 parent 6942498 commit 5228438
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

### Added

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

### Fixed
Expand Down
15 changes: 15 additions & 0 deletions src/webviews/apps/plus/graph/GraphWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,21 @@ export function GraphWrapper({
</span>
</span>
</GlTooltip>
<GlTooltip placement="bottom">
<a
href={'command:gitlens.views.home.focus'}
className="action-button"
aria-label={`Open GitLens Home View`}
>
<span>
<CodeIcon className="action-button__icon" icon={'gl-gitlens'} aria-hidden="true" />
</span>
</a>
<span slot="content">
<strong>GitLens Home</strong> — track, manage, and collaborate on your branches and pull
requests, all in one intuitive hub
</span>
</GlTooltip>
{(subscription == null || !isSubscriptionPaid(subscription)) && (
<GlFeatureBadge
source={{ source: 'graph', detail: 'badge' }}
Expand Down

0 comments on commit 5228438

Please sign in to comment.