Skip to content

DOで次の駅が通過駅でも駅間距離を表示する - #5279

Merged
TinyKitten merged 1 commit into
devfrom
feature/do-next-station
Feb 14, 2026
Merged

TinyKitten merged 1 commit into
devfrom
feature/do-next-station

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Feb 14, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

リリースノート

  • 内部改善
    • 次の駅までの距離計算の処理方式を調整しました。

@github-actions github-actions Bot added the react label Feb 14, 2026
@coderabbitai

coderabbitai Bot commented Feb 14, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

ウォークスルー

このPRは、useNextStation フックの呼び出し方法を変更し、両方のファイルで明示的に false 引数を渡すように更新します。これにより、フックの動作が変わり、それに伴って次の駅のデータ取得と距離計算ロジックが影響を受けます。

変更内容

コホート / ファイル 概要
useNextStation フック呼び出しの更新
src/components/DevOverlay.tsx, src/hooks/useDistanceToNextStation.ts
useNextStation() の呼び出しに false 引数を明示的に渡すように変更。両ファイルで一貫して関数の動作が変更されます。

推定レビュー工数

🎯 1 (Trivial) | ⏱️ ~5分

関連の可能性のあるPR

推奨ラベル

react

ポエム

🐰 フックは呼び出される、新しい引数をもって、
次の駅は今、正しい道を進む、
シンプルな変更、大きな効果で、
コードは改善、動きもスムーズ!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 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.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into dev

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/do-next-station

No actionable comments were generated in the recent review. 🎉


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

@TinyKitten TinyKitten self-assigned this Feb 14, 2026
@TinyKitten
TinyKitten merged commit a8e74e8 into dev Feb 14, 2026
5 checks passed
@TinyKitten
TinyKitten deleted the feature/do-next-station branch February 14, 2026 00:26
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