Skip to content

fix: compact the stratagem unlock card layout - #187

Merged
kxuxi merged 1 commit into
mainfrom
codex/47-compact-stratagem-unlock-card
Aug 16, 2026
Merged

fix: compact the stratagem unlock card layout#187
kxuxi merged 1 commit into
mainfrom
codex/47-compact-stratagem-unlock-card

Conversation

@kxuxi

@kxuxi kxuxi commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • 「計略解放まで」カードが全18項目を毎回並べていて見にくかったため、レイアウトを整理
  • 未解放の直近3件だけを表示(次に何を解放すべきかが一目でわかる)
  • 解放済み分は「解放済み(N件)を表示」トグルの裏に格納し、必要なときだけ確認できるように(全削除だと確認性が落ちるため件数トグルで対応)

Test plan

  • npx tsc --noEmit
  • npx vitest run(既存アサーションを新レイアウトに合わせて更新、直近3件キャップの回帰テストを追加)
  • npx eslint .
  • npm run build
  • ヘッドレスChromeでレンダリング結果を目視確認(18行→3行+トグルボタンに圧縮されたことを確認)

The list had grown to 18 rows across all thresholds, making the card
hard to scan. Show only the next 3 not-yet-unlocked effects, and
collapse already-unlocked ones behind a count toggle instead of
listing every row (removing them outright would lose confirmability).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
onore-analytics Ready Ready Preview Aug 16, 2026 11:16am

@kxuxi
kxuxi merged commit 3957abf into main Aug 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant