From 80aa2531144563e8a117ffd81f6dd6d9af8bd574 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 2 Jul 2026 02:56:25 +0000 Subject: fix+feat: layer cards, ocean floor, notifications, units, log, photos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Layer picker: - Fix blank cards: app:layout_columnWeight → android:layout_columnWeight (GridLayout children require android: namespace for weight attributes) - Add Distance unit chips (nm/km/mi) to UNITS section Map layers: - Fix ocean floor: use addLayerAbove(lastFillLayer) instead of addLayerAt(0) so base rasters appear above OFM water/land fills but below roads+labels - CardView elevation 16dp→4dp to eliminate visible shadow border Notifications: - Add POST_NOTIFICATIONS to manifest - Request it alongside location permissions on Android 13+ (TIRAMISU+) Conditions sheet: - showOverlay() now always hides bottom sheet (STATE_HIDDEN) so it can't leak onto non-map pages; bottom padding (80dp) added to Safety+Log panes Log entries: - Log entry form visible always (was only shown while recording) - Photo-only events filtered from track timeline; photos appear only when paired with real text in a log entry Anchor watch: - Inputs and output radius now use configured depth unit (ft/m) with label updates and ft→m conversion before calculation Photos: - Tap thumbnail in track event log → fullscreen dialog viewer Co-Authored-By: Claude Sonnet 4.6 --- android-app/app/src/main/assets/docs/safety.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 android-app/app/src/main/assets/docs/safety.md (limited to 'android-app/app/src/main/assets/docs/safety.md') diff --git a/android-app/app/src/main/assets/docs/safety.md b/android-app/app/src/main/assets/docs/safety.md new file mode 100644 index 0000000..f8bf85d --- /dev/null +++ b/android-app/app/src/main/assets/docs/safety.md @@ -0,0 +1,19 @@ +# Safety First + +Nav includes critical safety features that work offline. + +## MOB (Man Overboard) +The **MOB button** is always accessible in the Safety tab. +1. Tap the large **MOB** button immediately if someone falls overboard. +2. The app will record the current position and start a timer. +3. A large arrow will show the bearing and distance back to the MOB point. +4. An audible alarm will sound continuously. +5. Tap **RECOVERED** only once the person is safely back on board. + +## Anchor Watch +Monitor your boat's movement while at anchor. +1. Tap the **Anchor** icon in the Safety tab. +2. Configure your watch circle radius based on your scope. +3. Tap **SET ANCHOR** to start monitoring. +4. If your boat moves outside the circle, a high-priority alarm will sound. +5. The alarm works in the background even if the screen is off. -- cgit v1.2.3