From 50076962f669a88444a25f142934cc223b797c47 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 26 Jun 2026 16:21:33 -0400 Subject: [PATCH] fix(ui): collapse PTT badge to single folds Chip (N53); responsive bg pickers (N81) N53: removed the duplicate lotusTerminal PTT-badge branch (raw with --lt-* vars + bespoke rem/animation styling). The standard folds path now renders in all modes; TDS theming still flows through the CSS var layer. Dropped the now-unused lotusTerminal read. N81: ChatBgGrid / SeasonalBgGrid containers switched from flex-wrap with fixed-width cells to a responsive CSS grid (repeat(auto-fill, minmax(76px, 1fr))), so swatches fill the row evenly instead of orphaning a lopsided last row at arbitrary widths. Co-Authored-By: Claude Opus 4.8 --- src/app/features/call/CallControls.tsx | 83 +++++-------------- src/app/features/settings/general/General.tsx | 16 +++- 2 files changed, 34 insertions(+), 65 deletions(-) diff --git a/src/app/features/call/CallControls.tsx b/src/app/features/call/CallControls.tsx index 7164ea7b6..d8f4970e4 100644 --- a/src/app/features/call/CallControls.tsx +++ b/src/app/features/call/CallControls.tsx @@ -87,7 +87,6 @@ export function CallControls({ callEmbed }: CallControlsProps) { const [pttMode] = useSetting(settingsAtom, 'pttMode'); const [pttKey] = useSetting(settingsAtom, 'pttKey'); const [deafenKey] = useSetting(settingsAtom, 'deafenKey'); - const [lotusTerminal] = useSetting(settingsAtom, 'lotusTerminal'); const [pttActive, setPttActive] = useState(false); // Track microphone via ref so the PTT effect doesn't need it as a dep (avoids listener churn) @@ -244,68 +243,26 @@ export function CallControls({ callEmbed }: CallControlsProps) { justifyContent="Center" alignItems="Center" > - {pttMode && - (lotusTerminal ? ( - - - {pttActive ? ( - <> - - ● - - {' LIVE'} - - ) : ( - `PTT — Hold ${pttKeyLabel}` - )} - - - ) : ( - - - {pttActive ? '● Live' : `PTT — Hold ${pttKeyLabel}`} - - - ))} + {pttMode && ( + + + {pttActive ? '● Live' : `PTT — Hold ${pttKeyLabel}`} + + + )} {shareConfirm && ( <>
void; }) { return ( - + {SEASONAL_OPTIONS.map((opt) => { const selected = value === opt.value; const isSpecial = opt.value === 'auto' || opt.value === 'off'; @@ -1727,7 +1733,13 @@ function ChatBgGrid() { const isDark = theme.kind === ThemeKind.Dark; return ( - + {BG_OPTIONS.map((opt) => (