From f5b81de82e430256cc0f3f419712471b4fc8523f Mon Sep 17 00:00:00 2001 From: Eyal Bukchin Date: Wed, 10 Jan 2024 17:46:43 +0200 Subject: [PATCH 1/3] Make some changes to the menu --- .vscode/launch.json | 2 +- package.json | 4 ++-- src/api.ts | 2 +- src/status.ts | 14 +++++++------- 4 files changed, 11 insertions(+), 11 deletions(-) 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/package.json b/package.json index 13d6e867..e4685ebb 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "title": "Select active configuration" }, { - "command": "mirrord.submitFeedback", + "command": "mirrord.joinDiscord", "category": "mirrord", "title": "Submit feedback" }, @@ -142,7 +142,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/')); } } From 874e1d30db1dfa517bcff0495b988194b2940e0a Mon Sep 17 00:00:00 2001 From: Eyal Bukchin Date: Wed, 10 Jan 2024 17:48:25 +0200 Subject: [PATCH 2/3] Changelog --- changelog.d/+make-changes-to-menu.changed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/+make-changes-to-menu.changed.md 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 From 2d36007bfc6207ecdc8019e12e56d43586bbda93 Mon Sep 17 00:00:00 2001 From: Eyal Bukchin Date: Wed, 10 Jan 2024 20:25:24 +0200 Subject: [PATCH 3/3] Update package.json Co-authored-by: t4lz --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f5400d36..440a0274 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ { "command": "mirrord.joinDiscord", "category": "mirrord", - "title": "Submit feedback" + "title": "Join our Discord" }, { "command": "mirrord.help",