Skip to content

Commit

Permalink
Adds "Start Work" shortcut to the "Home" view
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeibbb authored and chivorotkiv committed Nov 11, 2024
1 parent b9bb96a commit 92e485d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/webviews/apps/home/components/feature-nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,21 @@ export class GlFeatureNav extends GlElement {
class="nav-list__access"
></gl-feature-badge>
</div>
<div class="nav-list__item">
<a class="nav-list__link" href="command:gitlens.startWork" aria-label="Start Work"
><code-icon class="nav-list__icon" icon="rocket"></code-icon
><gl-tooltip hoist class="nav-list__group" content="Start Work"
><span class="nav-list__label">Start Work</span
><span class="nav-list__desc">New!</span></gl-tooltip
>
</a>
<gl-feature-badge
.source=${this.badgeSource}
.subscription=${this._state.subscription}
placement="left"
class="nav-list__access"
></gl-feature-badge>
</div>
<div class="nav-list__item">
<a
class="nav-list__link${this.blockRepoFeatures ? ' is-disabled' : ''}"
Expand Down

0 comments on commit 92e485d

Please sign in to comment.