aprs.me/test
Graham McIntire cf78298f46
Fix trail lines not connecting historical positions
When changing trail duration and historical data settings, historical positions
would show up on the map but trail lines wouldn't connect them. This was caused
by a mismatch between trail ID generation and callsign extraction.

## Changes

- Fix getTrailId() to properly extract base callsigns from historical marker IDs
- Add setTrailDuration() method to TrailManager for dynamic duration updates
- Add LiveView event to synchronize trail duration changes with client
- Add comprehensive tests for historical ID handling

## Problem
Historical markers have IDs like "hist_CALLSIGN_123" but getTrailId() was
returning the full ID while TrailManager.extractBaseCallsign() extracted just
"CALLSIGN", creating separate trails instead of connected ones.

## Solution
Updated getTrailId() to extract base callsigns from historical IDs using the
same logic as TrailManager, ensuring all positions from the same station use
the same trail ID and connect properly.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 08:31:16 -05:00
..
aprsme Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00
aprsme_web Fix credo warnings and ensure clean compilation 2025-07-14 10:25:01 -05:00
assets/js Fix trail lines not connecting historical positions 2025-07-21 08:31:16 -05:00
integration performance improvements 2025-07-08 10:03:52 -05:00
support refactor 2025-07-13 16:49:20 -05:00
types refactor to use external parser 2025-06-24 14:22:09 -05:00
test_helper.exs refactor and performance improvements 2025-07-10 10:53:34 -05:00