aprs.me/lib/aprsme_web/live
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
..
bad_packets_live clean up warnings 2025-07-16 08:55:46 -05:00
components fix compile warnings 2025-07-09 16:58:07 -05:00
info_live fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
map_live updates with parser updates 2025-08-03 09:19:31 -05:00
packets_live clean up warnings 2025-07-16 08:55:46 -05:00
shared Fix DateTime.to_iso8601 error by handling NaiveDateTime 2025-07-29 10:57:36 -05:00
status_live Fix comprehensive crash prevention and add missing RF path station markers 2025-07-28 11:56:00 -05:00
weather_live fix: Handle numeric weather values and hide N/A fields in weather view 2025-08-03 15:33:09 -05:00
about_live.ex en español 2025-07-05 15:51:39 -05:00
about_live.html.heex en español 2025-07-05 15:51:39 -05:00
api_docs_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
locale_hook.ex clean up warnings 2025-07-16 08:55:46 -05:00
shutdown_handler.ex Fix PgBouncer database connection and graceful shutdown 2025-07-26 15:51:06 -05:00
theme_manager.ex more performance improvements/cleanup 2025-07-14 16:49:55 -05:00
user_confirmation_instructions_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
user_confirmation_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
user_forgot_password_live.ex clean up warnings 2025-07-16 08:55:46 -05:00
user_login_live.ex add more translations 2025-07-18 11:18:04 -05:00
user_registration_live.ex add more translations 2025-07-18 11:18:04 -05:00
user_reset_password_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_settings_live.ex clean up warnings 2025-07-16 08:55:46 -05:00