Skip to content

Commit 8d00555

Browse files
Adds support to show home view via link
1 parent 94f1875 commit 8d00555

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/links.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ _{prefix}/command/{command}_
274274

275275
- _graph_ - Runs the `GitLens: Show Graph` command.
276276

277+
- _home_ - Runs the `GitLens: Show Home View` command.
278+
277279
- _inspect_ - Runs the `GitLens: Inspect Commit Details` command.
278280

279281
- _launchpad_ - Runs the `GitLens: Show Launchpad` command.

src/uris/deepLinks/deepLink.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export enum DeepLinkType {
2323
export enum DeepLinkCommandType {
2424
CloudPatches = 'cloud-patches',
2525
Graph = 'graph',
26+
Home = 'home',
2627
Inspect = 'inspect',
2728
Launchpad = 'launchpad',
2829
Walkthrough = 'walkthrough',
@@ -36,6 +37,7 @@ export function isDeepLinkCommandType(type: string): type is DeepLinkCommandType
3637
export const DeepLinkCommandTypeToCommand = new Map<DeepLinkCommandType, Commands>([
3738
[DeepLinkCommandType.CloudPatches, GlCommand.ShowDraftsView],
3839
[DeepLinkCommandType.Graph, GlCommand.ShowGraph],
40+
[DeepLinkCommandType.Home, GlCommand.ShowHomeView],
3941
[DeepLinkCommandType.Inspect, GlCommand.ShowCommitDetailsView],
4042
[DeepLinkCommandType.Launchpad, GlCommand.ShowLaunchpad],
4143
[DeepLinkCommandType.Walkthrough, GlCommand.GetStarted],

0 commit comments

Comments
 (0)