Skip to content

delete-branch - Restore when command palette is disabled - #10346

Merged
fregante merged 2 commits into
mainfrom
delete-branch
Nov 1, 2026
Merged

fregante merged 2 commits into
mainfrom
delete-branch

Conversation

@kidonng

@kidonng kidonng commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Fix #10344

This will work either the preview is enabled or disabled.

Test URLs

https://github.com/oven-sh/WebKit

Screenshot

CleanShot 2026-10-29 at 11 50 34 PM@2x

@kidonng kidonng added the bug label Oct 29, 2026
Comment thread source/features/delete-branch.tsx Resolved
@kidonng kidonng changed the title delete-branch - Fix PR check when "Command Palette" Feature Preview is enabled delete-branch - Fix PR check when command palette is enabled Nov 1, 2026
@fregante fregante changed the title delete-branch - Fix PR check when command palette is enabled delete-branch - Restore when command palette is disabled Nov 1, 2026
@fregante
fregante merged commit 08bf896 into main Nov 1, 2026
28 checks passed
@fregante
fregante deleted the delete-branch branch November 1, 2026 10:26
@fregante

fregante commented Nov 1, 2026

Copy link
Copy Markdown
Member

I'm not seeing it on https://github.com/refined-github/sandbox/tree/branch/with/slashes when the command palette is disabled

The button works well with the command palette enabled:

Screenshot 8

@kidonng

kidonng commented Nov 2, 2026

Copy link
Copy Markdown
Member Author

I'm not seeing it on refined-github/sandbox@branch/with/slashes when the command palette is disabled

That... is expected? Unless I misunderstood the feature

// No button if there are open PRs
'a .octicon-git-pull-request',

The button works well with the command palette enabled

I just checked again, the button won't show up in either state

@fregante

fregante commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Oh yeah, but then it shouldn't appear in both cases

@fregante

fregante commented Nov 2, 2026

Copy link
Copy Markdown
Member

I just checked again, the button won't show up in either state

Did you try main? The slashed branch detection was merged together with this PR

@kidonng

kidonng commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

Tested working on HEAD ccf18c9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

delete-branch appears when it shouldn't

2 participants