(feat): add hotkeys
Some checks failed
/ build-web (push) Successful in 7m53s
/ build-desktop (linux) (push) Successful in 12m24s
/ release (push) Has been cancelled
/ build-mobile (push) Has been cancelled

This commit is contained in:
Alois 2026-08-02 01:10:05 +02:00
commit 85633a1c81
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
27 changed files with 1014 additions and 33 deletions

View file

@ -53,6 +53,7 @@
"@tensamin/cache": "workspace:*",
"@tensamin/chat": "workspace:*",
"@tensamin/crypto": "workspace:*",
"@tensamin/hotkeys": "workspace:*",
"@tensamin/shared": "workspace:*",
"@tensamin/settings": "workspace:*",
"@tensamin/storage": "workspace:*",

View file

@ -49,6 +49,7 @@ import { useStorage } from "@tensamin/storage/context";
import { useLocation, useNavigate } from "@tanstack/react-router";
import { useIsMobile, Toaster, TooltipProvider } from "@methanium/ui";
import { isTauri } from "@tauri-apps/api/core";
import { HotkeysProvider } from "@tensamin/hotkeys";
const wrapper = document.getElementById("root");
@ -266,10 +267,12 @@ function RootShell() {
/>
<TooltipProvider>
<Storage>
<ThemeStorageBridge />
<LoginWrapper>
<Outlet />
</LoginWrapper>
<HotkeysProvider>
<ThemeStorageBridge />
<LoginWrapper>
<Outlet />
</LoginWrapper>
</HotkeysProvider>
</Storage>
</TooltipProvider>
</div>

View file

@ -82,9 +82,7 @@ export default defineConfig({
"use-sync-external-store",
"@tanstack/history",
"@tanstack/react-router",
"@tanstack/react-store",
"@tanstack/router-core",
"@tanstack/store",
"@tensamin/crypto",
"@tensamin/settings",
"@tensamin/storage",
@ -134,6 +132,7 @@ export default defineConfig({
"@tensamin/chat",
"@tensamin/crypto",
"@tensamin/crypto/context",
"@tensamin/hotkeys",
"@tensamin/markdown",
"@tensamin/mtp",
"@tensamin/notifications",