Skip to content

操作系レイアウト調整・文言変更 - #5633

Merged
TinyKitten merged 5 commits into
devfrom
fix/control-layouts
Mar 22, 2026
Merged

TinyKitten merged 5 commits into
devfrom
fix/control-layouts

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Mar 22, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • ローカライズ

    • 英語表記を「Arrival notifications」に、日本語表記を「駅到着時に通知」「終着駅に設定」など短いラベル表現に更新しました。
  • スタイル

    • カード/モーダル内のパディングと要素間スペースを調整し、トグルや設定画面のフォントサイズをタブレット表示に合わせて統一しました。

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

coderabbitai Bot commented Mar 22, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1a2a8ead-f0b8-4f12-bd12-d44d7d787001

📥 Commits

Reviewing files that changed from the base of the PR and between b286f2e and 0452f76.

📒 Files selected for processing (1)
  • src/components/RouteInfoModal.tsx
✅ Files skipped from review due to trivial changes (1)
  • src/components/RouteInfoModal.tsx

📝 Walkthrough

Walkthrough

英語・日本語の翻訳文言を更新し、複数コンポーネントのスタイル(パディング統合、不要スタイル削除、トグルやタイトルのフォントサイズをレスポンシブ化)を変更しました。表示テキストとスタイル定義のみの変更です。

Changes

Cohort / File(s) Summary
翻訳文字列の更新
assets/translations/en.json, assets/translations/ja.json
enableNotificationModeの英語訳を「Enable arrival notifications」→「Arrival notifications」に変更。日本語はenableNotificationModeを「到着通知を有効にする」→「駅到着時に通知」、setAsTerminusを「終着駅に設定する」→「終着駅に設定」に変更。
CommonCard コンポーネント
src/components/CommonCard.tsx
expandableContentスタイルでpaddingVertical/paddingHorizontalとgapを廃止し、padding: 12へ統合(子要素間の明示的gapを削除)。
RouteInfoModal コンポーネント
src/components/RouteInfoModal.tsx
subtitleおよびexpandableToggleStatePanelスタイルを削除。expandableToggleTextLight/expandableToggleTextLEDに対してisTablet判定でのフォントサイズ(タブレット時 RFValue(12)、それ以外 RFValue(14))を追加。ToggleButtonへはstatePanelStyleを渡さなくなった。
ToggleButton コンポーネント
src/components/ToggleButton.tsx
タイポグラフィ調整:styles.text.fontSizeとstyles.stateIndicatorText.fontSizeをRFValue(12)に縮小(以前はRFValue(14))。表示・制御ロジックは変更なし。
ThemeSettings スクリーン
src/screens/ThemeSettings.tsx
SettingsItemのタイトルをインラインスタイルからstyles.titleへ移動。styles.titleはflex: 1・fontWeight: 'bold'を維持し、fontSizeをisTabletでRFValue(12)/RFValue(14)に切替。

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 ぴょんと直したよ、ことばとすたいる
パディングはまとまって、文字はちょっと小さく
トグルが軽やかに、表示が整ったよ
うさぎはニコリ、にんじんで乾杯 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed プルリクエストのタイトルは、翻訳文言の変更とレイアウト調整という複数の変更内容を正確に反映しており、変更セット全体の主要な内容を明確に要約しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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/control-layouts

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

@TinyKitten
TinyKitten merged commit 7cd184b into dev Mar 22, 2026
5 checks passed
@TinyKitten
TinyKitten deleted the fix/control-layouts branch March 22, 2026 08:27
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