From ba70be67647ce2d6d6e38c1aa258472bcae9a76a Mon Sep 17 00:00:00 2001 From: Ronald A Richardson Date: Sat, 14 Mar 2026 05:04:18 -0400 Subject: [PATCH] feat: add description and shortcuts to registerHeaderMenuItem --- addon/extension.js | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/addon/extension.js b/addon/extension.js index b79a772..96f9627 100644 --- a/addon/extension.js +++ b/addon/extension.js @@ -6,7 +6,43 @@ export default { const widgetService = universe.getService('widget'); // Register in header menu - menuService.registerHeaderMenuItem('Developers', 'console.developers', { icon: 'code', priority: 2 }); + menuService.registerHeaderMenuItem('Developers', 'console.developers', { + icon: 'code', + priority: 2, + description: 'API keys, webhooks, socket channels, event logs, and developer tooling.', + shortcuts: [ + { + title: 'API Keys', + description: 'Create and manage API keys for authenticating your integrations.', + icon: 'key', + route: 'console.developers.api-keys', + }, + { + title: 'Webhooks', + description: 'Configure webhook endpoints to receive real-time event notifications.', + icon: 'webhook', + route: 'console.developers.webhooks', + }, + { + title: 'Sockets', + description: 'Monitor active WebSocket channels and connected clients.', + icon: 'plug', + route: 'console.developers.sockets', + }, + { + title: 'Events', + description: 'Browse the full history of platform events and payloads.', + icon: 'bolt', + route: 'console.developers.events', + }, + { + title: 'Logs', + description: 'Inspect API request and response logs for debugging.', + icon: 'terminal', + route: 'console.developers.logs', + }, + ], + }); // Register widgets const widgets = [