aprs.me/lib/aprsme_web/live/map_live
Graham McIntire 62ada761cd
refactor: improve code quality and fix potential issues
- Remove duplicate time formatting function in components.ex
  - Use existing time_ago_in_words from TimeHelpers instead of custom format_time_ago
- Remove unnecessary Float multiplication in format_coordinates
  - Changed Float.round(lat * 1.0, 4) to Float.round(lat, 4)
- Fix TypeScript type safety issues
  - Add pendingMarkers to LiveViewHookContext interface
  - Add initializationTimeout property for proper cleanup
- Add cleanup for map initialization retry timeout
  - Prevent memory leak by clearing timeout in destroyed() method
- Format code with mix format

All changes maintain backward compatibility while improving code quality.
2025-10-12 14:02:27 -05:00
..
bounds_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
components.ex refactor: improve code quality and fix potential issues 2025-10-12 14:02:27 -05:00
data_builder.ex fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
display_manager.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
historical_loader.ex updates with parser updates 2025-08-03 09:19:31 -05:00
index.ex refactor: improve code quality and fix potential issues 2025-10-12 14:02:27 -05:00
map_helpers.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
navigation.ex fix: Handle database ownership errors gracefully in LiveView tests 2025-07-30 14:29:35 -05:00
packet_batcher.ex updates with parser updates 2025-08-03 09:19:31 -05:00
packet_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
packet_processor.ex Move Redis PubSub config to runtime initialization 2025-07-26 10:10:55 -05:00
packet_store.ex performance improvements 2025-07-14 16:35:58 -05:00
packet_utils.ex Remove caching from has_weather_packets function 2025-07-28 15:52:53 -05:00
popup_component.ex integrate /:call to main page 2025-07-13 10:36:58 -05:00
rf_path.ex Fix aprs-is variables 2025-10-12 10:32:12 -05:00
url_params.ex fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
utils.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00