Skip to content

LineDotの到着予想分数のフォントを他要素と統一(RobotoBold)に変更 - #6330

Merged
TinyKitten merged 1 commit into
devfrom
fix/linedot-estimated-minutes-bold-font
Jul 2, 2026
Merged

TinyKitten merged 1 commit into
devfrom
fix/linedot-estimated-minutes-bold-font

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Jul 2, 2026 •

Copy link
Copy Markdown
Member

概要

LineDotの到着予想分数のテキストで使用するフォントを、他要素と同じ FONTS.RobotoBold に統一しました。

変更の種類

  • バグ修正
  • 新機能
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

  • estimatedMinutesText の fontWeight: '600' 指定をやめ、FONTS.RobotoBold を指定するよう変更
  • 見た目を整えるため letterSpacing: -1 を追加

テスト

  • npm run lint が通ること
  • npm test が通ること
  • npm run typecheck が通ること

関連Issue

スクリーンショット(任意)

@TinyKitten TinyKitten self-assigned this Jul 2, 2026
@github-actions github-actions Bot added the react label Jul 2, 2026
@coderabbitai

coderabbitai Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

LineDot.tsx にて estimatedMinutes オーバーレイのテキストスタイルを変更しました。FONTS の import を追加し、estimatedMinutesText の fontWeight を fontFamily: FONTS.RobotoBold と letterSpacing: -1 に置き換えています。

Changes

フォントスタイル調整

Layer / File(s) Summary
estimatedMinutesText のフォント変更
src/components/LineBoard/shared/components/LineDot.tsx
FONTS の import を追加し、estimatedMinutesText の fontWeight を FONTS.RobotoBold ベースの fontFamily と letterSpacing: -1 に置き換え。

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • TrainLCD/MobileApp#6321: estimatedMinutes オーバーレイを追加した元のPRで、今回のスタイル調整はこの表示部分に対するもの。

Poem

フォントを変えて うさぎ跳ねる 🐰
RobotoBold で キリッと締まる
letterSpacing -1 で ぎゅっと寄せて
時間の数字も かっこよく見せて
ぴょんぴょん喜ぶ 小さな更新

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed タイトルはLineDotの到着予想分数フォントをRobotoBoldへ統一する主変更を正確に要約しています。
Description check ✅ Passed テンプレートの主要セクションが埋まっており、概要・変更内容・テストが具体的で十分です。
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/linedot-estimated-minutes-bold-font

Comment @coderabbitai help to get the list of available commands.

@TinyKitten TinyKitten changed the title LineDotの到着予想分数がsemibold指定でも太字にならない不具合を修正 LineDotの到着予想分数のフォントを他要素と統一(RobotoBold)に変更 Jul 2, 2026
@TinyKitten
TinyKitten merged commit 45bbc77 into dev Jul 2, 2026
6 checks passed
@TinyKitten
TinyKitten deleted the fix/linedot-estimated-minutes-bold-font branch July 2, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant