mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 04:36:21 +02:00
chore: remove Figma extension, open Storybook/Element Web in browser tabs
This commit is contained in:
parent
3f876840f9
commit
b7632a384a
@ -39,8 +39,7 @@
|
||||
},
|
||||
"extensions": [
|
||||
"GitHub.copilot",
|
||||
"GitHub.copilot-chat",
|
||||
"figma.figma-vscode-extension"
|
||||
"GitHub.copilot-chat"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user