fix: Multiple UX improvements for GotoAnything command palette (#25637)

This commit is contained in:
lyzno1 2025-09-13 21:03:42 +08:00 • committed by GitHub
commit 36ab9974d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 772 additions and 45 deletions

View file

@ -60,6 +60,7 @@ const buildThemeCommands = (query: string, locale?: string): CommandSearchResult
export const themeCommand: SlashCommandHandler<ThemeDeps> = {
name: 'theme',
description: 'Switch between light and dark themes',
mode: 'submenu', // Explicitly set submenu mode
async search(args: string, locale: string = 'en') {
// Return theme options directly, regardless of parameters