From e34df09b96f4ded3c25c5a14a0332a874205b64a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 26 May 2026 05:13:48 +0000 Subject: Add notes to finished tracks, single Nav voice, fix speed coloring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TrackDetailSheet: + Add note button opens a dialog with text, camera, and gallery. Entry is saved with timestampMs=track.endMs so it lands inside the track's time window and appears automatically in the event log. logEventAdapter.update() refreshes the list after save. - TripReportGenerator: removed NarrativeStyle enum and 4-style branch. generateNarrative() now emits a concise PASSAGE header (date, time range, duration), stats line (nm / avg kt / max kt), optional conditions (seas, temp), and a timestamped deck log. Fragment and layout updated to remove the ChipGroup style picker. - TrackColors: replaced Expression.get("color") — which silently fails for lineColor on LineLayer in MapLibre Android 11.x — with Expression.step(Expression.get("speed"), ...) that maps the numeric "speed" property directly to color literals. "color" string property removed from speedSegments() features. https://claude.ai/code/session_01YUbuZNDAoLea4cf9UGQ9qn --- .../src/main/res/layout/dialog_add_track_note.xml | 69 ++++++++++++++++++++++ .../src/main/res/layout/fragment_trip_report.xml | 62 ++----------------- .../main/res/layout/layout_track_detail_sheet.xml | 35 ++++++++--- 3 files changed, 102 insertions(+), 64 deletions(-) create mode 100644 android-app/app/src/main/res/layout/dialog_add_track_note.xml (limited to 'android-app/app/src/main/res/layout') diff --git a/android-app/app/src/main/res/layout/dialog_add_track_note.xml b/android-app/app/src/main/res/layout/dialog_add_track_note.xml new file mode 100644 index 0000000..639a27a --- /dev/null +++ b/android-app/app/src/main/res/layout/dialog_add_track_note.xml @@ -0,0 +1,69 @@ + + + + + + + +