mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 23:19:43 +02:00
Fresh desktop installs slid the Monitor panel open at startup — the two showMonitor fallbacks defaulted to true (mobile already defaulted false via getDefaultSettings). Default it to false everywhere; users opt in via App Settings -> Show Monitor. Also fix toggleMonitorPanel(): applyMonitorVisibility() leaves inline display:none when the setting is off, so the session-tab task badge toggled the open class invisibly (already broken on mobile). Clear the inline display when opening so transient opens work. Local echo defaults audited, unchanged: off on desktop, on for touch (?? MobileDetection.isTouchDevice()), stored per-device and never server-synced. Verified on a fresh isolated instance (desktop + iPhone 13 emulation): 14/14 checks — panel closed + checkbox unchecked on both device classes, local echo desktop-off/mobile-on, separate storage keys, badge open works. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>