mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6649] [CLOSED] feat(client): Ctrl+K command palette and "?" keyboard shortcuts overlay #7272
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7272
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/Pasta-Devs/Marinara-Engine/pull/6649
Author: @SirAdoni
Created: 9/25/2026
Status: ❌ Closed
Base:
staging← Head:contrib/command-palette📝 Commits (10+)
8243af0feat(client): add a Ctrl+K command palette4213bd0feat(client): add a "?" keyboard shortcuts overlay4bae1abfix(client): give focus back to the palette's opener when it closes3367bdctest(e2e): expect the command palette button in the mobile top bar orderd050199style(client): render palette and shortcut keys in the app font6eff16ffix(client): close overlaying panels when the palette opens a chat or Homef8d3bc1fix(client): open the palette with the platform's own modifier onlye34c505fix(client): navigate from the palette only after the editor leaves4ac699etest(client): make the palette ranking check need the recency boost664a0acfix(client): let the palette close a saved editor and navigate📊 Changes
17 files changed (+1696 additions, -5 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
e2e/core-flows.e2e.ts(+2 -0)📝
packages/client/src/components/chat/HomeNewChatLauncher.tsx(+17 -5)➕
packages/client/src/components/command-palette/CommandPalette.tsx(+382 -0)➕
packages/client/src/components/command-palette/CommandPaletteHost.tsx(+219 -0)➕
packages/client/src/components/command-palette/KeyboardShortcutsOverlay.tsx(+61 -0)➕
packages/client/src/components/command-palette/palette-navigation.ts(+52 -0)📝
packages/client/src/components/layout/AppShell.tsx(+2 -0)📝
packages/client/src/components/layout/TopBar.tsx(+25 -0)➕
packages/client/src/lib/command-palette.ts(+301 -0)📝
packages/client/src/lib/editor-leave.ts(+12 -0)➕
packages/client/src/lib/keyboard-shortcuts.ts(+89 -0)📝
packages/client/src/lib/modal-overlay-registry.ts(+5 -0)➕
packages/client/src/lib/settings-targets.ts(+9 -0)📝
packages/client/src/localization/locales/en.json(+65 -0)➕
packages/client/src/stores/command-palette.store.ts(+21 -0)➕
scripts/regressions/command-palette.regression.ts(+430 -0)📄 Description
Base:
staging(e15c9e558) · Head:contrib/command-palette(f8d3bc10e)Linked issue
Closes #6624
Part 3 of the engine foundations series, see #6624.
This PR is independent of the other parts. It targets
stagingdirectly and can be merged, reviewed or declined on its own.Why this change
What changed
7 commits on
staginge15c9e558, oldest first, 16 files:8243af09afeat(client): add a Ctrl+K command palette.4213bd0d6feat(client): add a "?" keyboard shortcuts overlay.4bae1ab70fix(client): give focus back to the palette's opener when it closes.3367bdc54test(e2e): expect the command palette button in the mobile top bar order.d050199e3style(client): render palette and shortcut keys in the app font.6eff16f4cfix(client): close overlaying panels when the palette opens a chat or Home.f8d3bc10efix(client): open the palette with the platform's own modifier only.Command palette
"?" overlay
e2e fix
e2e/core-flows.e2e.ts: "mobile topbar remains reachable" now expects the new command palette button in the top bar order. This was the cause of themobile-chromiumandmobile-webkitfailures on the earlier umbrella PR #6625.Review fixes (local CodeRabbit)
Matching existing UI
The palette reuses what the app already has:
ui/Modal.TopBar.tsx).ConversationInput.tsx.CharacterEditor.tsx:1683, and the search icon followsCharactersPanel.tsx:858.kbdstyle, so none was added.Validation
pnpm checkpasses locallyCONTRIBUTING.mdThe boxes are left unticked for a human, per
AGENTS.md. Everything below ran on the tipf8d3bc10e.tsc --noEmitGameNarration.tsx, already onstaging)complete-node-regressions372 / 372mobile-chromium, full runstaging, this project had load timeouts that all passed on rerun.mobile-webkit, shards 1 and 6staging: advanced-memory Chat Settings, assigned-chat-sweep library cards, assigned-issue-sweep Android browser handoff, and core-flows software keyboard.Manual verification notes
scripts/regressions/command-palette.regression.tscovers the palette's actions and the overlay's shortcut list.Human to tick
Based on the evidence above:
pnpm checkpasses locally: supported. Its steps (tsc, lint, Prettier, locales, builds, regressions) all passed, apart from the 5 known Windows-only failures, and Linux is 372 / 372. If you want the literal command, runpnpm checkonce before ticking.CHANGELOG.mdentries).Not supported by the evidence, leave unticked unless done by hand:
CONTRIBUTING.md: only a human can confirm these.Needs manual verification
mobile-webkitshards other than 1 and 6.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The PR adds two CHANGELOG entries under
[Unreleased]and new English strings inen.json. No README or CONTRIBUTING changes, and no version bump.UI evidence (if applicable)
Screenshots from a test instance with invented data, taken on this branch.
Ctrl+K palette with results
"?" keyboard shortcuts overlay
Palette on a phone (390x844)
🤖 Generated with Claude Code
Summary by CodeRabbit
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.