feat(ui): keyboard shortcut cheat sheet overlay#63
Open
advancedresearcharray wants to merge 8 commits into
Open
feat(ui): keyboard shortcut cheat sheet overlay#63advancedresearcharray wants to merge 8 commits into
advancedresearcharray wants to merge 8 commits into
Conversation
…iwifs#460) - Add headless `content` prop to KiwiPage for server-free markdown rendering - Add data-driven `data` prop to KiwiTree for static tree rendering - Create KiwiProvider context (connected/static/custom fetching modes + theme) - Extract remark/rehype plugin chain as standalone kiwiMarkdown exports - Add event callbacks: onWikiLinkClick, onHeadingVisible, onRename, onDelete - Configure Vite library build (vite.lib.config.ts) and tsconfig.lib.json - Update package.json: @kiwifs/ui, peerDependencies on React 19, npm exports Published as @kiwifs/ui@0.1.0 on npm. Co-authored-by: Lam Dao Que Anh <anhlam@Lams-MacBook-Air-9.local> Co-authored-by: Cursor <cursoragent@cursor.com>
Add searchable CommandDialog overlay for keyboard shortcuts, triggered by ? (outside inputs) or mod+/. Includes platform-aware kbd labels, live bindings from useKeybindings, HelpCircle toolbar button, and regression tests for overlay toggle and global shortcut suppression. Closes kiwifs#428 Signed-off-by: Array Fleet <fleet@advancedresearcharray.local>
…livery Co-authored-by: Cursor <cursoragent@cursor.com>
Record full UI Vitest pass (236 tests) on feat/issue-428-keyboard-shortcut-cheat-sheet-v2. Co-authored-by: Cursor <cursoragent@cursor.com>
…verlay Re-verified feature branch, regression tests, and full UI suite before pushing PR closing kiwifs#428. Co-authored-by: Cursor <cursoragent@cursor.com>
c0d976e to
57fa720
Compare
… overlay Log test results and Kiwi MCP unavailability after hands-on re-verification of the keyboard shortcut cheat sheet implementation on v2 branch. Co-authored-by: Cursor <cursoragent@cursor.com>
Confirm green UI regression tests after restoring corrupted mkdocs.go; record delivery state for keyboard shortcut cheat sheet overlay PR. Co-authored-by: Cursor <cursoragent@cursor.com>
Close search/new dialogs when opening the keyboard cheat sheet and sync the overlay module flag synchronously so tree/canvas handlers suppress keys immediately. Adds regression tests for toggle state. Closes kiwifs#428 Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CommandDialogcheat sheet driven by live keybindings fromuseKeybindings/GET /api/kiwi/keybindings?(outside inputs/editors) orCmd+/(shortcuts_help) globally; dismiss with Esc or click-outside<kbd>labels (⌘ vs Ctrl) and a HelpCircle toolbar button for mouse usersTest plan
cd ui && npm test -- --run src/lib/keyboardShortcutsOverlay.test.ts src/lib/kiwiKeybindings.test.ts src/lib/overlayDismiss.test.ts— 60 tests passcd ui && npm test -- --run— 236 tests pass (full UI suite)?on welcome screen → overlay opens with grouped shortcuts?while focused in editor → overlay does not openCmd+/while editing → overlay opensCloses kiwifs#428
Made with Cursor