Skip to content

fix: DXpedition spots randomly appearing at wrong locations#825

Merged
accius merged 1 commit intomainfrom
Staging
Mar 24, 2026
Merged

fix: DXpedition spots randomly appearing at wrong locations#825
accius merged 1 commit intomainfrom
Staging

Conversation

@accius
Copy link
Owner

@accius accius commented Mar 24, 2026

DX cluster nodes sometimes populate dxGrid with incorrect data — the spotter's grid, a cached home grid, or just wrong data. Since grid-from-spot was priority #1 (before DXpedition lookup), some TX5EU spots showed in Jersey and VK9 spots showed in Alaska.

DXpedition entity lookup now runs FIRST, before any cluster-provided grid squares. DXpedition coordinates are authoritative — the NG3K entity mapped to cty.dat coordinates won't randomly change per spot.

For non-DXpedition callsigns, the grid-from-spot remains highest priority since it's usually accurate for regular stations.

What does this PR do?

Type of change

  • Bug fix
  • New feature
  • Performance improvement
  • Refactor / code cleanup
  • Documentation
  • Translation
  • Map layer plugin

How to test

Checklist

  • App loads without console errors
  • Tested in Dark, Light, and Retro themes
  • Responsive at different screen sizes (desktop + mobile)
  • If touching server.js: caches have TTLs and size caps (we serve 2,000+ concurrent users)
  • If adding an API route: includes caching and error handling
  • If adding a panel: wired into Modern, Classic, and Dockable layouts
  • No hardcoded colors — uses CSS variables (var(--accent-cyan), etc.)
  • No .bak, .old, console.log debug lines, or test scripts included

Screenshots (if visual change)

DX cluster nodes sometimes populate dxGrid with incorrect data —
the spotter's grid, a cached home grid, or just wrong data. Since
grid-from-spot was priority #1 (before DXpedition lookup), some
TX5EU spots showed in Jersey and VK9 spots showed in Alaska.

DXpedition entity lookup now runs FIRST, before any cluster-provided
grid squares. DXpedition coordinates are authoritative — the NG3K
entity mapped to cty.dat coordinates won't randomly change per spot.

For non-DXpedition callsigns, the grid-from-spot remains highest
priority since it's usually accurate for regular stations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@accius accius merged commit 08c2064 into main Mar 24, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant