From ec2bc313ba88477aeefcb5c943ed387de2883ee8 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Apr 2026 18:05:59 +0000 Subject: Add hidden dev log (long-press drag handle) NavLogger is a 200-entry in-memory ring buffer with format: HH:mm:ss.SSS LEVEL tag: message Entries are written at: - App start - First GPS fix (lat/lon/sog/cog) - fetchCurrentConditions: request params + full success summary (wind, temp, waves, swell, current) or exception class+message - fetchForecastItems: request params + item count or error DevLogSheet (BottomSheetDialogFragment) shows the log in a monospace ScrollView with Copy and Clear buttons. Trigger: long-press the drag handle bar on the instrument bottom sheet. Primary use: copy the log and paste it to Claude to diagnose conditions API failures without needing adb. https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX --- .../app/src/main/res/layout/sheet_dev_log.xml | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 android-app/app/src/main/res/layout/sheet_dev_log.xml (limited to 'android-app/app/src/main/res') diff --git a/android-app/app/src/main/res/layout/sheet_dev_log.xml b/android-app/app/src/main/res/layout/sheet_dev_log.xml new file mode 100644 index 0000000..5464242 --- /dev/null +++ b/android-app/app/src/main/res/layout/sheet_dev_log.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3