warp icon indicating copy to clipboard operation
warp copied to clipboard

Support tab group renaming

Open johnturcoo opened this issue 6 months ago • 1 comments

Description

Adds inline rename support for tab groups in the vertical tabs panel.

  • Double-click a group header to edit its name
  • Newly-created groups (Create new group, New group from tab) auto-open the rename editor so users can name them immediately)
  • Empty input is treated as cancel — the existing name is preserved

Changes

  • workspace/action.rs — New WorkspaceAction::RenameTabGroup(TabGroupId)
  • workspace/util.rs — Added tab_group_being_renamed: Option<TabGroupId> to WorkspaceState with set/clear/is_any/is/get accessors.
  • workspace/view.rs
    • New tab_group_rename_editor editor view
    • finish_tab_group_rename / cancel_tab_group_rename commit/abort the rename, restoring focus to the active tab.
    • rename_tab_group opens the inline editor, seeded with the existing name or "New Group" with the text pre-selected.
    • create_new_tab_group and new_tab_group_from_tab now dispatches RenameTabGroup via dispatch_typed_action_deferred so the group's header mounts in the next render before focus is requested.
  • workspace/view/vertical_tabs.rs — Group header conditionally renders the rename editor when is_tab_group_being_renamed(group.id) is true; double-click on the header dispatches RenameTabGroup.

Linked Issue

https://linear.app/warpdotdev/issue/APP-4618/vertical-tab-group-renaming-support

Testing

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

Screenshots / Videos

Demo video

johnturcoo avatar May 28 '26 17:05 johnturcoo

@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

warp-for-oss[bot] avatar May 28 '26 17:05 warp-for-oss[bot]