mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 06:06:05 +08:00
Moves frequency handling out of the HUD header — where it lived as two compact chips behind a dropdown — into a first-class module at the top of the main column, styled like a physical radio stack: STANDBY and ACTIVE windows flanking a circular swap button, the published-channel row below, and the readability control in the panel's own corner rather than as a separate global chip. Behaviour is unchanged: HoldSelect stays the interaction primitive for preset selection and manual free-tune entry, and swap/preset/readability all route to the same useFrequencyPresets and useRadioSpeech handlers. Tapping a channel chip stages it in standby (setStandbyFrequencyFromList), matching the old preset behaviour. The header's hud-center wrapper and the freq-chip/freq-stack/signal-chip styles it carried are removed; the freq-option/freq-manual menu styles move into the panel. The active frequency scales down via clamp() so seven monospace digits cannot overflow the window at 375px. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>