Skip to content
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

Adds go to home view button to the commit graph title section #3877

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading