From 6ea6bb39678dcc7c0e7b787286eba0f425c346d9 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 6 Apr 2026 03:54:52 +0000 Subject: chore: update worklog — instrument sheet redesign in progress, tasks 1-2 done MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agent/worklog.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to '.agent') diff --git a/.agent/worklog.md b/.agent/worklog.md index 95bd266..56078b5 100644 --- a/.agent/worklog.md +++ b/.agent/worklog.md @@ -1,6 +1,46 @@ # SESSION_STATE.md ## Current Task Goal +Instrument Sheet Visual Redesign — IN PROGRESS (2026-04-06) + +**Plan:** `docs/superpowers/plans/2026-04-04-instrument-sheet-visual-redesign.md` +**Spec:** `docs/superpowers/specs/2026-04-04-instrument-sheet-visual-redesign.md` + +### Progress +- [x] Task 1: Remove report buttons + fix touch-through — **DONE** (commit `2d86c0b`) +- [x] Task 2: Update typography styles — **DONE** (commit `e79b678`) +- [ ] Task 3: Create `DirectionArrowView` — pending +- [ ] Task 4: Create `WaveView` — pending +- [ ] Task 5: Restructure `layout_instruments_sheet.xml` — pending +- [ ] Task 6: Refactor `InstrumentHandler` — pending +- [ ] Task 7: Update `MainActivity` — wire new views and fix units — pending + +### What's being built +A visual redesign of the instrument bottom sheet: +- Animated wave canvas divider (swell height/period + wind waves + whitecaps) replacing the plain divider between instruments and forecast +- Sky-blue gradient above wave, ocean blue below +- `DirectionArrowView`: 14dp inline chevron compass indicator in two palettes (SKY grey / OCEAN blue) +- Direction arrows inline with numeric values in all relevant cells +- `°` baked into HDG/COG values (not a separate unit label) +- Forecast cells: value on line 1, [arrow] bearing on line 2 (swell adds period) +- Imperial units: feet for depth, wave height, swell height (all converted from metres) +- Forecast labels: "Current" (not "Curr"), "Waves" (not "Wave"), no section header +- Touch-through prevention: clickable/focusable on root layout +- Reports section removed + +### Key files +| File | Status | +|---|---| +| `layout_instruments_sheet.xml` | Partially done (Task 1 applied; full restructure in Task 5) | +| `DirectionArrowView.kt` | Not created yet | +| `WaveView.kt` | Not created yet | +| `InstrumentHandler.kt` | Not refactored yet | +| `MainActivity.kt` | Task 1 applied; Task 7 changes pending | +| `themes.xml` / `dimens.xml` | Done | + +--- + +## Previous Task Goal Section 7.4 Trip Reporting & Enhanced Tracks — COMPLETE (2026-04-04) ## Verified (2026-04-04) -- cgit v1.2.3