Repository navigation
feat(dystopia): open post details in a sheet and fade tab content - #1545
Merged
panicboat merged 10 commits intoOct 17, 2026
Merged
Conversation
…creen changes Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
…body too Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
…on a plain click Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
…nd as a page by URL Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
…bookmark copy to the mock Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
… or deleting useSWRInfinite cache keys are skipped by matcher-form mutate in swr 2.5.1, so the lists never refreshed. Mutate the serialized infinite keys instead. Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
Pass the parent comment id so the delete mutates the reply list it belongs to. Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
…nk inside the post sheet Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
…ve profile changes Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
… search tab fade Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
panicboat
added this pull request to stack #1543
October 16, 2026 12:26
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Kustomize DiffService: No changes |
This was referenced Oct 16, 2026
panicboat
marked this pull request as ready for review
October 17, 2026 01:44
This was referenced Oct 17, 2026
Closed
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.
Why
#1517 のモックの「詳細は右からスライドするシートで開く」を、投稿詳細に当てます。第 4 段(カルテ以外の画面)を 4 つに分けたうちの 4a(投稿まわり)です。stack: #1521 → #1542 → #1544 → 本 PR。
Decisions
/posts/[id]を直接開いたときはページで出す。中身(投稿・コメント入力・コメント一覧)は 1 つの部品をシートとページで使うAppShellに 1 つだけ置き、小さな store から開くrouter.replaceで移動し、今のページへのリンクならシートを閉じるだけにするBug fix found while verifying
シートやページで書いたコメントが、一覧を作り直すまで出ませんでした。コメントの追加・削除のあとの取り直しが SWR の全体
mutateにキーを絞る関数を渡す形で、swr 2.5.1 はこの形で useSWRInfinite のキーを対象から外すためです(4a より前からある不具合)。一覧と同じキーをunstable_serializeで作って取り直す形に直しました。返信の一覧と削除も同じです。Known limitations
/searchのようにパスが同じでクエリだけ違う移動(シート内のハッシュタグ)では、シートが開いたまま残る。次の PR(4b)で直すVerification
pnpm exec vitest run→ 171 files / 741 tests passed、pnpm exec tsc --noEmitエラーなし、pnpm exec next build成功bin/grpc+next dev、puppeteer): 14 項目通過/posts/<id>を直接開くとページで出るDocs
docs/superpowers/specs/2026-10-16-dystopia-post-screens-design.mddocs/superpowers/plans/2026-10-16-dystopia-post-screens.mdRefs #1517
🤖 Generated with Claude Code
https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5