Skip to content

Closes #1035 — "New Locator" indicator per band / satellite#1036

Open
ea5wa wants to merge 1 commit into
ea4k:masterfrom
ea5wa:feature-new-grid-per-band
Open

Closes #1035 — "New Locator" indicator per band / satellite#1036
ea5wa wants to merge 1 commit into
ea4k:masterfrom
ea5wa:feature-new-grid-per-band

Conversation

@ea5wa

@ea5wa ea5wa commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Closes #1035

Description

Adds a "New Locator" indicator to the QSO entry. When a DX locator is
entered, KLog checks whether that grid is new and, if so, shows a label in
red text alerting the operator during the QSO.

The check is performed at 4-character grid level (e.g. IM98) and is
segmented by context:

  • Band — when working a regular band, the grid is evaluated as new for
    the band currently in use. Label: New Grid Locator on x band (x = current band).
  • Satellite — when working via satellite, the grid is evaluated against
    previous satellite QSOs. Label: New Grid Locator on sats.

The indicator needs no configuration: it appears only while a locator is
being entered and is hidden otherwise. This mirrors the existing
"new DXCC per band" logic, extending the band-fill concept to grid locators.

How it works

  • The label is updated as the DX locator field changes.
  • The grid is normalized to 4 characters before the lookup.
  • The "new" status is resolved against existing QSOs, scoped to the current
    band or to satellites depending on the operating mode.

How to test

  1. Open the QSO entry and select a regular band.
  2. Enter a DX locator that has not been worked before on that band →
    the red New Grid Locator on x band label appears.
  3. Enter a locator already worked on that band → no label is shown.
  4. Switch to satellite mode and repeat → the label reads
    New Grid Locator on sats for grids not previously worked via satellite.

Notes

  • No new settings or dependencies introduced.

When a DX locator is entered, KLog now checks whether that grid (4-char
field) is new in the current log and shows a red label next to the DX
entity status (above the Awards widget):
 - "New Locator on <band> Band" for terrestrial QSOs (per band,
   excluding satellite QSOs).
 - "New Locator on Sats" for satellite QSOs (tracked apart, all
   satellites as a single bucket, band-independent).

The check runs on locator, band and propagation-mode changes, and also
while editing a logged QSO (the QSO being edited is excluded from the
count so its own grid does not mask a "new" status).

Adds DataProxy_SQLite::isNewGridOnBand() and MainWindow::checkNewGrid().

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ea5wa ea5wa changed the title ## Closes #1035 — "New Locator" indicator per band / satellite Closes #1035 — "New Locator" indicator per band / satellite Jun 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

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.

## Feature request: "New Locator" indicator per band / satellite

1 participant