From fb9251f793de5d76a81d21eb46098e8676ff5681 Mon Sep 17 00:00:00 2001 From: B Harper Date: Tue, 28 Oct 2025 09:29:59 +1100 Subject: [PATCH] Add Report Issues button to startup notification --- package.json | 2 +- src/extension.ts | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index f3b3f95..0ff4351 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "humanagent-mcp.notifications.showStartup": { "type": "boolean", "default": true, - "description": "Show startup notification when HumanAgent MCP extension is activated" + "description": "HumanAgent MCP extension is new - I would appreciate any issues or suggestions logged @" } } } diff --git a/src/extension.ts b/src/extension.ts index 2545ce1..37de389 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -162,10 +162,11 @@ export async function activate(context: vscode.ExtensionContext) { if (showStartupNotification) { vscode.window.showInformationMessage( - 'HumanAgent MCP Extension Started Successfully! 🚀', + 'HumanAgent MCP Extension is a new tool - please report any issues or suggestions on GitHub!', 'Open Chat', 'Show Status', - 'Don\'t Show Again' + 'Report Issues' + // 'Don\'t Show Again' ).then(selection => { switch (selection) { case 'Open Chat': @@ -174,10 +175,13 @@ export async function activate(context: vscode.ExtensionContext) { case 'Show Status': vscode.commands.executeCommand('humanagent-mcp.showStatus'); break; - case 'Don\'t Show Again': - notificationConfig.update('notifications.showStartup', false, vscode.ConfigurationTarget.Global); - vscode.window.showInformationMessage('Startup notifications disabled. You can re-enable them in settings.'); + case 'Report Issues': + vscode.env.openExternal(vscode.Uri.parse('https://github.com/3DTek-xyz/HumanAgent-MCP/issues')); break; + // case 'Don\'t Show Again': + // notificationConfig.update('notifications.showStartup', false, vscode.ConfigurationTarget.Global); + // vscode.window.showInformationMessage('Startup notifications disabled. You can re-enable them in settings.'); + // break; } }); }