Skip to content

Clean up ExpandEditToPane feature flag - #14626

Open
oz-for-oss[bot] wants to merge 1 commit into
masterfrom
oz-agent/cleanup-feature-flag-ExpandEditToPane
Open

Clean up ExpandEditToPane feature flag#14626
oz-for-oss[bot] wants to merge 1 commit into
masterfrom
oz-agent/cleanup-feature-flag-ExpandEditToPane

Conversation

@oz-for-oss

@oz-for-oss oz-for-oss Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Automated cleanup of the ExpandEditToPane feature flag.

This PR was generated by the feature flag cleanup workflow.

@cla-bot cla-bot Bot added the cla-signed label Aug 1, 2026
@oz-for-oss

oz-for-oss Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@oz-for-oss[bot]

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

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

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.

Overview

This PR removes the ExpandEditToPane Cargo feature and FeatureFlag variant, making the code-diff pane replacement path unconditional.

Concerns

  • The PR changes user-visible code-diff behavior but the description does not include screenshots or a screen recording demonstrating the flow end to end.
  • The pane replacement failure log still says it is falling back to a new tab even though the fallback branch was removed.

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 app/src/workspace/view.rs
let (new_idx, group_id) = self.new_tab_index_and_group(ctx);
self.add_tab_from_existing_pane(Box::new(new_pane), new_idx, group_id, ctx);
}
// Try to temporarily replace the current pane with the diff view

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.

⚠️ [IMPORTANT] For this user-facing change, please include screenshots or a screen recording demonstrating the code diff opening in the current pane end to end.

Comment thread app/src/workspace/view.rs
if !pane_group.replace_pane(focused_pane_id, new_pane, true, ctx) {
// If replacement failed, remove the pane we just added and fall back
//pane_group.close_pane(new_pane_id, ctx);
log::warn!("Failed to temporarily replace pane, falling back to new tab");

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.

💡 [SUGGESTION] This message no longer matches the behavior because the new-tab fallback was removed.

Suggested change
log::warn!("Failed to temporarily replace pane, falling back to new tab");
log::warn!("Failed to temporarily replace pane with code diff view");

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.

1 participant