Repository navigation
DevOverlayの速度表示もrawLocationの生の測位値から取得するよう変更 - #6119
Merged
Merged
Conversation
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 (2)
📝 WalkthroughWalkthroughDevOverlay コンポーネントが速度表示に使用するアトムの参照元をフィルタ済み Changes速度表示の参照元切り替え
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
4 of 9 tasks
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.
概要
DevOverlay(開発者向け診断オーバーレイ)の速度表示を、EMA スムージング・速度フィルタ後の
locationAtomではなく、フィルタ前の生の測位値であるrawLocationAtomから取得するように変更しました。これまで生データだったのは精度(accuracy)のみで、速度(CURRENT SPEED)は補正後の値を表示していたため、診断用途に合わせて速度も生の値を常に表示するようにします。変更の種類
変更内容
DevOverlay.tsxの速度参照元をlocationAtomからrawLocationAtomに変更(rawLocationAtomはhandleTrackingLocationがフィルタ前に記録する生のLocationObjectで、速度を含む)。locationAtomの import を削除。DevOverlay.test.tsxの速度系テストをrawLocation駆動に更新し、既定のrawLocationにspeedを追加。テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ることnpx jest src/components/DevOverlay.test.tsx(31 件成功)、npm run typecheck(エラーなし)、biome ci(対象2ファイル・指摘なし)を実行済み。関連Issue
スクリーンショット(任意)
Generated by Claude Code
Summary by CodeRabbit
リリースノート
Bug Fixes
Tests