Skip to content

feat: アプリ内のフッターを1行にし、練習中は出さない - #191

Merged
Tatsu723 merged 1 commit into
mainfrom
feat/compact-footer
Nov 26, 2026
Merged

Tatsu723 merged 1 commit into
mainfrom
feat/compact-footer

Conversation

@Tatsu723

@Tatsu723 Tatsu723 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

概要

UI/UX改善計画書の B2。サークル紹介つきの大きなフッターがどの画面にも出て、スマホでは練習画面の下に毎回スクロール1画面分ほどの余白ができていました。

#190(B3、style/type-scale)の上に積んでいます。B3 でフッターの文字サイズ・色を変えているためです。#190 をマージしたら base を main に変えてください。

変更

ページ フッター
トップ(/) これまでどおりの大きなフッター
アプリ内(学習履歴・My単語帳・学習教材・ログインなど) 「お問い合わせ」「©年 ut.code();」の1行
暗記学習・クイズ・★復習(/my-notebooks/:id/(study|quiz|review)、/share/:id/(study|quiz)) 出さない
  • 振り分けは app/lib/shared/footer-variant.ts(純粋関数、footer-variant.test.ts で単体テスト)
  • Footer が useLocation で振り分けるので、root.tsx は変えていない

確認

🤖 Generated with Claude Code

サークル紹介つきの大きなフッターがどの画面にも出て、スマホでは練習画面の下に
毎回スクロール1画面分ほどの余白ができていた。

- 大きなフッターはトップページだけにする
- アプリ内の画面は「お問い合わせ」と「©年 ut.code();」の1行にする
- 暗記学習・クイズ・★復習(共有リンクも含む)の最中は出さない
- どのページでどれを出すかは lib/shared/footer-variant.ts にまとめ、単体テストする

UI/UX改善計画書 B2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 50.33% 1715 / 3407
🔵 Statements 49.88% 1929 / 3867
🔵 Functions 38.27% 377 / 985
🔵 Branches 37.37% 887 / 2373
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
app/lib/shared/footer-variant.ts 100% 100% 100% 100%
Generated in workflow #87 for commit e64a3d3 by the Vitest Coverage Report Action

Base automatically changed from style/type-scale to main November 26, 2026 00:04
@Tatsu723
Tatsu723 merged commit da75415 into main Nov 26, 2026
8 checks passed
@Tatsu723
Tatsu723 deleted the feat/compact-footer branch November 26, 2026 00:04
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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