fix(chase-new): the toolbar button was read once, too early
An operator waited over a minute and the button never appeared; opening Settings and pressing Cancel made it appear at once. That is the whole diagnosis — Cancel was the only thing that re-read the option. GetChaseNew returned the cached atomic, which exists for the MQTT goroutine and is false until startup has read the setting. The UI asked while the database was still opening, was told "off", believed it, and never asked again. It now reads the setting, like the grid-chasing binding beside it. The frontend asks again at the two moments this class of race resolves: when GetStartupStatus returns, and when the first logbook load succeeds — the seam that already re-reads the connection label for exactly this reason, with a comment saying so. The open/closed state was already remembered per machine; it is now in PORTABLE_KEYS with the other widget toggles, so it travels with data/ like the rotor and amplifier panels rather than being the one that does not.
This commit is contained in:
@@ -17,6 +17,7 @@ const PORTABLE_KEYS = [
|
||||
'opslog.autofocusWB', // auto-focus Worked-before
|
||||
'hamlog.filterPresets', // Filter Builder saved presets
|
||||
'opslog.showRotor', // rotor compass shown next to the keyers
|
||||
'opslog.showChaseNew', // Chase New panel shown next to the keyers
|
||||
'opslog.showAmpWidget', // amplifier widget shown next to the keyers
|
||||
'opslog.ampSel.widget', // which amplifier that widget shows ("all" or an amp id)
|
||||
'opslog.showBeamOnMap', // antenna beam lobe drawn on the Main map
|
||||
|
||||
Reference in New Issue
Block a user