022c(gui): Load almanac dialog with palette quick-fill #40
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/022c-almanac-gui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 022c — bring almanac support into the GUI (follows #38/#39).
Dialog (Settings tab, Load almanac…):
after(100, ...)polling; UI stays live; failures keep the previous document)fetched|cached|file: N healthy / M satellites (source, week W)almanac --visible)Apply semantics:
almanac_apply_targets()helper (healthy ids, visible filter viacore.visibility, explicit GLONASS channel map, healthy-only fallback for element-less docs)_commit_grid(chan_map=...)keeps explicit GLONASS channels (R2 (k-4)→2:-9) in spec strings; first applied grid openedLocked during generation (dialog + entry button). No new dependencies; no network at startup; fetch monkeypatched in tests.
Tests:
tests/test_gui_almanac.py— headless helper/apply tests + 2 gui-marked dialog flows (fetch+visible apply, file+GLONASS channels). Full suite green, ruff clean.