チューニング画面を廃止し設定画面から開発者向けセクションを削除 - #6630
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TQwaU562LMNnu96xUrsQse
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (5)
📝 WalkthroughWalkthrough
Changes開発者向けチューニング設定の削除
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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.
概要
チューニング画面(
TuningSettings)を廃止し、設定画面から「開発者向け」セクションおよび「チューニング」メニューを削除しました。あわせて、この削除によって参照元がなくなった翻訳キーを ja/en 双方から除去しています。変更の種類
変更内容
src/components/TuningSettings.tsxを削除src/index.tsxからTuningSettingsの import とStack.Screen登録を削除src/screens/AppSettings.tsxから、SETTING_ITEM_ID_MAPのdeveloper_tuning・アイコン解決のdeveloper_tuningケース・developerItemsのuseMemo・「開発者向け」セクションの JSX を削除assets/translations/{ja,en}.jsonから、本変更で参照元がなくなった以下のキーを削除tuning/tuningItemTiming/tuningItemHeaderDelay/tuningItemHeaderDuration/tuningItemBottomTransitionDelay/headerDelayTooShortErrorText/nanErrorText/disableDevOverlay/forDevelopersリグレッションリスクと緩和策
isDevAppでガードされており、本番ビルドには元から表示されていません。設定画面のパーソナライズ/アプリについての各セクションは無変更です。TuningSettingsルートへの遷移:navigation.navigate('TuningSettings')の呼び出し箇所は設定画面のみで、リポジトリ全体を検索して他に遷移元がないことを確認済みです(ディープリンク・クイックアクションからの参照もなし)。local2のみ)であることを検証しました。tuningStateatom は据え置き:telemetryEnabled/untouchableModeEnabledは試験的機能設定画面から、devOverlayEnabledは走行画面の長押しアクションシート(Permitted.tsx)から引き続き操作されるため、atom 自体は削除していません。headerTransitionInterval/headerTransitionDelay/bottomTransitionIntervalはチューニング画面が唯一の書き込み口だったため、本変更以降は書き込み手段がなくなります。Permitted.tsxのストレージ復元処理は残しているので、既に値を保存済みのカナリア利用者は変更不能なカスタム値を保持し続けます。これらを atom から削除してDEFAULT_*定数へ一本化する対応は、6 ファイルと atom をモックしている約 10 のテストファイルに波及するため、別途対応が必要であれば切り出します。tuningItemTTS*/tuningItemLocationAccuracyは本変更以前から未使用のため、無関係な差分を混ぜないよう今回は温存しています。テスト
ローカルで以下を実行し、すべて成功することを確認しました(
node_modules未インストール状態だったため事前にnpm installを実行。差分の出たpackage-lock.jsonはコミットに含めていません)。npm run lint— 626 ファイル、指摘なしnpm test— 214 suites / 2247 tests すべて成功npm run typecheck— エラーなしnpm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
設定画面から「開発者向け」セクションが消える差分ですが、カナリアビルド限定の表示かつ実機ビルドを起動できる環境がないため、スクリーンショットは未添付です。
🤖 Generated with Claude Code
https://claude.ai/code/session_01TQwaU562LMNnu96xUrsQse
Generated by Claude Code
Summary by CodeRabbit