Commit Graph

175 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
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
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
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 562ac73901 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5616) 2026-05-27 12:04:04 -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 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 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
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 4eae950ba1 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5537) 2026-05-20 18:26:01 -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
James Rich 4c588b73f8 fix(settings): rename UDP toggle label for cross-platform audit alignment (#5549)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-20 21:51:29 +00:00
James Rich 0076be3a24 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5532)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-20 09:11:32 -05:00
James Rich 83bb1a31f7 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5465) 2026-05-19 10:12:04 -05:00
James Rich fc0df1a79a feat(docs): In-app documentation browser with Jekyll site and Docusaurus sync (#5445)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-19 04:00:22 +00:00
James Rich f4b6b02ace refactor(build): rename entry modules and remove DESKTOP_ONLY mode (#5476)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-18 12:44:12 +00:00
James Rich b32aa1b9f2 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5460)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-14 16:34:40 -05:00
James Rich 33184fef99 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5455)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-14 12:17:20 -05:00
Ben Meadors a04a261b80 feat: TAK v2 protocol integration with zstd compression and full CoT type support (#5434)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jamesarich <2199651+jamesarich@users.noreply.github.com>
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-14 12:50:01 +00:00
James Rich 13865e7c8b chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5438)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-14 06:10:23 -05:00
James Rich 09a0d123be chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5416)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-12 06:21:59 -05:00
James Rich 313dc1c2f7 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5400) 2026-05-11 17:28:06 -05:00
James Rich 95c3bc0bce Brownfield gap remediation: 28 tasks + intro commonMain migration (#5401)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-11 20:10:23 +00:00
James Rich 443de4a34d chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5383)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-10 05:57:23 -05:00
James Rich 924f8a507b chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5378)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-07 07:34:30 -05:00
James Rich 3c75510f01 fix(mqtt): harden TLS enforcement, add user CA trust, and improve error diagnostics (#5365)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-06 12:09:49 -05:00
James Rich 3e55579250 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5357)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-06 12:02:01 -05:00
James Rich 82926fd734 feat: event firmware easter egg with ambient branding (#5354)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-04 19:37:47 +00:00
James Rich fa3437b147 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5349)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-04 11:45:11 -05:00
James Rich 26c50258da chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5347)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-04 11:30:59 -05:00
James Rich f1423e4ee2 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5339)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-03 14:51:57 -05:00
James Rich 9e396cdecc chore: optimize AI agent context and implement CI cost controls (#5335)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-02 13:19:11 -05:00
James Rich 2822290908 refactor(build): build-logic cleanup, CC safety, and detekt 2.0 upgrade (#5311) 2026-05-01 02:48:37 +00:00
James Rich 9d64dd697e chore: Scheduled updates (Firmware, Hardware, Translations, Graphs, Licenses) (#5298) 2026-04-29 14:02:03 -05:00
James Rich 7f578906fa revert: replace extra newline on traceroute route strings
fix translations?
2026-04-29 13:48:26 -05:00
James Rich 3d2b21843e refactor: update user lookups and localize traceroute responses (#5294) 2026-04-29 16:42:02 +00:00
James Rich 9e0ad369dd fix: update notification icon (#5293) 2026-04-29 16:02:41 +00:00