summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/menu
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-04-22 05:35:49 +0000
committerClaude <noreply@anthropic.com>2026-04-22 05:35:49 +0000
commiteeafe2f0f3a3718bd52e9c333894e1abbc0611ab (patch)
tree68ba329f0cadd64333fb5d72587f684fc38a500a /android-app/app/src/main/res/menu
parent3cddcd3b0a8719da5e828734a1d3054cef803235 (diff)
feat: vessel registry, crew management, and thermal alarm
- Vessel/CrewMember data classes with full profile fields (MMSI, callsign, flag, home port, hull type, dimensions, roles) - VesselRepository: in-memory CRUD for own vessel, fleet, and crew; getOwnVessel(), getSkipper(), getCrewByRole() helpers - VesselRegistryFragment: own-vessel card + crew list + known-vessels list; AlertDialog editors for add/edit; long-press to delete - ic_vessel.xml sailboat icon; 5th bottom-nav tab "Vessel" - ThermalMonitor: thermalFlow() using Intent.ACTION_BATTERY_CHANGED (battery °C) + PowerManager.OnThermalStatusChangedListener (API 29+); ThermalState OK/WARM/HOT/CRITICAL with distinct-until-changed filter - MainActivity: startThermalMonitoring() sounds mob_alarm + Toast on HOT (≥45°C) and CRITICAL (≥50°C); auto-silences on OK/WARM - MainViewModel: thermalState and thermalReading StateFlows - 18 VesselRepositoryTest cases — all GREEN (test-runner) - design.md: updated competitive matrix + feature implementation status https://claude.ai/code/session_011h2dXbgXg3PesQMmQUNTCW
Diffstat (limited to 'android-app/app/src/main/res/menu')
-rw-r--r--android-app/app/src/main/res/menu/bottom_nav_menu.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/menu/bottom_nav_menu.xml b/android-app/app/src/main/res/menu/bottom_nav_menu.xml
index b29fb08..5f444eb 100644
--- a/android-app/app/src/main/res/menu/bottom_nav_menu.xml
+++ b/android-app/app/src/main/res/menu/bottom_nav_menu.xml
@@ -16,4 +16,8 @@
android:id="@+id/nav_safety"
android:icon="@drawable/ic_safety"
android:title="Safety" />
+ <item
+ android:id="@+id/nav_vessel"
+ android:icon="@drawable/ic_vessel"
+ android:title="Vessel" />
</menu>