Skip to content

fix: show Windows session search shortcut#1393

Merged
wbxl2000 merged 2 commits into
MoonshotAI:mainfrom
justjavac:fix/windows-session-search-shortcut
Jul 6, 2026
Merged

fix: show Windows session search shortcut#1393
wbxl2000 merged 2 commits into
MoonshotAI:mainfrom
justjavac:fix/windows-session-search-shortcut

Conversation

@justjavac

Copy link
Copy Markdown
Contributor

Related Issue

No linked issue. This fixes a platform-specific shortcut label bug in the web sidebar.

Problem

The session search entry showed ⌘K on Windows even though the shortcut users press there is Ctrl K.

What changed

  • Detect the client shortcut platform in the sidebar and render ⌘K only on Apple platforms.
  • Render Ctrl K on Windows and other non-Apple platforms while keeping the existing Cmd/Ctrl+K handler behavior.
  • Added a patch changeset for the bundled web UI change.

Verification

  • git diff --check
  • node apps/kimi-web/scripts/check-style.mjs (passes in baseline mode; reports existing baseline findings)
  • Typecheck was not runnable in this environment: repo requires Node >=24.15.0, while system Node is v24.1.0 and bundled Node is v24.14.0.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jul 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 18d57a8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 6, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@18d57a8
npx https://pkg.pr.new/@moonshot-ai/kimi-code@18d57a8

commit: 18d57a8

@wbxl2000 wbxl2000 merged commit 4c43935 into MoonshotAI:main Jul 6, 2026
10 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 6, 2026
@justjavac justjavac deleted the fix/windows-session-search-shortcut branch July 6, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants