Repository navigation
canary - #6641
Merged
Merged
canary#6641
Conversation
Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_018D7s4egv3rx21kgXMDfkyv
* プリセット保存時の始発駅指定フローを廃止して経路内の最寄駅から自動解決 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PWNLSQntywfT1pGEFs9bvb * プリセット保存の向き解決に実際の乗車駅を渡し通知駅の絞り込み範囲を向きから導出 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PWNLSQntywfT1pGEFs9bvb --------- Co-authored-by: Claude <[email protected]>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Co-authored-by: TinyKitten <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
変更の種類
変更内容
SavePresetNameModalから始発駅選択セクション(方向カード2枚・選択必須バリデーション)を削除し、onSubmitを(name: string) => voidに簡素化。ユーザーはプリセット名を入力するだけで保存できる。src/utils/presetRouteEndpoints.tsにresolvePresetSaveDirectionを追加。経路内の最寄駅(現在駅が駅一覧にあればその駅、無ければ座標距離で最も近い駅)から保存するdirectionを自動解決。SelectBoundModalのeffectiveStations(notifyStationIdsの絞り込み範囲)をpresetSaveDirectionから導出するよう変更し、保存する向きと通知駅の範囲がズレないよう整合。selectStartStationTitle/departureを ja/en 双方から削除。resolvePresetSaveDirectionのユニットテスト11件と、SelectBoundModal.render.test.tsxの向き決定テストを追加。app.config.ts/package.json/android/app/build.gradle/android/wearable/build.gradle.kts/ios/TrainLCD.xcodeproj/project.pbxproj: セマンティックバージョン10.12.1→10.12.2versionCodeは据え置き(canary 向けの採番はこの PR の open 後に自動 bump される)。テスト
origin/dev(a9ef8e7) をチェックアウトしてローカルで実行し、すべて成功することを確認しました。lint:
Checked 626 filesエラーなしtest: 215 suites / 2274 tests すべて成功
typecheck: エラーなし
npm run lintが通ることnpm testが通ることnpm run typecheckが通ることリグレッションリスク
saved_routesテーブル)は不変のため、既存プリセットの互換性に影響なし。getPresetOriginStation/usePresetStops)は変更していない。関連Issue
スクリーンショット(任意)