Skip to content

Commit

Permalink
feat(gitpod): adjust community links
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuntley committed Jul 28, 2021
1 parent 0671120 commit b7f0408
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
20 changes: 14 additions & 6 deletions extensions/gitpod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,16 @@
"title": "%openDocumentation%"
},
{
"command": "gitpod.open.follow",
"title": "%openFollow%"
"command": "gitpod.open.twitter",
"title": "%openTwitter%"
},
{
"command": "gitpod.open.community",
"title": "%openCommunity%"
"command": "gitpod.open.discord",
"title": "%openDiscord%"
},
{
"command": "gitpod.open.discourse",
"title": "%openDiscourse%"
},
{
"command": "gitpod.reportIssue",
Expand Down Expand Up @@ -231,11 +235,15 @@
"group": "remote_00_gitpod_navigation@60"
},
{
"command": "gitpod.open.follow",
"command": "gitpod.open.twitter",
"group": "remote_00_gitpod_navigation@70"
},
{
"command": "gitpod.open.community",
"command": "gitpod.open.discord",
"group": "remote_00_gitpod_navigation@80"
},
{
"command": "gitpod.open.discourse",
"group": "remote_00_gitpod_navigation@80"
},
{
Expand Down
5 changes: 3 additions & 2 deletions extensions/gitpod/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"openSettings": "Gitpod: Open Settings",
"openContext": "Gitpod: Open Context",
"openDocumentation": "Gitpod: Documentation",
"openCommunity": "Gitpod: Open Community Forum",
"openFollow": "Gitpod: Follow us on Twitter",
"openDiscord": "Gitpod: Open Community Chat",
"openDiscourse": "Gitpod: Open Community Forum",
"openTwitter": "Gitpod: Follow us on Twitter",
"reportIssue": "Gitpod: Report Issue",
"stopWorkspace": "Gitpod: Stop Workspace",
"upgradeSubscription": "Gitpod: Upgrade Subscription",
Expand Down
7 changes: 5 additions & 2 deletions extensions/gitpod/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,13 @@ export async function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(vscode.commands.registerCommand('gitpod.open.documentation', () =>
vscode.env.openExternal(vscode.Uri.parse('https://www.gitpod.io/docs'))
));
context.subscriptions.push(vscode.commands.registerCommand('gitpod.open.community', () =>
context.subscriptions.push(vscode.commands.registerCommand('gitpod.open.discord', () =>
vscode.env.openExternal(vscode.Uri.parse('https://www.gitpod.io/chat'))
));
context.subscriptions.push(vscode.commands.registerCommand('gitpod.open.discourse', () =>
vscode.env.openExternal(vscode.Uri.parse('https://community.gitpod.io'))
));
context.subscriptions.push(vscode.commands.registerCommand('gitpod.open.follow', () =>
context.subscriptions.push(vscode.commands.registerCommand('gitpod.open.twitter', () =>
vscode.env.openExternal(vscode.Uri.parse('https://twitter.com/gitpod'))
));
context.subscriptions.push(vscode.commands.registerCommand('gitpod.reportIssue', () =>
Expand Down

0 comments on commit b7f0408

Please sign in to comment.