Skip to content

feat(tabs): close pinned tabs from their right-click menu - #1991

Merged
Hona merged 4 commits into
devfrom
upstream-f/up-367-close-pinned-tab-menu
Dec 1, 2026
Merged

Hona merged 4 commits into
devfrom
upstream-f/up-367-close-pinned-tab-menu

Conversation

@Hona

@Hona Hona commented Dec 1, 2026

Copy link
Copy Markdown
Member

Ports official anomalyco/opencode#67499 (feat(app): close pinned tabs from their right-click menu, commit 0389cad1b3).

Upstream Hunk Mapping

  • packages/app/src/shell/titlebar/pinned-area.tsx:559-560 (<Menu.Separator /> + <Menu.Item onSelect={() => pins.close(props.pin)}>{language.t("common.closeTab")}</Menu.Item>) -> apps/desktop/src/shell/view/sidebar/pinned_area.rs (open_pin_menu: adds separator + common.closeTab item calling pins::close(s, &pin, tx)).

Verification

  • Local scripts/guardrails.ps1: 11/11 passed.
  • Visual proof scenes: --scene sidebar-consolidated and --scene top-consolidated (right-click any pinned session).

Copilot AI balanced review requested due to automatic review settings December 1, 2026 10:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Hona
Hona merged commit 7014d21 into dev Dec 1, 2026
8 checks passed
@Hona
Hona deleted the upstream-f/up-367-close-pinned-tab-menu branch December 1, 2026 11:15
Hona added a commit that referenced this pull request Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants