diff options
| author | Claude <noreply@anthropic.com> | 2026-05-28 07:35:00 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-28 07:35:00 +0000 |
| commit | e16a5257f5c02034cd9703f465b1ec006d4bb1b0 (patch) | |
| tree | 264f0f4342eef2bc4e50a9533d63185f9d99c629 /docs | |
| parent | d25fbc7664133bedab51b3da61581ef42c69ab8d (diff) | |
Tech debt: Room list fast-path, delete AnchorWatchHandler orphan, LogbookRepository thread safety
Room fast-path (item 3):
- TrackEntity.toShallowSavedTrack() reconstructs SavedTrack from cached summary
data using two placeholder TrackPoints that preserve correct endMs for logbook
filtering without parsing GPX
- TrackRepository.getSavedTracksFromRoom() returns shallow tracks sorted by startMs
- MainViewModel.init{} now shows Room data immediately (no spinner on warm start),
then replaces with full GPX-parsed tracks once background load completes
AnchorWatchHandler orphan (item 4):
- Deleted ui/anchorwatch/AnchorWatchHandler.kt — the anchor depth/rode form was
inlined into SafetyFragment; this Fragment had no navigation entry points left
- Deleted layout/fragment_anchor_watch.xml (only referenced by the deleted Fragment)
LogbookRepository thread safety (item 6):
- Added @Synchronized to save(), getAll(), and reload() to prevent concurrent
mutation of the entries list and nextId counter across coroutine contexts
https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
