-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
packages/frontendClient side specific issue/PRClient side specific issue/PR🐛BugUnexpected behavior (Confirmed as an actual bug)Unexpected behavior (Confirmed as an actual bug)
Description
💡 Summary
非ログイン時にリバーシの対局ページ (/reversi/g/:gameId) を開くと、何も表示されない
packages/frontend/src/pages/reversi/game.vue では ensureSignin が使われているが、routerの定義では loginRequired: false となっている
そのためnot-foundが表示されず、ログインが促されない
| const $i = ensureSignin(); |
misskey/packages/frontend/src/router.definition.ts
Lines 589 to 593 in fc7655c
| }, { | |
| path: '/reversi/g/:gameId', | |
| component: page(() => import('@/pages/reversi/game.vue')), | |
| loginRequired: false, | |
| }, { |
misskey/packages/frontend/src/lib/nirax.ts
Lines 391 to 394 in fc7655c
| if (res.route.loginRequired && !this.isLoggedIn && 'component' in res.route) { | |
| res.route.component = this.notFoundPageComponent; | |
| res.props.set('showLoginPopup', true); | |
| } |
🥰 Expected Behavior
対局が表示される
🤬 Actual Behavior
何も表示されない
コンソールに Error: signin required と表示される
📝 Steps to Reproduce
- 非ログイン状態でリバーシの対局を開く
💻 Frontend Environment
* Misskey: 2026.1.0-beta.0🛰 Backend Environment (for server admin)
Do you want to address this bug yourself?
- Yes, I will patch the bug myself and send a pull request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
packages/frontendClient side specific issue/PRClient side specific issue/PR🐛BugUnexpected behavior (Confirmed as an actual bug)Unexpected behavior (Confirmed as an actual bug)
Type
Projects
Status
Done
