Skip to content

Fix tab renaming bug with tab groups in pane view#13289

Open
johnturcoo wants to merge 2 commits into
masterfrom
johnturco/app-4810-hide-rename-tab-option-for-tab-in-group-for-pane-view
Open

Fix tab renaming bug with tab groups in pane view#13289
johnturcoo wants to merge 2 commits into
masterfrom
johnturco/app-4810-hide-rename-tab-option-for-tab-in-group-for-pane-view

Conversation

@johnturcoo

Copy link
Copy Markdown
Contributor

Description

In vertical-tabs Panes view, a tab that belongs to a tab group renders without its own header — only the individual pane rows (and their names) are shown, not the top-level tab name. This makes "Rename tab" / "Reset tab name" confusing there: they act on a name the user can't see, and opening the tab rename editor spills it across the pane rows.

This PR suppresses tab-name actions for a grouped tab in Panes view:
• Adds TabData::tab_name_hidden_in_grouped_pane_view(ctx) — true when the tab is in a group, vertical tabs are on, and the display granularity is Panes.
• Hides the "Rename tab" and "Reset tab name" entries from the tab context menu in that case (pane rename/reset entries remain).
• Makes the RenameActiveTab action (keyboard shortcut / command) a no-op in that case instead of opening the editor.

Linked Issue

https://linear.app/warpdotdev/issue/APP-4810/hide-rename-tab-option-for-tab-in-group-for-pane-view

Testing

  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

Demo video

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

oz-for-oss Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@johnturcoo

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

Choose a reason for hiding this comment

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

Overview

This PR hides tab-level rename/reset actions for grouped tabs in vertical-tabs Panes view and prevents the RenameActiveTab action from opening an editor when the active tab's top-level name is hidden.

Concerns

  • No blocking correctness, security, or spec-drift concerns found. The PR includes visual evidence for the user-facing behavior.
  • One nit is left inline for trailing whitespace.

Verdict

Found: 0 critical, 0 important, 0 suggestions

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

Comment thread app/src/tab.rs
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