Repository navigation
乗換案内の対象駅を表示用次駅に揃えて接近中の駅名と乗換路線の不一致を解消 - #6360
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TnDsTfR5WnizgYErzWPo5n
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 39 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
概要
TTS の「まもなく」(ARRIVING) 案内で、駅名は
useDisplayNextStation(接近中は GPS 基準の接近駅)を読み上げる一方、乗換路線はuseTransferLines経由でuseNextStation(路線順の次駅)を参照しており、到着判定の取りこぼしで stationState が古くなると「まもなく A です。(B 駅の乗換路線)はお乗り換えです」という不整合が起き得た。乗換案内の対象駅を表示用次駅に揃えて解消する。変更の種類
変更内容
useTransferLinesの未到着時の対象駅をuseNextStation()からuseDisplayNextStation()に変更し、ヘッダー・TTS が「まもなく」で示す駅と乗換案内の対象駅を一致させたuseAfterNextStationがuseDisplayNextStation起点に修正済みで、useTransferLinesだけが残っていたuseTransferLines.test.tsxのモックをuseDisplayNextStationに差し替え、接近中は表示用次駅を対象にする意図をテスト名とコメントで明文化テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ることnpm testは 185 suites / 1958 tests 全通過。関連Issue
スクリーンショット(任意)
Generated by Claude Code