mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6352] [MERGED] feat(ui): add global command palette (Ctrl+K) for fast navigation and search #6232
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6352
Author: @TheMRVX
Created: 8/28/2026
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @MHSanaei
Base:
main← Head:feat/command-palette📝 Commits (10+)
85624b8feat(ui): add global command palette (Ctrl+K) for fast navigation and search7cb2f1cfix(ui): address review feedback for shortcut listener, i18n parity, and search deep linksba2d5f7fix(ui): resolve search routing, translation keys, and palette state reset939bb61fix(ui): improve command palette styling and sidebar transitions829b250fix(ui): address review feedback for typecheck, codegen, debouncing, and state resetdf7db7cfix(ui): resolve effect state update warning and debounce reset in command palette94fdf80fix(ui): address review feedback for stale client search results and theme actionc94252bMerge branch 'main' into feat/command-palette002a1ebstyle(ui): apply oxfmt formatting to command palette and tests1611479fix(deps): update js-yaml override to resolve audit advisory📊 Changes
30 files changed (+2140 additions, -4 deletions)
View changed files
📝
docs/public/openapi.json(+8 -0)📝
frontend/public/openapi.json(+8 -0)➕
frontend/src/components/command-palette/CommandPalette.css(+625 -0)➕
frontend/src/components/command-palette/CommandPalette.tsx(+802 -0)➕
frontend/src/components/command-palette/useCommandPalette.ts(+49 -0)📝
frontend/src/generated/examples.ts(+2 -0)📝
frontend/src/generated/schemas.ts(+6 -0)📝
frontend/src/generated/types.ts(+2 -0)📝
frontend/src/generated/zod.ts(+2 -0)📝
frontend/src/layouts/AppSidebar.tsx(+50 -1)📝
frontend/src/layouts/PanelLayout.tsx(+7 -1)📝
frontend/src/pages/clients/ClientsPage.tsx(+16 -1)📝
frontend/src/pages/inbounds/list/InboundList.tsx(+13 -1)📝
frontend/src/schemas/client.ts(+2 -0)📝
frontend/src/test/app-sidebar.test.tsx(+6 -0)➕
frontend/src/test/command-palette.test.tsx(+330 -0)📝
internal/web/service/inbound.go(+43 -0)📝
internal/web/translation/ar-EG.json(+13 -0)📝
internal/web/translation/en-US.json(+13 -0)📝
internal/web/translation/es-ES.json(+13 -0)...and 10 more files
📄 Description
Summary
Adds a global Command Palette (
Ctrl+K/⌘Kor sidebar search button) providing instant keyboard-driven search and navigation across clients, inbounds, panel routes, settings subpages, and system actions.Why
Navigating large panels with dozens of clients, inbounds, and nested configuration tabs requires multiple clicks. This command palette enables instant search, quick client subscription link copying, theme cycling, and deep-linking into nested settings.
Type of change
Areas affected
How was this tested?
Ctrl+K/⌘Kand sidebar trigger button open/close modal across desktop and mobile drawer.Breaking changes
None
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.