Skip to content

fix(terminal): dedupe raw-terminal warning banner and add warning icon - #452

Open
RonenMars wants to merge 1 commit into
26-07-2026.18-44-integrationfrom
fix/raw-terminal-duplicate-warning-banner
Open

fix(terminal): dedupe raw-terminal warning banner and add warning icon#452
RonenMars wants to merge 1 commit into
26-07-2026.18-44-integrationfrom
fix/raw-terminal-duplicate-warning-banner

Conversation

@RonenMars

Copy link
Copy Markdown
Owner

Summary

Session-level rawFallbackBanner and TerminalView's rawModeNote both fired on low parse confidence, stacking two nearly-identical warnings on screen.
Only TerminalView's note fires for that case now; the session-level banner covers only the forceRawTerminal path.
Both banners get a warning-triangle icon so they read as visually distinct from the "Waiting" status badge, which shares the same amber hue in every theme.

Test plan

  • npx eslint on changed files (0 errors, 1 pre-existing unrelated warning)
  • npx tsc --noEmit shows no new errors from this change
  • Manual check on a low-confidence session in the app

Session-level rawFallbackBanner and TerminalView's rawModeNote both fired
on low parse confidence, stacking two nearly-identical warnings. Only
TerminalView's note remains for that case; the session-level banner now
only covers the forceRawTerminal path. Both banners get a warning-triangle
icon so they read as distinct from the "Waiting" status badge, which
shares the same amber hue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant