Skip to content

feat(app): remove the pin-tab button from the tab strip - #436

Merged
crs48 merged 1 commit into
mainfrom
claude/remove-pin-tab-button-406ded
Jul 9, 2026
Merged

feat(app): remove the pin-tab button from the tab strip#436
crs48 merged 1 commit into
mainfrom
claude/remove-pin-tab-button-406ded

Conversation

@crs48

@crs48 crs48 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

What

Removes the inline pin / unpin button that appeared on each tab in the workbench tab strip. It occupied space (revealed on hover for unpinned tabs; always shown for pinned tabs) for a rarely-used action.

Why

Per the request: the button just eats up UI space and isn't very useful.

No functionality lost

Pin and unpin remain fully reachable from the tab's right-click context menu (Pin tab / Unpin tab), which already existed. Pinned tabs still shrink to their icon and lose the close button; the only change is that the pinned tab no longer renders an inline unpin button — TabActions returns null for pinned tabs.

The store action setTabPinned, the keyboard/close-guard behavior, and the Pin/PinOff icon imports (still used by the context menu) are untouched.

Verification

  • Drove the running web app: opened a tab → confirmed 0 pin/unpin buttons render, close button still present.
  • Pinned via the context menu → tab collapses to icon-only with no inline buttons and no crash; unpinned again via the menu.
  • apps/web/src/workbench/* tests pass (198/198), including state.test.ts pin/unpin coverage.
  • Prettier clean.

Adds a changelog fragment (app tag). No changeset — apps/web is a private app.

🤖 Generated with Claude Code

The inline pin/unpin button on each tab took up space for a
rarely-used action. Pin and unpin remain available from the tab's
right-click context menu, so no functionality is lost — pinned tabs
still shrink to their icon and lose the close button.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: xNet Test <test@xnet.dev>
@crs48
crs48 temporarily deployed to pr-436 July 9, 2026 13:08 — with GitHub Actions Inactive
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🖼️ UI changes in this PR

No visual differences detected in the changed UI.

CI run

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview removed for PR #436.

github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@crs48
crs48 merged commit daf9d41 into main Jul 9, 2026
15 checks passed
@crs48
crs48 deleted the claude/remove-pin-tab-button-406ded branch July 9, 2026 13:21
github-actions Bot added a commit that referenced this pull request Jul 9, 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.

1 participant