mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-10-18 21:34:03 +02:00
* Add a minimum QRB filter to the station filter bar (#21) Next to "Show only QRB [km] <=" the bar gets "Show only QRB [km] >": it hides every station up to the entered distance. With both switched on the list keeps a range, min < QRB <= max. The minimum is exclusive, as the issue asks, so the two filters split the list without overlap at the same value. A station without a known QRB is hidden while either is on, as the maximum already did. The value lives in the bar for the running session only, like the maximum, and the station map follows through activeFilters. The distance check moves from the controller predicate into StationFilterState.acceptsQrb so it can be tested; the maximum keeps its behaviour (null or > max is hidden). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Document the minimum QRB filter (#21) Changelog v1.50 under New, the filter tables of the user interface pages, the distance filter section of the feature pages, and the station filter page of the website. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Let the first filter bar row wrap instead of clipping (#21) With both QRB filters the first row of the station filter bar no longer fits a narrow station pane, and as a plain Row it cut the bearing buttons off at the right edge. It is a FlowRow now. Reset, the QRB pair, the QTF controls and the bearings each move to the next line as one group; the QRB pair and the bearings only break up inside their group when even the group is wider than the pane. Separators in the wrapping row have a fixed height, because a flow row line has no intrinsic height to fill. A screen test at 300 dp checks that every bearing button, both QRB labels and fields and the QTF label are displayed and end inside the bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Refuse NaN, Infinity and negatives in the QRB filter fields (#21) toDoubleOrNull also reads "NaN" and "Infinity": a pasted "Infinity" as the minimum hid every station, "NaN" let every one through, and the maximum field had the same hole before. Both QRB fields now go through parseQrbKm, which takes only finite, non-negative distances; anything else leaves the field at its last valid value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Let the station map follow the station filters (#21) The Compose map built its markers from all station rows, so no filter reached it, although its status line reported "filtered view active". The JavaFX map, up to beta-v1.50.0-beta-001, took the sorted, filtered list (StationMapBridge.refreshNow), so this is a regression of the Compose port that never shipped. The markers now come from the rows the list shows, and the filter is a key of the remembered markers so a filter change redraws them. A selected station that a filter hides gets no marker, as in the JavaFX map. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Filter again on redraw; no path analysis for a hidden station (#21) DataTableState.visibleRows caches the filtered rows, and forceRedraw only bumped contentRevision. The filter reads fields that change in place (QRB, worked and QRV flags, last activity), so a redraw could hand back rows filtered before the change -- in the list and, since the map draws the same rows, on the map. forceRedraw now drops the cache, and visibleRows reads contentRevision so a reader recomputes after it. In the running application the user-list refresh also sets a new row filter, which dropped the cache before; this makes the redraw itself sufficient. A selected station without a marker -- hidden by a filter, or without a locator -- no longer starts a path analysis: the map used to set "Loading" with an empty target and send the request. The analysis is cleared instead, and the effect re-runs when the station's marker appears or disappears. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f17ae0905f
commit
ee4f1fe02e
19 files changed
+621
-73
No files matched your search
@@ -36,6 +36,7 @@ KST4Contest therefore allows spatial, operating and propagation-related conditio
|
||||
|
||||
- **Show only QTF** keeps stations inside the selected antenna direction and configured beamwidth.
|
||||
- **Show only QRB [km] <=** limits the list to the entered distance.
|
||||
- **Show only QRB [km] >** hides stations up to the entered distance; with both on, the list shows a distance range.
|
||||
|
||||
### Operating filters
|
||||
|
||||
|
||||
Reference in new issue
Block a user