Skip to content

ux: teach the summon shortcut in onboarding - #247

Merged
omercelikdev merged 1 commit into
mainfrom
ux/onboarding-summon-shortcut
Jul 12, 2026
Merged

ux: teach the summon shortcut in onboarding#247
omercelikdev merged 1 commit into
mainfrom
ux/onboarding-summon-shortcut

Conversation

@omercelikdev

Copy link
Copy Markdown
Owner

The onboarding banner taught copy / paste / navigate / diff but omitted the one thing that makes the app usable — the global shortcut that opens QlipLab from anywhere. New users could only discover it by opening Settings.

Change

  • Added a prominent onboarding hint showing the user's actual configured summon shortcut in a <kbd>, formatted per platform.
  • Extracted the accelerator formatter from SettingsDialog into lib/formatShortcut (pure, unit-tested), so the banner and Settings render Cmd + Shift + V / Ctrl + Shift + V identically and can't drift.

Tests

6 for formatShortcut (Cmd/Ctrl, Option/Alt, backquote symbol, empty). i18n: onboarding.hint.summon across all 15 locales.

tsc clean · 563 tests green.

🤖 Generated with Claude Code

The onboarding banner covered copy/paste/navigate/diff but omitted the one
thing that makes the app usable — the global shortcut that opens QlipLab
from anywhere. New users had no way to discover it short of opening
Settings. Added a prominent hint showing the actual configured shortcut in
a <kbd>, formatted per platform.

Extracted the accelerator formatter out of SettingsDialog into
`lib/formatShortcut` (pure, unit-tested) so the banner and settings render
"Cmd + Shift + V" / "Ctrl + Shift + V" identically and never drift.

Tests: 6 for formatShortcut (Cmd/Ctrl, Option/Alt, backquote, empty).
i18n: onboarding.hint.summon across 15 locales.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@omercelikdev
omercelikdev merged commit 62f1e5f into main Jul 12, 2026
@omercelikdev
omercelikdev deleted the ux/onboarding-summon-shortcut branch July 12, 2026 18:21
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.

1 participant