Skip to content

feat(web): add terminal toggle button to chat header#633

Open
antiisaint wants to merge 3 commits intopingdotgg:mainfrom
antiisaint:feat/terminal-toggle-button
Open

feat(web): add terminal toggle button to chat header#633
antiisaint wants to merge 3 commits intopingdotgg:mainfrom
antiisaint:feat/terminal-toggle-button

Conversation

@antiisaint
Copy link

@antiisaint antiisaint commented Mar 9, 2026

Closes #625

What Changed

Added a terminal toggle button to the chat header.

This uses the existing terminal toggle behavior in the chat header.

Why

The terminal was mainly discoverable through keyboard shortcuts. This adds a visible control for opening and closing it.

UI Changes

Before:

  • No terminal toggle button in the chat header
before

After:

  • Added a terminal toggle button to the chat header
after

Video:

0309.mov

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Add terminal toggle button to chat header

  • Adds a TerminalSquareIcon toggle button to ChatHeader that opens and closes the terminal drawer.
  • The button is disabled when no active project is set, and its tooltip shows the configured keyboard shortcut when available.
  • ChatView computes the shortcut label via shortcutLabelForCommand and passes terminal state and the toggle handler down to ChatHeader.

Macroscope summarized af0caea.

@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 41da8643-7200-4413-958c-d72c176d57eb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.

OpenGrep is compatible with Semgrep configurations. Add an opengrep.yml or semgrep.yml configuration file to your project to enable OpenGrep analysis.

@github-actions github-actions bot added the vouch:unvouched PR author is not yet trusted in the VOUCHED list. label Mar 9, 2026
@antiisaint antiisaint closed this Mar 11, 2026
@antiisaint antiisaint reopened this Mar 15, 2026
@github-actions github-actions bot added the size:M 30-99 changed lines (additions + deletions). label Mar 15, 2026
@antiisaint
Copy link
Author

cc @juliusmarminge, looks like there's some interest in the linked issue, so figured it was worth bringing back up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lack of terminal button

1 participant