You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: keyboard coverage -- register the rest of Atlas's toolbar/board actions as commands (#211)
Registers every previously click-only Atlas action (Auto-arrange, Import,
Export, Add from folder, the two space-share actions, the lens, select-all,
and the selection tray's Delete/Group) into the shared command registry so
the palette and Shortcuts Help overlay stop being incomplete. Two new
Command fields make this legal without breaking existing dispatch:
- hintOnly: the command's real keydown handling lives in a dedicated
listener (Cmd+A select-all, Delete/G over a live selection) rather than
the generic dispatcher, which would otherwise preventDefault a native
browser shortcut or has no access to the live selection it needs.
- paletteHidden: excludes an action needing a live on-screen target
(Delete selection, Group into a new area) from the palette while it
stays reachable via HotkeyHint chips, ContextMenu items, and the
Shortcuts Help overlay.
Cmd+A select-all is a new capability (useAtlasSelectAll.ts), gated by
app/useKeymapDispatch.ts's new Listener 5 the same way the existing
undo-delete listener guards Cmd+Z. The two context-menu items that already
existed (Group into new area, Delete) now carry commandId so their rows
show the same hint chip the palette/overlay do.
Split shared/commands.ts's own settings-deep-link commands out to a new
settingsCommands.ts to stay under the file-length cap once the new
Command fields' doc comments and the Atlas command spread landed.
Claude-Session: https://claude.ai/code/session_01FW5GkkAG8du7tNdYLk2zSd
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
// eslint-disable-next-line react-hooks/exhaustive-deps -- keyed on the request's own token, scanRoot reads current kinds/viewedID via closure at fire time same as every other request-token effect in atlas/
95
96
},[folderImportRequest])
96
97
98
+
// atlas.addFromFolder's own signal (shared/atlasBoardCommands.ts): a
99
+
// palette/keyboard invocation runs the SAME PickFolder flow the
100
+
// toolbar's own "Add cards from a folder" button does.
// eslint-disable-next-line react-hooks/exhaustive-deps -- keyed on the signal tick alone, startPick reads current viewedID via closure at fire time same as every other request-token effect in atlas/
0 commit comments