Repository navigation
Conversation
…current band Add a "Grid - Worked/Confirmed" overlay to the online map. When enabled, the Maidenhead grid shows the 4-character squares worked (yellow) and confirmed (green) on the band currently in use, using the coloring that the Grid layer (L.maidenheadConfWorked) already supports and the statistics map already uses. - The squares are read from the log only when the band changes (not on every frequency change), when a QSO is added, when the logbook is updated and when the station profile changes; nothing is queried while the overlay is off. - A QSO counts for its GRIDSQUARE square and for the squares in VUCC_GRIDS. - Same rules as the DXCC statistics: satellite QSOs are excluded and only QSOs from the current station profile's DXCC are used. - Enabling the overlay also enables the Grid layer, which draws the squares. - The overlay is off by default and its state is stored like other layers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V4JxYbVDMZnx94tgmv5qmi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an optional Grid - Worked/Confirmed overlay to the online map. When it is enabled, the Maidenhead grid shows the 4-character squares worked (yellow) and confirmed (green) on the band currently in use, so the operator can see at a glance which squares are still missing on that band. This is especially useful on VHF/UHF.
Details
L.maidenheadConfWorked) already supports and that the statistics map already uses throughgrids_worked/grids_confirmed. The new overlay is an emptyL.layerGroupthat only switches the band data on and off, so no new map rendering code is needed.MapLayer::GridStatus,MapPageController::setBandGridStatus()and the JSsetBandGridStatus()follow the existing layer pattern; the overlay state is stored like the other layers and is off by default.OnlineMapWidget::refreshGridStatus()reads the log with one prepared, grouped query:setCurrentBand()is called on every rig frequency change, so the band is compared first), when a QSO is added, when the logbook is updated and when the station profile changes;gridsquaresquare and for the squares listed invucc_grids.Testing
Independent of #1247.
🤖 Generated with Claude Code
https://claude.ai/code/session_01V4JxYbVDMZnx94tgmv5qmi