diff --git a/CHANGELOG.md b/CHANGELOG.md index 17310ae7d81b6385433d4fa7f79150685dc346a4..a7cffbf4cd1ad91e2eb0686bd45f4261d25c9ed5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 2025.2.0 +### Note +- ページã®ã€Œã‚½ãƒ¼ã‚¹ã‚’見るã€æ©Ÿèƒ½ã¯å‰Šé™¤ã•ã‚Œã¾ã—㟠+ ### General - Fix: Docker ã®ãƒ“ルドã«å¤±æ•—ã™ã‚‹å•é¡Œã‚’ä¿®æ£ (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/883) @@ -8,6 +11,7 @@ - Fix: 一部環境ã§ã‚»ãƒ³ã‚·ãƒ†ã‚£ãƒ–ãªãƒ•ã‚¡ã‚¤ãƒ«ã‚’å«ã‚€ãƒŽãƒ¼ãƒˆã®éžè¡¨ç¤ºãŒåŠ¹ã‹ãªã„å•é¡Œ - Fix: データセーãƒãƒ¼æœ‰åŠ¹æ™‚ã«ã‚‚ユーザーページã®ã€Œãƒ•ã‚¡ã‚¤ãƒ«ã€ã‚¿ãƒ–ã§ç”»åƒãŒèªã¿è¾¼ã¾ã‚Œã¦ã—ã¾ã†å•é¡Œã‚’ä¿®æ£ - Fix: MFMã® `sparkle` エフェクトãŒæ£ã—ã表示ã•ã‚Œãªã„å•é¡Œã‚’ä¿®æ£ +- Fix: ページã®URLã«ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã«ãƒšãƒ¼ã‚¸ãŒæ£ã—ã表示ã•ã‚Œãªã„å•é¡Œã‚’ä¿®æ£ - ãƒãƒ¼ã‚«ãƒ©ã‚¤ã‚¼ãƒ¼ã‚·ãƒ§ãƒ³ã®æ›´æ–° ### Server diff --git a/packages/frontend/src/pages/page.vue b/packages/frontend/src/pages/page.vue index a1bec52f18109c068d900e7b225a22500fbecf93..d9ad7babb7910c66d975f8a34ccbeed06b01ad59 100644 --- a/packages/frontend/src/pages/page.vue +++ b/packages/frontend/src/pages/page.vue @@ -266,7 +266,7 @@ function showMenu(ev: MouseEvent) { if ($i && $i.id === page.value.userId) { menuItems.push({ icon: 'ti ti-pencil', - text: i18n.ts.editThisPage, + text: i18n.ts.edit, action: () => router.push(`/pages/edit/${page.value.id}`), }); @@ -285,10 +285,6 @@ function showMenu(ev: MouseEvent) { } } else if ($i && $i.id !== page.value.userId) { menuItems.push({ - icon: 'ti ti-code', - text: i18n.ts._pages.viewSource, - action: () => router.push(`/@${props.username}/pages/${props.pageName}/view-source`), - }, { icon: 'ti ti-exclamation-circle', text: i18n.ts.reportAbuse, action: reportAbuse, diff --git a/packages/frontend/src/router/definition.ts b/packages/frontend/src/router/definition.ts index 732b209a36c1a5ed5dd7ea7fec611ca63d722222..217954a7bb41fdd8a5782d6d1a6f724602a9e225 100644 --- a/packages/frontend/src/router/definition.ts +++ b/packages/frontend/src/router/definition.ts @@ -17,10 +17,7 @@ export const page = (loader: AsyncComponentLoader) => defineAsyncComponent({ }); const routes: RouteDef[] = [{ - path: '/@:initUser/pages/:initPageName/view-source', - component: page(() => import('@/pages/page-editor/page-editor.vue')), -}, { - path: '/@:username/pages/:pageName', + path: '/@:username/pages/:pageName(*)', component: page(() => import('@/pages/page.vue')), }, { path: '/@:acct/following',