Skip to content

Add editable keybinding for toggling the conversation details panel.#9837

Merged
liliwilson merged 2 commits intomasterfrom
lili/add-keybinding-for-details-panel
May 5, 2026
Merged

Add editable keybinding for toggling the conversation details panel.#9837
liliwilson merged 2 commits intomasterfrom
lili/add-keybinding-for-details-panel

Conversation

@liliwilson
Copy link
Copy Markdown
Contributor

@liliwilson liliwilson commented May 1, 2026

Description

WISOTT. Follows precedent for defining keys in the keymap context and uses existing function for determining whether this keybinding should be active.

Defaults to unset - I wasn't sure of a good keybind for this and don't think it warrants a default.

Testing

Ran locally, set a keybinding (cmd + alt + I), and then observed toggle behavior.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Changelog Entries for Stable

CHANGELOG-IMPROVEMENT: The conversation details panelcan now be opened and closed with a configurable keyboard shortcut.

@cla-bot cla-bot Bot added the cla-signed label May 1, 2026
@liliwilson liliwilson force-pushed the lili/add-keybinding-for-details-panel branch from 89ad5df to c580d8c Compare May 1, 2026 18:46
@liliwilson liliwilson requested a review from seemeroland May 1, 2026 18:47
@liliwilson liliwilson marked this pull request as ready for review May 1, 2026 18:47
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 1, 2026

@liliwilson

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds an editable Warp AI keybinding for toggling the conversation details panel and exposes a keymap context flag when the panel can be shown.

Concerns

  • The new terminal action binding is registered for all targets, but the WASM details panel is controlled by workspace-level transcript panel state, so the shortcut can be active while toggling terminal state that is never rendered.
  • This is a user-visible keybinding/settings change, but the PR does not include screenshots or a video demonstrating the configured shortcut and panel toggle behavior end to end.
  • The changelog entry has a minor typo: panelcan should be panel can.

Verdict

Found: 0 critical, 2 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

app.register_editable_bindings([EditableBinding::new(
"terminal:toggle_conversation_details_panel",
"Toggle Conversation Details Panel",
TerminalAction::ToggleConversationDetailsPanel,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] This binding is registered on all targets but dispatches the terminal-view toggle; on WASM the details panel is rendered from workspace transcript-panel state, so the shortcut can be active while toggling state that is never rendered. Gate this binding to non-WASM or route the web path through the workspace toggle.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true, but not a big deal. On wasm I think it'd be ideal if we changed it so the conversation details panel is rendered the same way (within the pane, with button in pane header)

Copy link
Copy Markdown
Contributor

@seemeroland seemeroland May 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh actually might still be worth addressing I think because I'm not sure if the keybinding is going to make the button appear active but not render the panel. Just want to make sure it does nothing on wasm

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! (It doesn't actually pass WASM clippy without gating this to non-WASM)

Comment thread app/src/terminal/view/init.rs
app.register_editable_bindings([EditableBinding::new(
"terminal:toggle_conversation_details_panel",
"Toggle Conversation Details Panel",
TerminalAction::ToggleConversationDetailsPanel,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true, but not a big deal. On wasm I think it'd be ideal if we changed it so the conversation details panel is rendered the same way (within the pane, with button in pane header)

Base automatically changed from oz-agent/APP-3595/conversation-details-panel-local to master May 4, 2026 22:57
@liliwilson liliwilson force-pushed the lili/add-keybinding-for-details-panel branch from c580d8c to a0461e3 Compare May 5, 2026 06:03
@liliwilson liliwilson force-pushed the lili/add-keybinding-for-details-panel branch from a0461e3 to 74baac9 Compare May 5, 2026 06:17
@liliwilson liliwilson merged commit d09a90e into master May 5, 2026
24 checks passed
@liliwilson liliwilson deleted the lili/add-keybinding-for-details-panel branch May 5, 2026 06:53
wolverine2k pushed a commit to wolverine2k/warp that referenced this pull request May 5, 2026
…arpdotdev#9837)

<!-- Please remember to add your design buddy onto the PR for review, if
it contains any UI changes! -->
WISOTT. Follows precedent for defining keys in the keymap context and
uses existing function for determining whether this keybinding should be
active.

Defaults to unset - I wasn't sure of a good keybind for this and don't
think it warrants a default.

<!--
How did you test this change? What automated tests did you add? If you
didn't add any new tests, what's your justification for not adding any?
-->
Ran locally, set a keybinding (cmd + alt + I), and then observed toggle
behavior.

- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

<!--
The entries below will be used when constructing a soft-copy of the
stable release changelog. Leave blank or remove the lines if no entry in
the stable changelog is needed. Entries should be on the same line,
without the `{{` `}}` brackets. You can use multiple lines, even of the
same type. The valid suffixes are:

* NEW-FEATURE: for new, relatively sizable features. Features listed
here will likely have docs / social media posts / marketing launches
associated with them, so use sparingly.
* IMPROVEMENT: for new functionality of existing features.
* BUG-FIX: for fixes related to known bugs or regressions.
* IMAGE: the image specified by the URL (hosted on GCP) will be added to
Dev & Preview releases. For Stable releases, see the pinned doc in the
* OZ: Oz-related updates. Use `CHANGELOG-OZ`. At most 4 Oz updates are
shown in-app per release.

CHANGELOG-NEW-FEATURE: {{text goes here...}}
CHANGELOG-IMPROVEMENT: {{text goes here...}}
CHANGELOG-BUG-FIX: {{text goes here...}}
CHANGELOG-BUG-FIX: {{more text goes here...}}
CHANGELOG-IMAGE: {{GCP-hosted URL goes here...}}
CHANGELOG-OZ: {{text goes here...}}
-->
CHANGELOG-IMPROVEMENT: The conversation details panelcan now be opened
and closed with a configurable keyboard shortcut.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants