Skip to content

spec: open review panel maximised by default (#10036)#10223

Open
lonexreb wants to merge 1 commit intowarpdotdev:masterfrom
lonexreb:spec/10036-maximize-review-panel
Open

spec: open review panel maximised by default (#10036)#10223
lonexreb wants to merge 1 commit intowarpdotdev:masterfrom
lonexreb:spec/10036-maximize-review-panel

Conversation

@lonexreb
Copy link
Copy Markdown
Contributor

@lonexreb lonexreb commented May 6, 2026

Spec for #10036. New editor.review_panel_open_maximized boolean setting (default false). When enabled, clicking the code-review button opens the panel pre-maximised in one click. Default-off preserves today's behavior exactly.

Closes (spec-only) #10036.

@cla-bot cla-bot Bot added the cla-signed label May 6, 2026
@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 6, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 6, 2026

@lonexreb

I'm starting a first review of this spec-only 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 spec defines a default-off setting to open the code-review panel maximised in one click while preserving the current default behavior. The behavior and acceptance criteria are mostly clear, and the security review found no material high-level security concerns for this UI preference.

Concerns

  • The setting key is specified as editor.review_panel_open_maximized, but the referenced code-review/editor settings in this repository use the code.editor.* TOML namespace. The spec should name the final TOML path consistently before implementation.
  • The test plan omits coverage for the runtime-toggle behavior required by A3.

Verdict

Found: 0 critical, 1 important, 1 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

Comment thread specs/GH10036/SPEC.md

## Behavior contract

- B1. New setting `editor.review_panel_open_maximized: bool`,
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] The setting key conflicts with the repository's existing code-review/editor TOML namespace (code.editor.show_code_review_button, code.editor.show_code_review_diff_stats, code.editor.auto_open_code_review_pane_on_first_agent_change). Specify code.editor.review_panel_open_maximized consistently, or explicitly justify the new top-level editor.* namespace, so implementation and TOML round-trip behavior are unambiguous.

Comment thread specs/GH10036/SPEC.md

## Test plan

- T1. Setting round-trips through TOML.
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.

💡 [SUGGESTION] Add a test for A3 so toggling the setting while a non-maximised panel is already open is verified not to mutate the current panel state.

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

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant