Add install as an option when extension is selected. (#20358)

This commit is contained in:
David Pierce
2026-03-02 20:41:16 +00:00
committed by GitHub
parent 66530e44c8
commit 3a7a6e1540
3 changed files with 66 additions and 2 deletions
@@ -280,7 +280,9 @@ async function exploreAction(
type: 'custom_dialog' as const,
component: React.createElement(ExtensionRegistryView, {
onSelect: (extension) => {
debugLogger.debug(`Selected extension: ${extension.extensionName}`);
debugLogger.log(`Selected extension: ${extension.extensionName}`);
void installAction(context, extension.url);
context.ui.removeComponent();
},
onClose: () => context.ui.removeComponent(),
extensionManager,