diff options
| author | Claude <noreply@anthropic.com> | 2026-06-03 00:53:10 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-06-03 00:53:10 +0000 |
| commit | 4ce5fc170d1ac450764e5f7443e6cfaf089e9918 (patch) | |
| tree | b7721763f62026bc4c46fb9f645934627577ac42 /.agent/worklog.md | |
| parent | 994ddaf2ec8d8aace4fef72a214df31e6ef134ef (diff) | |
Update worklog: tech debt sweep + trip report redesign (2026-06-03)
https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD
Diffstat (limited to '.agent/worklog.md')
| -rw-r--r-- | .agent/worklog.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.agent/worklog.md b/.agent/worklog.md index 01b7122..c023a13 100644 --- a/.agent/worklog.md +++ b/.agent/worklog.md @@ -8,6 +8,20 @@ ## Recently Completed +### Tech Debt + Trip Report Redesign — 2026-06-03 + +Six tech debt items closed and trip report rebuilt: + +1. **Ghost package deletion** — deleted all 18 `com/example/androidapp/` source files and 9 test files; fixed package declarations in the three tide model files that were in the right directory but had wrong package headers; migrated `HarmonicTideCalculatorTest` to `org.terst.nav.tide`. +2. **TackDetector dual-mirror** — replaced test-runner copy with a filesystem symlink to the android-app canonical source (`../../../../../../../../android-app/.../TackDetector.kt`). +3. **Forecast current-hour slot** — `addGpsPoint()` now matches current UTC hour prefix against `timeIso` instead of always taking `firstOrNull()`. +4. **Room list fast-path** — `TrackEntity.toShallowSavedTrack()` + `getSavedTracksFromRoom()` serve the saved-tracks list immediately from Room before GPX parsing completes. +5. **Delete AnchorWatchHandler orphan** — removed `AnchorWatchHandler.kt` and `fragment_anchor_watch.xml` (dead code, functionality already embedded in SafetyFragment). +6. **LogbookRepository thread safety** — `@Synchronized` on `save()`, `getAll()`, `reload()`; `onSafDirectorySelected` calls `logbookRepository.reload()`. +7. **CI fix** — `VoiceLogFragment` was passing only `onSelect` to `SavedTrackAdapter`; fixed to pass both `onSelect` and `onReport`. +8. **Remove "GENERATE TRIP REPORT" button** — button and click handler removed from Log tab (`VoiceLogFragment` + layout); report auto-generates on open, RETRY appears only on error. +9. **Trip report redesign** — replaced monospace text block with: full-bleed 260dp MapLibre track map, structured stats row, conditions row (seas/temp), log entries with full-width 220dp photo thumbnails, pirate mode Easter egg via long-press title. All speeds/temps/depths use `UnitPrefs`. + ### Backlog Sweep — 2026-05-27 All five backlog items closed: 1. **Pirate mode** (trip report Easter egg) — long-press title toggles dialect; done in prior session. |
