Commit graph

33 commits

Author SHA1 Message Date
c8bd7980c2
Fix incorrect icon display for "Other SSIDs" on info page
The get_other_ssids function wasn't fetching symbol information from
the database, causing icons to display incorrectly. Updated the query
to include symbol_table_id and symbol_code fields and added them to
the packet struct so render_symbol_html can properly display the icons.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 17:55:42 -05:00
4af0f4a421
Fix JavaScript context binding issues in map component
- Fix "this.__view is undefined" error when calling pushEvent in event handlers
- Bind pushEvent context properly in all marker click and hover handlers
- Replace undefined sendBoundsToServer calls with saveMapState
- Ensure all event handlers check for pushEvent availability and type
- Use .bind(self) to preserve LiveView hook context in callbacks

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 15:05:15 -05:00
468309c70d
Fix potential undefined function error in info page
Add explicit import for Phoenix.HTML to ensure raw/1 function is available.
This helps prevent 'view crashed - undefined' errors that may occur in
certain environments.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 14:55:01 -05:00
2e80a720af
Fix LiveView crash by correcting render_symbol_html syntax
Change from {render_symbol_html(...)} to <%= render_symbol_html(...) %>
in three places where APRS symbols are rendered. This fixes the
'view crashed - undefined' error on the info page.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 14:47:37 -05:00
4b159ba0b7
cleanup 2025-07-18 14:44:52 -05:00
8587a1f948
Improve info page layout with compact map and reorganized cards
- Reduce map height from 400px to 280px to better match position info card
- Add Leaflet CSS/JS includes for map functionality
- Reorganize layout: Position Info and map on top row
- Move Device Info and Other SSIDs to second row in a grid
- Make Other SSIDs table more compact with table-sm class
- Simplify last heard display to show only time ago (remove timestamp)
- Add empty placeholder div to maintain grid layout when no other SSIDs
- Improve responsive layout with lg:col-span-2 and nested grids

The layout now makes better use of horizontal space on larger screens
while maintaining mobile responsiveness.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 14:43:12 -05:00
566198afa7
clean up warnings 2025-07-16 08:55:46 -05:00
3730b8c848
performance improvements 2025-07-14 16:35:58 -05:00
93b298ab9f
add more info on info page 2025-07-13 10:12:59 -05:00
8ca4ea2e2b
add link to calls on path 2025-07-13 09:21:26 -05:00
ac415368e8
remove extra line above PHG 2025-07-12 10:26:55 -05:00
c09f9175f4
add PHG parsing 2025-07-12 10:22:43 -05:00
68f0e77f37
add comment on info page 2025-07-12 09:47:09 -05:00
48447ab42e
refactor and performance improvements 2025-07-10 10:53:34 -05:00
ef95f597b0
format 2025-07-09 16:22:58 -05:00
514d1b66d5
fix all the main map display issues 2025-07-09 16:20:29 -05:00
32cfb36ee9
show dev mode, more imperial 2025-07-07 12:48:51 -05:00
280461f281
add time ago on info page 2025-07-07 10:01:14 -05:00
fc449ed5f9
en español 2025-07-05 15:51:39 -05:00
0ef1fb9e28
fix longpoll 2025-07-05 14:06:16 -05:00
f47b3d9f09
add decoded path and other ssids 2025-07-05 14:02:45 -05:00
8c06f1f8fa
more typescript and update weather charts in real time 2025-07-05 12:47:11 -05:00
53dc32f8fc
use daisyui components 2025-07-05 09:22:47 -05:00
eaccdf4465
show correct device id 2025-07-04 11:49:25 -05:00
a78fb8a385
live update info page 2025-07-04 11:45:00 -05:00
7a36960eb6
device identifier fix and other cleanup 2025-07-04 11:39:43 -05:00
d393eb4daf
show raw device id 2025-07-04 10:25:34 -05:00
bebead0fb0
fix icons on pages 2025-07-04 09:55:22 -05:00
1b4ac972de
fix icon on pages 2025-07-04 09:37:01 -05:00
c8ee465015
weather charts 2025-07-03 11:29:01 -05:00
4baf3cffe7
dialyzer fixes 2025-07-03 10:56:06 -05:00
7ef3f59026
parsing improvements 2025-06-28 15:53:27 -05:00
ce7c50caa1
refactor to use external parser 2025-06-24 14:22:09 -05:00