Skip to content

Restore features when command palette is disabled - #10345

Merged
fregante merged 4 commits into
mainfrom
command-palette
Nov 1, 2026
Merged

fregante merged 4 commits into
mainfrom
command-palette

Conversation

@kidonng

@kidonng kidonng commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Fix #10343

Test URLs

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

Screenshot

CleanShot 2026-10-29 at 11 41 20 PM@2x

(Yeah I noticed ci-link is also broken... but the root cause seems to be different , so I would open another fix)

@kidonng kidonng added the bug label Oct 29, 2026
@kidonng

kidonng commented Oct 29, 2026

Copy link
Copy Markdown
Member Author

Oof... I still remembered the old ci-link name

@kidonng
kidonng marked this pull request as draft October 29, 2026 16:02
@kidonng
kidonng marked this pull request as ready for review October 29, 2026 16:46
@kidonng

kidonng commented Oct 29, 2026 •

Copy link
Copy Markdown
Member Author

Explain:

// GitHub uses different render strategies depending on the "Command Palette" Feature Preview setting
// - Enabled: Catalyst is used, and `.loaded` is present
// - Disabled: SSR is used, and `[data-render-ssr]` is present

Moved to #10348

Also CI link seems to be broken (forever loading) regardless of this change

CleanShot 2026-10-30 at 12 45 02 AM@2x


// GitHub uses different render strategies depending on the "Command Palette" Feature Preview setting
// - Enabled: Catalyst is used, and `.loaded` is present
// - Disabled: SSR is used, and `[data-render-ssr]` is present

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is insane. I'm not convinced we should spend time supporting two types of renderers if one is going away soon (that's the point of previews, right?)

Also I'm not sure there's a reason to disable the palette given it's one button in the header that you don't have to use.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But I guess we have no choice

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The problem is the preview is disabled by default. I noticed this when using my (recently created) alt account for testing. Also it's just simple selector changes, so doesn't really hurt?

Comment thread source/features/repo-header-info.svelte Resolved
@kidonng kidonng changed the title Restore features when "Command Palette" Feature Preview is disabled Restore features when command palette is disabled Nov 1, 2026
@fregante
fregante merged commit 5b982e3 into main Nov 1, 2026
21 checks passed
@fregante
fregante deleted the command-palette branch November 1, 2026 10:18
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.

Some features are missing when "Command Palette" Feature Preview is not enabled

2 participants