chore: remove Figma extension, open Storybook/Element Web in browser tabs

This commit is contained in:
David Langley 2026-04-07 13:11:07 +00:00
parent 3f876840f9
commit b7632a384a
3 changed files with 8 additions and 19 deletions

View File

@ -39,8 +39,7 @@
},
"extensions": [
"GitHub.copilot",
"GitHub.copilot-chat",
"figma.figma-vscode-extension"
"GitHub.copilot-chat"
]
}
}

View File

@ -92,8 +92,8 @@ function activate(context) {
if (ready) {
sbItem.text = "$(beaker) Storybook: Open \u25b8";
sbItem.tooltip = "Storybook Playground is ready — click to open";
sbItem.command = "storybookLauncher.openPreview";
await openStorybookPreview();
sbItem.command = "storybookLauncher.openInBrowser";
await openStorybookInBrowser();
} else {
sbItem.text = "$(warning) Storybook: Not Started";
sbItem.tooltip = "Storybook did not start. Try: pnpm run storybook:design";
@ -106,8 +106,8 @@ function activate(context) {
if (ready) {
ewItem.text = "$(globe) Element Web: Open \u25b8";
ewItem.tooltip = "Element Web is ready — click to open";
ewItem.command = "elementWebLauncher.openPreview";
await openElementWebPreview();
ewItem.command = "elementWebLauncher.openInBrowser";
await openElementWebInBrowser();
} else {
ewItem.text = "$(circle-outline) Element Web: Not Started";
ewItem.tooltip = "Run \u2018pnpm run start:element-web\u2019 to start the app";

View File

@ -2,7 +2,7 @@
"name": "storybook-launcher",
"displayName": "Storybook Launcher",
"description": "Quick access to the Storybook Playground from the Activity Bar",
"version": "0.0.3",
"version": "0.0.6",
"publisher": "element-hq",
"engines": {
"vscode": "^1.80.0"
@ -17,20 +17,10 @@
"title": "Open Storybook Playground In Browser",
"icon": "$(globe)"
},
{
"command": "storybookLauncher.openPreview",
"title": "Open Storybook Playground Preview",
"icon": "$(open-preview)"
},
{
"command": "elementWebLauncher.openInBrowser",
"title": "Open Element Web In Browser",
"icon": "$(globe)"
},
{
"command": "elementWebLauncher.openPreview",
"title": "Open Element Web Preview",
"icon": "$(open-preview)"
}
],
"viewsContainers": {
@ -57,11 +47,11 @@
"viewsWelcome": [
{
"view": "storybookLauncher.welcome",
"contents": "Open the AI Prototype story in Storybook.\n\n[$(globe) Open Storybook Playground In Browser](command:storybookLauncher.openInBrowser)\n\n[$(open-preview) Open In Editor Preview](command:storybookLauncher.openPreview)\n\nYou can reopen this panel any time from the **Element** icon in the Activity Bar on the left."
"contents": "Open the AI Prototype story in Storybook.\n\n[$(globe) Open Storybook Playground In Browser](command:storybookLauncher.openInBrowser)"
},
{
"view": "elementWebLauncher.welcome",
"contents": "Open the full Element Web app for in-context prototyping.\n\nStart it first with `pnpm run start:element-web` — it will open automatically when ready.\n\n[$(globe) Open Element Web In Browser](command:elementWebLauncher.openInBrowser)\n\n[$(open-preview) Open In Editor Preview](command:elementWebLauncher.openPreview)"
"contents": "Open the full Element Web app for in-context prototyping.\n\n[$(globe) Open Element Web In Browser](command:elementWebLauncher.openInBrowser)"
}
],
"menus": {