Skip to content

山陽本線(姫路~岡山)・赤穂線の路線記号画像を修正 - #6316

Merged
TinyKitten merged 3 commits into
devfrom
fix/sanyo-line-himeji-okayama-symbol
Jun 28, 2026
Merged

TinyKitten merged 3 commits into
devfrom
fix/sanyo-line-himeji-okayama-symbol

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Jun 28, 2026 •

Copy link
Copy Markdown
Member

概要

山陽本線(姫路~岡山)区間・赤穂線の路線記号画像の参照を修正(カラー・グレースケール両方)

変更の種類

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

変更内容

  • 路線ID 11609(JR山陽本線 姫路~岡山)のシンボル画像参照を s2 → a に変更(カラー・グレースケール両方)
  • 路線ID 11631(赤穂線)の signPath と subSignPath を入れ替え(メイン: a、サブ: n)(カラー・グレースケール両方)

テスト

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

関連Issue

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

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

coderabbitai Bot commented Jun 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

ウォークスルー

src/lineSymbolImage.ts で、11609 の参照先を更新し、11631 の signPath と subSignPath を色付き・グレースケール両方で入れ替えた変更です。

変更内容

路線シンボル画像パス修正

レイヤー / ファイル 概要
路線画像参照先の更新
src/lineSymbolImage.ts
11609 の signPath を色付きマップとグレースケールマップで更新し、11631 の signPath / subSignPath を両マップで入れ替えた。

推定コードレビュー工数

🎯 1 (Trivial) | ⏱️ ~2 minutes

詩

🐇 ぴょんと見つけた 路線の小さな旅
a と n が 場所を交代
色も白黒も きちんとおそろい
山陽の道に ぴかりと目印
うさぎも納得 ふわっと一息 🌿

🚥 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 主要な変更点である山陽本線(姫路~岡山)と赤穂線の路線記号画像修正を適切に要約しています。
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/sanyo-line-himeji-okayama-symbol

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/lineSymbolImage.ts`:
- Line 175: The 11609 line symbol is inconsistent between the normal and
grayscale mappings: the color entry in the line symbol image map now points to
a.webp, but the grayscale variant for the same ID still uses the old asset.
Update the grayscale definition alongside the 11609 entry in lineSymbolImage so
both paths reference the same updated symbol asset, keeping the normal and
grayscale displays aligned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1bf193e7-939d-4162-b618-294663ff4590

📥 Commits

Reviewing files that changed from the base of the PR and between d5b9613 and ed78338.

📒 Files selected for processing (1)
  • src/lineSymbolImage.ts

Comment thread src/lineSymbolImage.ts Resolved
@TinyKitten TinyKitten changed the title 山陽本線(姫路~岡山)の路線記号画像をAに修正 山陽本線(姫路~岡山)・赤穂線の路線記号画像を修正 Jun 28, 2026
@TinyKitten
TinyKitten merged commit fd3fc02 into dev Jun 28, 2026
5 checks passed
@TinyKitten
TinyKitten deleted the fix/sanyo-line-himeji-okayama-symbol branch June 28, 2026 12:24
@TinyKitten TinyKitten mentioned this pull request Jun 28, 2026
4 of 9 tasks
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