Add Report Issues button to startup notification

This commit is contained in:
B Harper
2025-10-28 09:29:59 +11:00
parent 2f45e2f723
commit fb9251f793
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -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 @"
}
}
}
+9 -5
View File
@@ -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;
}
});
}