From 27110ed893077fba3a69ca40ce5fcfd3260ab4d2 Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Mon, 13 Jul 2026 00:07:21 -0700 Subject: [PATCH] FN-7930: remove terminal footer 'Connected' label and shortcut help text Declutters the terminal footer by dropping steady-state noise: the redundant 'Connected' status text (the header status dot already conveys connection state) and the persistent zoom/shortcuts/escape help copy. - Remove .terminal-shortcuts / .terminal-shortcuts--header CSS rules (including responsive breakpoint overrides) as orphaned styling - Stop rendering the 'Connected' text and the Ctrl++/- zoom / Shortcuts panel / Esc close help span in TerminalModal's footer - Drop the now-unused terminal.helpText locale key from all 6 locales (en, es, fr, ko, zh-CN, zh-TW) and regenerate resources.d.ts - Update TerminalModal tests to match the trimmed footer markup and add a regression test asserting the connected-status text and shortcut help are omitted - Add a patch changeset documenting the fix Files changed: .changeset/remove-terminal-footer-noise.md | 7 +++++ .../dashboard/app/components/TerminalModal.css | 34 --------------------- .../dashboard/app/components/TerminalModal.tsx | 7 +++-- .../components/__tests__/TerminalModal.test.tsx | 35 +++++++++++++++++----- packages/i18n/locales/en/app.json | 1 - packages/i18n/locales/es/app.json | 1 - packages/i18n/locales/fr/app.json | 1 - packages/i18n/locales/ko/app.json | 1 - packages/i18n/locales/zh-CN/app.json | 1 - packages/i18n/locales/zh-TW/app.json | 1 - packages/i18n/src/resources.d.ts | 1 - 11 files changed, 40 insertions(+), 50 deletions(-) Fusion-Task-Id: FN-7930 Fusion-Task-Lineage: 2b8acb5d-c4d4-4766-ba84-b2691a7eb5e8 Co-authored-by: Fusion (runfusion.ai) --- .changeset/remove-terminal-footer-noise.md | 7 ++++ .../app/components/TerminalModal.css | 34 ------------------ .../app/components/TerminalModal.tsx | 7 ++-- .../__tests__/TerminalModal.test.tsx | 35 +++++++++++++++---- packages/i18n/locales/en/app.json | 1 - packages/i18n/locales/es/app.json | 1 - packages/i18n/locales/fr/app.json | 1 - packages/i18n/locales/ko/app.json | 1 - packages/i18n/locales/zh-CN/app.json | 1 - packages/i18n/locales/zh-TW/app.json | 1 - packages/i18n/src/resources.d.ts | 1 - 11 files changed, 40 insertions(+), 50 deletions(-) create mode 100644 .changeset/remove-terminal-footer-noise.md diff --git a/.changeset/remove-terminal-footer-noise.md b/.changeset/remove-terminal-footer-noise.md new file mode 100644 index 0000000000..ed618bf3f9 --- /dev/null +++ b/.changeset/remove-terminal-footer-noise.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Remove the "Connected" label and shortcut help text from the terminal footer. +category: fix +dev: Drops the terminal footer helpText locale key and orphaned shortcut CSS. diff --git a/packages/dashboard/app/components/TerminalModal.css b/packages/dashboard/app/components/TerminalModal.css index 137297b8df..d3c9a61996 100644 --- a/packages/dashboard/app/components/TerminalModal.css +++ b/packages/dashboard/app/components/TerminalModal.css @@ -908,30 +908,6 @@ The terminal header pop-out/dock affordance is an icon-only utility control. It color: var(--text-muted); } -.terminal-shortcuts { - font-size: 12px; - color: var(--text-muted); -} - -/* -FNXC:TerminalHeader 2026-07-11-18:45: -FN-7823: viewport-based terminal breakpoints keep narrow floating/docked panels on the desktop header layout, so the header help text must stay on one line and let .terminal-actions use the FN-7550 min-width: 0 + overflow-x scroll pattern instead of wrapping the header. -*/ -.terminal-shortcuts--header { - white-space: nowrap; -} - -.terminal-shortcuts kbd { - display: inline-block; - padding: 2px 6px; - background: var(--surface); - border: 1px solid var(--border); - border-radius: var(--radius-sm); - font-family: var(--font-mono); - font-size: 11px; - color: var(--text); -} - .terminal-history { display: flex; flex-direction: column; @@ -1808,10 +1784,6 @@ The Android keyboard-open recurrence can start with a touch-primary visualViewpo font-size: 11px; } - .terminal-shortcuts { - font-size: 11px; - } - .terminal-shortcut-panel { max-height: calc(var(--space-2xl) + var(--space-2xl) + var(--space-2xl) + var(--space-xl)); } @@ -1851,11 +1823,6 @@ The Android keyboard-open recurrence can start with a touch-primary visualViewpo min-height: calc(var(--space-xl) + var(--space-md)); } - .terminal-shortcuts kbd { - padding: 1px 4px; - font-size: 10px; - } - .terminal-input-area { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); @@ -1925,7 +1892,6 @@ The Android keyboard-open recurrence can start with a touch-primary visualViewpo display: none; } - .terminal-shortcuts--header, .terminal-connection-status { display: none; } diff --git a/packages/dashboard/app/components/TerminalModal.tsx b/packages/dashboard/app/components/TerminalModal.tsx index b98887b234..195014a77f 100644 --- a/packages/dashboard/app/components/TerminalModal.tsx +++ b/packages/dashboard/app/components/TerminalModal.tsx @@ -2513,14 +2513,17 @@ export function TerminalModal({ isOpen, onClose, initialCommand, initialCommandG {t("terminal.preferences", "Preferences")} + {/* + FNXC:Terminal 2026-07-12-00:00: + The terminal footer should not repeat steady-state "Connected" text or persistent zoom/shortcuts/escape help copy because the footer is crowded. + Keep only actionable non-connected status text here; the header status dot still conveys the connected state visually. + */} - {connectionStatus === "connected" && t("terminal.statusConnected", "Connected")} {connectionStatus === "connecting" && t("terminal.statusConnecting", "Connecting...")} {connectionStatus === "reconnecting" && t("terminal.statusReconnecting", "Reconnecting...")} {connectionStatus === "disconnected" && t("terminal.statusDisconnected", "Disconnected")} {exitCode !== null && {t("terminal.exitLabel", "Exit: {{code}}", { code: exitCode })}} - {t("terminal.helpText", "Ctrl++/- zoom • ⌨ Shortcuts panel • Esc close")} {!embedded && !isMobileTerminal && (