Update banner UI for exiting shell mode in shell prefix#11510
Conversation
|
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 Powered by Oz |
There was a problem hiding this comment.
Overview
This PR updates the Agent View shell-mode exit banner to show Cmd+I instead of Backspace.
Concerns
- The new shortcut display is hardcoded to Cmd+I, but the registered binding is Cmd+I on macOS, Ctrl+I on Linux/Windows, and is user-editable. The banner can therefore show the wrong shortcut.
- This is a user-facing UI change, but the PR description does not include screenshots or a screen recording demonstrating the updated banner end to end.
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
| keystroke: Keystroke { | ||
| key: "backspace".to_owned(), | ||
| key: "i".to_owned(), | ||
| cmd: true, |
There was a problem hiding this comment.
|
/oz-review |
|
I'm re-reviewing this pull request in response to a review request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR updates the agent view shell-prefix exit banner to display the configured Agent Mode keybinding instead of always showing backspace, with visual evidence provided in the PR description.
Concerns
- The new dynamic keybinding lookup drops the entire shell-mode exit hint when the Agent Mode binding is unset, even though backspace still exits shell prefix mode.
Verdict
Found: 0 critical, 1 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
Co-authored-by: oz-for-oss[bot] <277970191+oz-for-oss[bot]@users.noreply.github.com>
|
/oz-review |
|
I'm re-reviewing this pull request in response to a review request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR updates the Agent View shell-prefix exit hint so it displays the configured input:set_mode_agent shortcut, with a Backspace fallback when no binding is available. The PR description includes visual evidence, and I found no blocking correctness, security, or spec-alignment issues.
Concerns
- The configured shortcut hint still inherits Backspace-specific disabled styling when the buffer is non-empty, which can make an available shortcut appear unavailable.
Verdict
Found: 0 critical, 0 important, 1 suggestion
Approve with nits
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| key: "backspace".to_owned(), | ||
| ..Default::default() | ||
| }, | ||
| keystroke: set_input_mode_agent_keystroke, |
There was a problem hiding this comment.
💡 [SUGGESTION] This now displays the configured mode-toggle shortcut, which still works with a non-empty buffer, but the color overrides below keep rendering it as disabled whenever text is present. Keep the disabled styling only for the Backspace fallback, or compute it based on whether this shortcut is actually unavailable.
There was a problem hiding this comment.
https://www.loom.com/share/d7c3e41433bf49f993c1ecba2adb5a00
this is the experience of completely removing color opacity regardless of buffer empty or not
e0c921c to
4848c83
Compare
|
/oz-review |
|
I'm re-reviewing this pull request in response to a review request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR updates the agent message bar hint for exiting locked shell mode so it reflects the configured Set Input Mode to Agent Mode keybinding, falling back to Backspace when no binding is available. The attached Loom link satisfies the visual-evidence requirement for this user-facing UI change.
Concerns
- No blocking correctness or security concerns found in the reviewed diff.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| || Keystroke { | ||
| key: "backspace".to_owned(), | ||
| ..Default::default() |
There was a problem hiding this comment.
hrm, what's the point of the fallback? I would just get rid of this
There was a problem hiding this comment.
@szgupta it was called out by Oz #11510 (review) to handle keybinding unset scenario. Is this a false alarm then? e.g users should have it by os default?
Description
slack context: https://warpdev.slack.com/archives/C08QY6ZBK2A/p1779384636368719
Linked Issue
ready-to-specorready-to-implement.Testing
./script/runScreenshots / Videos
https://www.loom.com/share/579775abfd344b23a32eae4cbf216c5c
Agent Mode