Repository navigation
山陽電車風テーマを追加 - #7143
山陽電車風テーマを追加#7143
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedWe couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (24)
Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour. 📝 WalkthroughWalkthrough山陽電車風テーマを追加しました。山陽電鉄本線と網干線にテーマを割り当て、専用ヘッダーと駅案内表示を実装しました。テーマ設定、翻訳、通過駅処理、音声案内の対応も追加しました。 Changes山陽電車風テーマ
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue was established; the change is ready to merge after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
うさぎは青い矢印を見つけた Comment |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
概要
山陽電車風テーマを追加します。山陽電気鉄道の車内表示の写真をもとに、ヘッダー・路線図・種別の表示を新しく作りました。設定画面のテーマ一覧から、すべてのビルドで選べます。
変更の種類
変更内容
APP_THEME.SANYOを追加し、テーマ一覧・説明文(日本語と英語)・プレビュー画像・代表色を登録しました。HeaderSanyo)TrainTypeBoxSanyo)は、種別色の地に種別名を2段で出します。上の段は日本語、下の段は読みか他の言語です。LineBoardSanyo)useRefreshLeftStationsの条件を、JR西日本風・LED・山陽電車風の一覧にまとめています。回帰リスクと対策
useRefreshLeftStationsの条件を一覧にまとめ直しました。JR西日本風とLEDの動作は変えていません。既存のテストがそのまま通ることと、山陽電車風のケースを加えたテストで確かめています。補足
sanyo-sp.webp/sanyo-tablet.webp)は、Android タブレット実機の走行画面を切り出した仮の画像です。右上の開発用の表示は塗りつぶしています。ほかのテーマと同じ端末の枠入りの画像には、あとで差し替えます。テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ることヘッダー・種別の箱・路線図のテストを追加しました。路線図では、直通先でもバーの色が変わらないこと、通過駅がある区間にだけ「>」が出ることなどを確かめています。あわせて Android タブレット実機(T12_ROW、
.localビルド)で、山陽電鉄本線の直通特急を走らせて表示を確認しました。関連Issue
Closes #7141
スクリーンショット(任意)
T12_ROW(Android タブレット実機、開発用表示を塗りつぶし)
山陽電車風テーマの走行画面(直通特急 大阪梅田ゆき、次は飾磨)
🤖 Generated with Claude Code
Summary by CodeRabbit