diff --git a/.vscode/launch.json b/.vscode/launch.json index 79a19501..8e485571 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -32,4 +32,4 @@ } } ] -} \ No newline at end of file +} diff --git a/changelog.d/+make-changes-to-menu.changed.md b/changelog.d/+make-changes-to-menu.changed.md new file mode 100644 index 00000000..dc6360f4 --- /dev/null +++ b/changelog.d/+make-changes-to-menu.changed.md @@ -0,0 +1 @@ +Add Discord to the menu diff --git a/package.json b/package.json index ff969fb6..440a0274 100644 --- a/package.json +++ b/package.json @@ -54,9 +54,9 @@ "title": "Select active configuration" }, { - "command": "mirrord.submitFeedback", + "command": "mirrord.joinDiscord", "category": "mirrord", - "title": "Submit feedback" + "title": "Join our Discord" }, { "command": "mirrord.help", @@ -152,7 +152,7 @@ "when": "true" }, { - "command": "mirrord.submitFeedback", + "command": "mirrord.joinDiscord", "when": "true" }, { diff --git a/src/api.ts b/src/api.ts index 88783fcc..faba8faf 100644 --- a/src/api.ts +++ b/src/api.ts @@ -437,7 +437,7 @@ function tickFeedbackCounter() { ); }) .withGenericAction("Feedback", async () => { - vscode.commands.executeCommand(MirrordStatus.submitFeedbackCommandId); + vscode.commands.executeCommand(MirrordStatus.joinDiscordCommandId); }) .withDisableAction('promptReview') .info(); diff --git a/src/status.ts b/src/status.ts index cfa57c5f..77d8432f 100644 --- a/src/status.ts +++ b/src/status.ts @@ -7,7 +7,7 @@ export class MirrordStatus { readonly statusBar: vscode.StatusBarItem; static readonly toggleCommandId = 'mirrord.toggleMirroring'; static readonly settingsCommandId = 'mirrord.changeSettings'; - static readonly submitFeedbackCommandId = 'mirrord.submitFeedback'; + static readonly joinDiscordCommandId = 'mirrord.joinDiscord'; static readonly mirrordForTeamsCommandId = 'mirrord.mirrordForTeams'; static readonly selectActiveConfigId = 'mirrord.selectActiveConfig'; static readonly helpCommandId = 'mirrord.help'; @@ -40,8 +40,8 @@ export class MirrordStatus { statusBar.tooltip.appendMarkdown(`\n\n[Select active config](command:${MirrordStatus.selectActiveConfigId})`); statusBar.tooltip.appendMarkdown(`\n\n[Settings](command:${MirrordStatus.settingsCommandId})`); statusBar.tooltip.appendMarkdown(`\n\n[mirrord for Teams](command:${MirrordStatus.mirrordForTeamsCommandId})`); - statusBar.tooltip.appendMarkdown(`\n\n[Submit Feedback](command:${MirrordStatus.submitFeedbackCommandId})`); - statusBar.tooltip.appendMarkdown(`\n\n[Help](command:${MirrordStatus.helpCommandId})`); + statusBar.tooltip.appendMarkdown(`\n\n[Get help on Discord](command:${MirrordStatus.joinDiscordCommandId})`); + statusBar.tooltip.appendMarkdown(`\n\n[Walkthrough](command:${MirrordStatus.helpCommandId})`); statusBar.show(); } @@ -57,7 +57,7 @@ export class MirrordStatus { })); globalContext.subscriptions.push(vscode.commands.registerCommand(MirrordStatus.settingsCommandId, configManager.changeSettings.bind(configManager))); globalContext.subscriptions.push(vscode.commands.registerCommand(MirrordStatus.toggleCommandId, this.toggle.bind(this))); - globalContext.subscriptions.push(vscode.commands.registerCommand(MirrordStatus.submitFeedbackCommandId, this.submitFeedback.bind(this))); + globalContext.subscriptions.push(vscode.commands.registerCommand(MirrordStatus.joinDiscordCommandId, this.joinDiscord.bind(this))); globalContext.subscriptions.push(vscode.commands.registerCommand(MirrordStatus.mirrordForTeamsCommandId, this.mirrordForTeams.bind(this))); globalContext.subscriptions.push(vscode.commands.registerCommand(MirrordStatus.helpCommandId, async () => { vscode.commands.executeCommand(`workbench.action.openWalkthrough`, `MetalBear.mirrord#mirrord.welcome`, false); @@ -89,11 +89,11 @@ export class MirrordStatus { this.draw(); } - submitFeedback() { - vscode.env.openExternal(vscode.Uri.parse('https://mirrord.dev/feedback')); + joinDiscord() { + vscode.env.openExternal(vscode.Uri.parse('https://discord.gg/metalbear')); } mirrordForTeams() { - vscode.env.openExternal(vscode.Uri.parse('https://mirrord.dev/docs/teams/introduction/')); + vscode.env.openExternal(vscode.Uri.parse('https://app.metalbear.co/')); } }