aprs.me/lib/aprsme_web
Graham McIntire e6d8894bf6
fix: Handle numeric weather values and hide N/A fields in weather view
The weather view was crashing with CaseClauseError when receiving numeric
values (like 83.0) from the database instead of strings. Also improved
the UI to only show weather fields that have valid data.

Changes:
- Added support for numeric values in format_weather_value function
- Added has_weather_field? helper to check for valid weather data
- Updated template to conditionally display weather fields
- Fields with nil, "N/A", or empty values are now hidden
- Wind field shows direction and speed independently if available

This prevents crashes and provides a cleaner UI by only showing available
weather data instead of displaying N/A values.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-03 15:33:09 -05:00
..
components updates with parser updates 2025-08-03 09:19:31 -05:00
controllers refactor: Remove CachedQueries and rename optimized functions 2025-07-30 13:17:56 -05:00
live fix: Handle numeric weather values and hide N/A fields in weather view 2025-08-03 15:33:09 -05:00
plugs Fix ShutdownHandler health check errors 2025-07-28 08:19:27 -05:00
aprs_symbol.ex Add Redis-based distributed caching and rate limiting 2025-07-26 15:29:38 -05:00
endpoint.ex Fix Leaflet library loading race condition and enable Redis-free development 2025-07-27 12:20:23 -05:00
gettext.ex more languages 2025-07-06 10:08:58 -05:00
router.ex feat: Implement direct station URLs with persistent latest packet display 2025-07-30 12:56:05 -05:00
telemetry.ex Fix TelemetryMetricsPrometheus buckets configuration properly 2025-07-27 14:24:25 -05:00
time_helpers.ex Add missing type specifications to improve type safety 2025-07-30 13:40:14 -05:00
time_utils.ex refactor and performance improvements 2025-07-10 10:53:34 -05:00
user_auth.ex Add missing type specifications to improve type safety 2025-07-30 13:40:14 -05:00
weather_units.ex Add missing type specifications to improve type safety 2025-07-30 13:40:14 -05:00