Skip to content

fix(browser-extension): make the save-memory keyboard shortcut fire - #1598

Open
Rikinshah787 wants to merge 1 commit into
supermemoryai:mainfrom
Rikinshah787:fix/extension-save-shortcut
Open

fix(browser-extension): make the save-memory keyboard shortcut fire#1598
Rikinshah787 wants to merge 1 commit into
supermemoryai:mainfrom
Rikinshah787:fix/extension-save-shortcut

Conversation

@Rikinshah787

Copy link
Copy Markdown

Small one: the global save shortcut in the content script checks event.shiftKey && event.key === "m", but with Shift held the key value is uppercase "M", so the condition can never be true and Ctrl/Cmd+Shift+M does nothing on any page (about the only way to trigger it was Shift with Caps Lock on). Compare the key case-insensitively.

No test - the extension has no test setup and it's a one-liner. The !event.shiftKey checks in the per-site content scripts (chatgpt/claude/gemini/t3) are Enter handlers and unaffected.

The keydown handler checked event.shiftKey && event.key === "m", but
with Shift held the key value is "M", so the condition could never be
true and Ctrl/Cmd+Shift+M did nothing on any page. Compare the key
case-insensitively instead.
Copilot AI lite review requested due to automatic review settings August 25, 2026 23:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@graphite-app graphite-app Bot added the extension related to Supermemory Chrome Extension label Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension related to Supermemory Chrome Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants