Repository navigation
feat: 共有リンクから開いた人も単語帳のクイズを解けるようにする - #182
Merged
Merged
Conversation
/share/:id/quiz を追加し、共有ページに「クイズに挑戦」ボタンを置く。 QuizDeck を components に移し、readOnly では★の付け外し・回答と学習時間の記録をしない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Coverage Report
File CoverageNo changed files found. |
右端の列の月の見出しが列からはみ出しているため、Webフォントの読み込みで幅が変わると 初回にスクロールした位置が右端から外れていた。読み込み後、ユーザーが動かしていなければ合わせ直す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
共有リンク(
/share/:id)で単語帳を見ている人は暗記学習しか使えなかったため、クイズも解けるようにしました。変更点
/share/:id/quizを追加。ログイン不要で、非公開・存在しない単語帳は404、単語が無ければ共有ページへ戻す(共有の暗記学習ページと同じ挙動)QuizDeckをapp/components/my-notebooks/に移し、readOnlyを追加。共有リンクからは単語帳のメンバーではないので、★の付け外し・「★つきのみ」の出題・回答と学習時間の記録はしないついでの修正
確認
npm run lint/npm run typecheck/npm test/npm run format:checkが通ることを確認🤖 Generated with Claude Code