Commit Graph

915 Commits

Author SHA1 Message Date
James Rich 1e6a4235eb feat(map): add pulsing online indicator and satellite tile style
- Add animated pulsing ring behind online nodes using Compose
  InfiniteTransition (expanding radius + fading opacity)
- Add Satellite map style using free Esri World Imagery raster tiles
- Use BaseStyle.Json for inline raster style definition
- Derive baseStyle from selectedMapStyle (single source of truth)
- Update MapStyleTest to verify both Uri and Json style variants
- Update MapViewModelTest to use toBaseStyle() assertions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 12:10:53 -05:00
James Rich 883bb6ae48 feat(map): add node info bottom sheet on map tap
Show a compact bottom sheet with node name, last heard, battery, and
signal info when tapping a node marker. Users can tap 'View Details' to
navigate to the full node detail screen, preserving map context.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 12:10:53 -05:00
James Rich 4607c3f223 feat(map): inline map polish & location permission feedback
- InlineMap: add short name SymbolLayer label above marker
- InlineMap: adaptive zoom (zoom out for imprecise positions >500m)
- MapScreen: show snackbar when tapping location button without
  permission instead of silently doing nothing
- Add map_location_unavailable string resource

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 12:10:53 -05:00
James Rich 305ff2321f feat(map): add line gradient, zoom buttons, camera padding
- NodeTrackLayers: replace flat color with lineProgress() gradient
  (faded blue → vivid blue showing position age)
- MapControlsOverlay: add +/- zoom buttons in secondary toolbar
  (improves desktop/accessibility where pinch isn't natural)
- MapScreen: add padding to zoom-to-fit-all camera animation
  to avoid UI controls overlap
- Add lineProgress() expression helper (line-progress MapLibre expr)
- Add MeshtasticIcons.Remove (minus) icon

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 12:10:53 -05:00
James Rich 653955406e feat(map): add error/empty states, filter badge, and waypoint feedback
- Wire onMapLoadFail to Snackbar error message
- Add MapEmptyState overlay when no nodes have position data
- Add active filter count badge on filter button (BadgedBox)
- Show snackbar confirmation on waypoint send/delete
- Add string resources: map_empty_state, map_load_error,
  map_showing_filtered, waypoint_sent, waypoint_deleted

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 12:10:16 -05:00
James Rich 18dac2eb09 fix(map): resolve rebase issues and detekt violations
- Remove phantom dd-sdk-android-compose dependency (not in version catalog)
- Deduplicate strings.xml (29 duplicate entries from rebase conflicts)
- Add missing waypoint_lock_to_my_node string resource
- Fix license header year format (2025-2026 → 2026)
- Rename past-tense lambda params to present tense (detekt)
- Use rememberUpdatedState for lambdas in LaunchedEffect
- Fix composable parameter ordering (non-defaults before modifier)
- Cap cluster zoom increment at max zoom level (24)
- Suppress ModifierMissing on OfflineMapContent expect/actual

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-02 12:09:07 -05:00
James Rich 177f97abdd feat(map): online status indicators, zoom-to-fit-all, GeoJSON enrichment
- Add is_online and battery_level properties to node GeoJSON features
- Node marker strokes now show green (online) or gray (offline) using
  switch/condition expressions on the is_online boolean property
- Node labels display a colored status dot (●) via format/span rich text
- Add 'Zoom to Fit All Nodes' action in filter dropdown menu, computing
  bounding box from filteredNodes and animating camera with animateTo()
- Add 4 new GeoJSON converter tests for is_online and battery_level
2026-06-02 12:09:07 -05:00
James Rich 17dadf79c6 fix(map): address code review findings — precision, naming, icons, i18n
- Fix Int.toFloat() precision loss in track point filter by storing
  time as string in GeoJSON and using string-based equality comparison
- Rename MapStyle enum values to match actual tile styles: Satellite→Light
  (Positron), Hybrid→RoadMap (Americana), with updated string resources
- Reset bearingUpdate to IGNORE when gesture cancels location tracking
- Use LocationOn icon for ALWAYS_NORTH tracking mode instead of
  misleading LocationDisabled
- Remove dead isOfflineManagerAvailable() expect/actual declarations
- Replace hardcoded English strings in offline map UI with
  stringResource() calls backed by core:resources entries
2026-06-02 12:09:07 -05:00
James Rich 3d65da72e7 feat(map): replace Google Maps + OSMDroid with unified MapLibre Compose Multiplatform
Replace the dual flavor-specific map implementations (Google Maps for google,
OSMDroid for fdroid) with a single MapLibre Compose Multiplatform implementation
in feature:map/commonMain, eliminating ~8,500 lines of duplicated code.

Key changes:
- Add maplibre-compose v0.12.1 dependency (KMP: Android, Desktop, iOS)
- Create unified MapViewModel with camera persistence via MapCameraPrefs
- Create MapScreen, MaplibreMapContent, NodeTrackLayers, TracerouteLayers,
  InlineMap, NodeTrackMap, TracerouteMap, NodeMapScreen in commonMain
- Create MapStyle enum with predefined OpenFreeMap tile styles
- Create GeoJsonConverters for Node/Waypoint/Position to GeoJSON
- Move TracerouteMapScreen from feature:node/androidMain to commonMain
- Wire navigation to use direct imports instead of CompositionLocal providers
- Delete 61 flavor-specific map files (google + fdroid source sets)
- Remove 8 CompositionLocal map providers from core:ui
- Remove SharedMapViewModel (replaced by new MapViewModel)
- Remove dead google-maps and osmdroid entries from version catalog
- Add MapViewModelTest with 10 test cases in commonTest

Baseline verified: spotlessCheck, detekt, assembleGoogleDebug, allTests all pass.
2026-06-02 12:09:06 -05:00
James Rich c590fe4676 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5698)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-06-01 12:33:22 +00:00
renovate[bot] 0e068053bc chore(deps): update core/proto/src/main/proto digest to c4540bb (#5688) 2026-05-31 12:27:53 -05:00
James Rich cca7c274b9 fix: address top Crashlytics crashes and non-fatals for build 29320984 (#5684)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-31 14:16:10 +00:00
James Rich ba163c40a9 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5682)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-31 07:38:20 -05:00
renovate[bot] dee5c3d0dc chore(deps): update core/proto/src/main/proto digest to a0a2239 (#5676)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-30 14:42:45 -05:00
James Rich c7fbc6e9d3 fix: address top Crashlytics crashes in beta 2.7.14 (#5672)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-30 15:01:29 +00:00
Ben Meadors ad6144189f fix(takserver): drop CoT the mesh delivers more than once (#5667)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-30 14:05:42 +00:00
Ben Meadors 4888592e07 fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh (#5661)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 15:36:50 -05:00
Ben Meadors f92f5d5769 Revert "fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1"
This commit landed on main outside the PR process and pins takpacket-sdk 0.5.1, which is not yet published to Maven Central — breaking the build. Reverting to restore a green main; the fix is being re-submitted as a pull request that will merge once 0.5.1 is available on Central.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 13:35:47 -05:00
Ben Meadors 0047e4d152 fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1
The reconstructed contact endpoint (0.0.0.0:4242:tcp) made ATAK treat mesh peers as directly reachable, so directed messages (TAK-Talk <marti>, GeoChat to a callsign) were delivered to a dead address instead of the Meshtastic server stream and never hit the mesh — broadcast PLI was unaffected. Use the TAK 'reply via this server' endpoint *:-1:stcp (DEFAULT_TAK_ENDPOINT) and bump TAKPacket-SDK to 0.5.1, which fixes the same default in the SDK's CotXmlBuilder.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 12:44:34 -05:00
Ben Meadors 8bdb0916b4 feat(takserver): Upgrade TAKPacket-SDK to v0.5.0 and delegate sanitization to SDK (#5658)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-29 16:30:26 +00:00
renovate[bot] 0cc18cd7dd chore(deps): update core/proto/src/main/proto digest to dd6c3f8 (#5654) 2026-05-29 08:08:32 -05:00
James Rich 1d221e2dde fix(ble): stop BLE scan on background and downgrade connection priority (#5644)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 19:16:19 +00:00
Ben Meadors a5e6894fe8 Enhance TAKTALK support with message and room handling, update SDK to v0.3.2 (#5634)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 17:33:16 +00:00
James Rich d892f43e00 fix(database): stabilize flaky DatabaseManagerWithDbRetryTest (#5635)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 10:44:59 -05:00
James Rich a79e30e698 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5631)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-28 03:42:49 -07:00
renovate[bot] 19ea164f93 chore(deps): update core/proto/src/main/proto digest to e3c8af5 (#5629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-28 02:42:34 +00:00
James Rich 2277aae6e9 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5625)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-28 00:34:34 +00:00
James Rich fda8f97f32 fix(proto): prune TakTalkMessage and TakTalkRoomData from Wire codegen (#5624)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-27 13:54:52 -05:00
James Rich 562ac73901 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5616) 2026-05-27 12:04:04 -05:00
renovate[bot] 7df0ee08e5 chore(deps): update core/proto/src/main/proto digest to 9ab4a1d (#5617) 2026-05-27 11:57:51 -05:00
James Rich a4522f9f4d fix(flatpak): generate complete offline-buildable manifest for desktopApp (#5610)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 20:33:23 +00:00
renovate[bot] 5431ba87c4 chore(deps): update core/proto/src/main/proto digest to e4219a0 (#5608) 2026-05-26 13:14:11 -05:00
James Rich a95cfdfb72 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5604)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-26 08:04:24 -05:00
James Rich 184d547c78 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5598)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-25 16:25:01 -05:00
James Rich f17c38bf64 fix(emoji): enable androidResources for core:ui to package emoji-data.json (#5597)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 20:40:55 +00:00
James Rich 55e7f8f3de fix: consistent column width for compact node list items (#5596)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 20:32:31 +00:00
James Rich 684c4a9678 fix: hide battery indicator when level is 0 (never reported) (#5595)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 20:12:32 +00:00
James Rich 4b42e2c76c chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5577)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-22 19:07:46 -07:00
James Rich a67927818b Extract node list display settings to dedicated screen (#5580)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-23 00:01:50 +00:00
James Rich d870141b7c feat(ai): upgrade Chirpy on-device AI with proper APIs, download UX, and streaming (#5579)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-22 23:51:02 +00:00
James Rich 5ec6d80f61 docs: comprehensive documentation audit and refresh (#5572)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-21 20:50:01 -05:00
James Rich 479ed4f7fc chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5563) 2026-05-21 18:19:39 -05:00
renovate[bot] c56432bf02 chore(deps): update core/proto/src/main/proto digest to 59cb394 (#5571) 2026-05-21 18:19:22 -05:00
James Rich 5d9e71da39 feat: node list density switching with compact layout and field toggles (#5444)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-21 17:44:48 -05:00
James Rich c26ef946b1 feat(docs): upgrade Chirpy assistant with streaming and live diagnostics (#5564) 2026-05-21 10:25:19 -05:00
James Rich e67ebb7a0d feat: enable WAL connection pool for parallel reads (#5372)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-20 19:42:31 -05:00
renovate[bot] 6ffb320099 chore(deps): update com.github.luben:zstd-jni to v1.5.7-9 (#5556) 2026-05-20 19:39:45 -05:00
James Rich 4eae950ba1 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5537) 2026-05-20 18:26:01 -05:00
James Rich ea85b906e8 feat(nav): rename tab labels to canonical order (#5551)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-20 17:57:08 -05:00
James Rich 9d5e20c742 feat: align node list context menu to canonical 6-item order (#5548)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-20 22:31:35 +00:00