Commit graph

416 commits

Author SHA1 Message Date
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
c873614bf1
Fix compilation error by importing push_patch
- Add push_patch to Phoenix.LiveView imports
- Fix trailing whitespace issue
- App now compiles successfully with URL functionality
2025-07-09 09:25:52 -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
c2d3418972
Fix progressive loading activation and optimize for high zoom levels
Critical fixes:
- Replace old load_historical_packets_for_bounds with progressive loading
- Fix handle_info_initialize_replay to use progressive loading
- Fix process_bounds_update to use progressive loading
- Add debug logging to track batch loading

High zoom optimizations:
- Very zoomed in (15+): 10 packets per batch, 10ms delays
- Moderately zoomed (12-14): 20 packets per batch, 20ms delays
- Medium zoom (8-11): 35 packets per batch, 35ms delays
- Use linear delays instead of exponential for faster loading

This ensures progressive loading is actually used and optimized
for high zoom levels where viewport is small.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:18:42 -05:00
7318d2dfbc
Optimize viewport-based loading with zoom-aware batching
Key improvements:
- Fix spatial query order: Apply bounds filtering BEFORE limit/offset
- Add zoom-level based batch sizing (20-100 packets per batch)
- Dynamic batch count based on zoom level (2-5 batches)
- Faster loading delays for high zoom levels (25ms vs 50ms)
- Include zoom level in cache keys for better cache efficiency

Performance benefits:
- Zoomed in far (zoom 15+): 2 batches of 20 packets each
- Moderately zoomed (zoom 12-14): 3 batches of 35 packets each
- Medium zoom (zoom 8-11): 4 batches of 50 packets each
- Zoomed out (zoom <8): 5 batches of 75-100 packets each

This ensures packets are loaded from the current viewport first,
dramatically reducing load times when zoomed in.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:14:12 -05:00
330fe27eec
use aprs module from github in test 2025-07-09 09:10:12 -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
fd82d6e7bd
update claude info 2025-07-08 15:33:40 -05:00
5820400052
fix page layout when navigating between pages 2025-07-08 15:30:04 -05:00
6d9b878a17
clean up warnings 2025-07-08 13:29:44 -05:00
9a39c783fa
show 48 hour history on weather page 2025-07-08 13:25:29 -05:00
7168448a38
fix weather page 2025-07-08 13:21:02 -05:00
32838712c6
fix nil weather units 2025-07-08 12:45:50 -05:00
4f02966aab
fix weather page 2025-07-08 12:35:49 -05:00
0adfffeaf5
fix mix usage for prod 2025-07-08 12:26:22 -05:00
2366137c73
fix mix usage for prod 2025-07-08 12:23:17 -05:00
032b9a31ca
fix mix usage for prod 2025-07-08 12:20:40 -05:00
9053f0840a
add more i18n testing and fix error page and dashboard 2025-07-08 12:16:00 -05:00
7593330d36
fix main map sidedar on page change 2025-07-08 10:31:46 -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
79fa7713ab
release tweak 2025-07-07 17:12:42 -05:00
5a6a782a03
release tweak 2025-07-07 17:09:46 -05:00
06efe1834b
release tweak 2025-07-07 17:02:17 -05:00
9edf337c0e
release tweak 2025-07-07 16:57:46 -05:00
5cf3e1e508
release fix 2025-07-07 16:54:42 -05:00
b091125ef3
release fix 2025-07-07 16:52:46 -05:00
72234fa588
add erlang cookie 2025-07-07 16:48:56 -05:00
0bee0228b0
fix app name 2025-07-07 16:46:48 -05:00
58d940435e
enable pg_stats 2025-07-07 16:45:48 -05:00
9a6f649157
add clustering 2025-07-07 16:41:14 -05:00
5ad101a69e
passing tests 2025-07-07 16:29:38 -05:00
9dd7ca8f56
fix parser version check 2025-07-07 14:54:52 -05:00
ba80e414d8
fix parser version check 2025-07-07 14:46:31 -05:00
9e63acc364
fix parser version check 2025-07-07 14:43:14 -05:00
2c8b594d59
fix parser version check 2025-07-07 14:24:47 -05:00
10159f7ba7
fix parser version check 2025-07-07 14:21:56 -05:00
6cebd03d7f
fix parser version check 2025-07-07 14:16:55 -05:00
cfdaf954d5
fix parser version check 2025-07-07 14:16:08 -05:00
82e582d645
fix parser version check 2025-07-07 14:12:56 -05:00
42bac34073
fix parser version check 2025-07-07 14:11:35 -05:00
bd534da1ac
fix parser version check 2025-07-07 14:01:43 -05:00
c87b58a2df
fix parser version check 2025-07-07 13:56:58 -05:00
75805ffc12
fix parser version check 2025-07-07 13:53:09 -05:00
da9d89a3a0
fix parser version check 2025-07-07 13:50:04 -05:00
c91f80e23f
parser hash fix 2025-07-07 13:07:32 -05:00
b2f9352091
parser hash fix 2025-07-07 13:02:49 -05:00
52311f52da
show sha1 hash of aprs parser 2025-07-07 12:57:28 -05:00
32cfb36ee9
show dev mode, more imperial 2025-07-07 12:48:51 -05:00