Commit graph

80 commits

Author SHA1 Message Date
af4ab270e2
Replace any types with specific TypeScript types
- Add comprehensive type definitions for Leaflet plugins (heatmap, marker clustering, overlapping marker spiderfier)
- Create event payload interfaces for all LiveView events
- Add marker extension types for APRS-specific properties
- Define Chart.js dataset and configuration types
- Replace 74 instances of 'any' type across all TypeScript files
- Improve type safety for event handlers and state management
- Add proper typing for external library integrations

This refactoring enhances type safety throughout the codebase, making it easier to catch errors at compile time and improving IDE support for autocompletion and refactoring.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 17:55:27 -05:00
a31d38ec6a
different trail colors 2025-07-16 09:36:49 -05:00
1d1195ae87
js refactor 2025-07-16 09:23:33 -05:00
fa89712587
main map improvements 2025-07-13 14:58:13 -05:00
76c871ff39
make marker come to front view when clicked 2025-07-12 09:24:59 -05:00
b71ae879e9
debug cleanup 2025-07-11 14:05:42 -05:00
55b1a771e2
geolocation debug 2025-07-11 13:57:32 -05:00
1b428cbf78
add spider cluster 2025-07-11 13:00:32 -05:00
13ac1731fd
wip 2025-07-10 17:49:38 -05:00
f5e0f33ac2
fix geolocation hopefully 2025-07-10 17:12:49 -05:00
b1ee1f92f9
dont parse device identifiers on each insert 2025-07-10 15:16:01 -05:00
aaf92d9045
add heatmap on zoom out 2025-07-10 14:26:01 -05:00
d45aed256d
fix historical packet loading 2025-07-10 13:15:16 -05:00
c6169efe2a
fix js error 2025-07-09 16:56:31 -05:00
8eb1e90622
use postgis for testing 2025-07-09 16:48:55 -05:00
eb3e30abd6
tweaks 2025-07-09 16:37:30 -05:00
514d1b66d5
fix all the main map display issues 2025-07-09 16:20:29 -05:00
57fe2b0182
Remove all delays from historical packet loading for maximum speed
Server-side optimizations:
- Remove all Process.send_after delays - use immediate send()
- High zoom (10+): Load everything in single batch (up to 500 packets)
- Low zoom: Load all batches immediately without delays
- Remove debug logging for performance

Client-side optimizations:
- Remove chunking delays and requestAnimationFrame
- Process all packets immediately without setTimeout
- Remove 10-packet chunk limit - process everything at once

Result: Historical packets now load as fast as possible
without artificial delays or chunking bottlenecks.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:33:21 -05:00
a9414823f1
Fix spurious bounds_changed events and event loops
Key fixes:
- Combine bounds_changed and update_map_state into single event
- Remove duplicate sendBoundsToServer() calls
- Add programmaticMove flag to prevent event loops
- Only process bounds updates when bounds actually change
- Debounce events with 300ms timeout

This eliminates:
- Duplicate server events for same user action
- Event loops when server updates URL
- Unnecessary bounds processing
- Excessive server load

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:30:05 -05:00
052e131400
Add URL updating and restoration for map state (zoom/pan)
Features implemented:
- Parse URL parameters on mount (lat, lng, z)
- Update URL when map moves or zooms
- Restore map state from URL parameters
- Handle URL changes via handle_params
- Validate and clamp coordinate values

URL format: /?lat=40.7128&lng=-74.0060&z=12

Benefits:
- Shareable map links with exact position
- Browser back/forward navigation support
- Bookmarkable map locations
- Deep linking to specific map views

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:23:54 -05:00
1932f63b91
Implement progressive loading for historical packets to improve map performance
- Add progressive loading system that splits 200 packets into 4 batches of 50 each
- Implement client-side chunked rendering to prevent UI blocking
- Add caching layer using Aprsme.CachedQueries for better database performance
- Maintain proper chronological ordering for trail drawing
- Use LiveView's efficient update mechanisms for smooth user experience

Performance improvements:
- Faster initial load with immediate visual feedback
- Reduced memory pressure through smaller batch sizes
- Better caching with automatic cache invalidation
- Smooth, non-blocking UI updates using requestAnimationFrame

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:08:10 -05:00
41eaec5c8e
add user auth 2025-07-09 08:53:50 -05:00
5820400052
fix page layout when navigating between pages 2025-07-08 15:30:04 -05:00
bcaef2d118
pause extra map popups when user clicks on one 2025-07-08 10:18:07 -05:00
711d92ebb6
performance improvements 2025-07-08 10:03:52 -05:00
fc449ed5f9
en español 2025-07-05 15:51:39 -05:00
1406ae97f0
performance improvements 2025-07-05 14:34:34 -05:00
abdbe399f0
navbar text fix 2025-07-05 13:43:36 -05:00
665c8cb867
weather chart cleanup 2025-07-05 13:39:26 -05:00
7bc12d98d0
topbar vendor 2025-07-05 13:20:36 -05:00
eafa0feff5
js tweak 2025-07-05 13:16:37 -05:00
d5bc00fc86
js tweak 2025-07-05 13:07:14 -05:00
3464cf5b66
js tweak 2025-07-05 13:00:34 -05:00
f1bc428086
deploy fix 2025-07-05 12:51:28 -05:00
8c06f1f8fa
more typescript and update weather charts in real time 2025-07-05 12:47:11 -05:00
ed545467c5
daisyui tweaks 2025-07-05 09:41:08 -05:00
53b82c70d4
deploy fix 2025-07-05 09:29:11 -05:00
a3d593a4c1
deploy fix for tailwind 2025-07-05 09:25:34 -05:00
53dc32f8fc
use daisyui components 2025-07-05 09:22:47 -05:00
3789684d8c
add daisyui 2025-07-05 08:25:12 -05:00
802c6982c7
change to chart.js 2025-07-04 12:37:03 -05:00
c8ee465015
weather charts 2025-07-03 11:29:01 -05:00
8cb4302c70
dont pan map on popup 2025-06-28 11:12:48 -05:00
f08330b46c
weather fixing 2025-06-25 11:40:04 -05:00
129c1de2f1
fix icons 2025-06-23 11:59:14 -05:00
43d4792760
map tweaks 2025-06-22 17:39:10 -05:00
3b0c1213f4
refactoring 2025-06-22 17:27:49 -05:00
e7214f5064
misc fixes 2025-06-22 17:11:58 -05:00
f575863e7f
DRY and list scrolling 2025-06-21 22:01:59 -05:00
03c20ebfd8
mobile 2025-06-21 20:26:08 -05:00