From 42126a8ae087f10a4d62772cda08575c9a5b992b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Hadam=C4=8D=C3=ADk?= Date: Tue, 14 Apr 2026 16:07:56 +0200 Subject: [PATCH 001/471] Add app management features with install and uninstall functionality --- src/App.tsx | 6 ++ src/components/Nav.tsx | 9 ++- src/components/apps/InstallAppForm.tsx | 86 ++++++++++++++++++++++++ src/components/apps/InstalledAppCard.tsx | 82 ++++++++++++++++++++++ src/hooks/useApps.ts | 73 ++++++++++++++++++++ src/lib/apps/registry.ts | 25 +++++++ src/lib/apps/types.ts | 28 ++++++++ src/pages/AppHost.tsx | 65 ++++++++++++++++++ src/pages/Apps.tsx | 43 ++++++++++++ 9 files changed, 416 insertions(+), 1 deletion(-) create mode 100644 src/components/apps/InstallAppForm.tsx create mode 100644 src/components/apps/InstalledAppCard.tsx create mode 100644 src/hooks/useApps.ts create mode 100644 src/lib/apps/registry.ts create mode 100644 src/lib/apps/types.ts create mode 100644 src/pages/AppHost.tsx create mode 100644 src/pages/Apps.tsx diff --git a/src/App.tsx b/src/App.tsx index 6fefeeff2..8779bf034 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -57,6 +57,8 @@ import { TokenList } from './pages/TokenList'; import Transaction from './pages/Transaction'; import { Transactions } from './pages/Transactions'; import Wallet from './pages/Wallet'; +import { Apps } from '@/pages/Apps.tsx'; +import { AppHost } from '@/pages/AppHost.tsx'; // Theme-aware toast container component function ThemeAwareToastContainer() { @@ -136,6 +138,10 @@ const router = createHashRouter( }> } /> + }> + } /> + } /> + } /> } /> } /> diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index 03d9e8a39..880c3823b 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -11,6 +11,7 @@ import { platform } from '@tauri-apps/plugin-os'; import { ArrowDownUp, ArrowLeftRight, + Blocks, BookUser, Cog, FilePenLine, @@ -103,7 +104,13 @@ export function TopNav({ isCollapsed }: NavProps) { >