mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-30 16:20:35 +02:00
The sidebar search trigger, quick-create-issue modal, and feedback modal hardcoded the Mac glyphs (⌘, ↵) for their keyboard hints, so Windows and Linux users always saw Mac shortcuts even though the underlying handlers already accept metaKey || ctrlKey. Extract a small platform helper (isMac, modKey, enterKey, formatShortcut) in packages/core/platform/keyboard.ts and route all four affected sites (plus the editor bubble menu, which had the same logic inlined) through it, so non-Mac users see Ctrl+K, Ctrl+Enter, etc. Closes multica-ai/multica#2056
9 lines
576 B
TypeScript
9 lines
576 B
TypeScript
export { CoreProvider } from "./core-provider";
|
|
export type { CoreProviderProps, ClientIdentity } from "./types";
|
|
export { AuthInitializer } from "./auth-initializer";
|
|
export { defaultStorage } from "./storage";
|
|
export { createPersistStorage } from "./persist-storage";
|
|
export { createWorkspaceAwareStorage, setCurrentWorkspace, getCurrentSlug, getCurrentWsId, subscribeToCurrentSlug, registerForWorkspaceRehydration } from "./workspace-storage";
|
|
export { clearWorkspaceStorage } from "./storage-cleanup";
|
|
export { isMac, modKey, enterKey, formatShortcut } from "./keyboard";
|