Skip to content

v0.1.2 — non-colliding default shortcuts

Choose a tag to compare

@twkris twkris released this 27 May 14:23
· 31 commits to main since this release

Patch: SDK default shortcuts no longer collide with browser-reserved chords.

Changes

Action Before After
Bug Mode `Cmd+Shift+B` `Alt+Shift+B`
Capture `Cmd+Shift+R` `Alt+Shift+R`
Voice `Cmd+Shift+V` `Alt+Shift+V`
Overlay `Cmd+Shift+Q` `Alt+Shift+Q`

`Cmd+Shift+B` (Chrome bookmarks bar), `Cmd+Shift+R` (force reload),
`Cmd+Shift+V` (plain-text paste on some OSes), and `Cmd+Shift+Q` (quit
Chrome on macOS) are all reserved — Quad's listener never got to run.

`Alt+Shift+*` is empty on every common platform, so the new defaults
work without configuration.

Upgrade

Redeploy the Quad instance — the SDK bundle at `/sdk/index.js` rebuilds
automatically. Host apps need a hard refresh.

If you've already trained users on the old chords, opt back into them
explicitly:

```ts
quad.init({
apiKey: '...',
endpoint: '...',
shortcut: {
bugMode: 'mod+shift+b',
capture: 'mod+shift+r',
voice: 'mod+shift+v',
overlay: 'mod+shift+q',
},
});
```