diff --git a/packages/frontend/.storybook/main.ts b/packages/frontend/.storybook/main.ts
index 9d1c517ea..b6b7a6272 100644
--- a/packages/frontend/.storybook/main.ts
+++ b/packages/frontend/.storybook/main.ts
@@ -5,9 +5,9 @@ import restart from 'vite-plugin-restart';
const config = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
- '@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
+ '@storybook/addon-links',
'@storybook/addon-storysource',
'../node_modules/storybook-addon-misskey-theme',
],
@@ -21,6 +21,9 @@ const config = {
core: {
disableTelemetry: true,
},
+ features: {
+ interactionsDebugger: true,
+ },
async viteFinal(config, options) {
return mergeConfig(config, {
plugins: [
diff --git a/packages/frontend/.storybook/preview.ts b/packages/frontend/.storybook/preview.ts
index fb5065b36..85910f8ed 100644
--- a/packages/frontend/.storybook/preview.ts
+++ b/packages/frontend/.storybook/preview.ts
@@ -90,7 +90,9 @@ const preview = {
popups: misskeyOS.popups,
};
},
- template: '',
+ template:
+ '' +
+ '',
};
},
],
diff --git a/packages/frontend/package.json b/packages/frontend/package.json
index 20463ac80..e4be6c13e 100644
--- a/packages/frontend/package.json
+++ b/packages/frontend/package.json
@@ -79,11 +79,12 @@
"@storybook/addons": "7.0.0-rc.5",
"@storybook/blocks": "7.0.0-rc.6",
"@storybook/core-events": "7.0.0-rc.6",
+ "@storybook/jest": "0.0.10",
"@storybook/manager-api": "7.0.0-rc.6",
"@storybook/preview-api": "7.0.0-rc.6",
"@storybook/react": "7.0.0-rc.6",
"@storybook/react-vite": "7.0.0-rc.6",
- "@storybook/testing-library": "^0.0.14-next.1",
+ "@storybook/testing-library": "0.0.14-next.1",
"@storybook/theming": "7.0.0-rc.6",
"@storybook/types": "7.0.0-rc.6",
"@storybook/vue3": "7.0.0-rc.6",
diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue
index 9e3022896..e513a65a3 100644
--- a/packages/frontend/src/components/MkMenu.vue
+++ b/packages/frontend/src/components/MkMenu.vue
@@ -1,5 +1,5 @@
-
+
e.preventDefault()"
>
-
-
+
+
{{ item.text }}
-
+
-
+
{{ item.text }}
-
+
{{ item.text }}
-