From 6dfa1fc1f47b046d7154c9d7b81bc37adba882ca Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:11:35 +0330 Subject: [PATCH] Import documentation: docs/architecture.md Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- docs/architecture.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/architecture.md diff --git a/docs/architecture.md b/docs/architecture.md new file mode 100644 index 0000000..82fd26e --- /dev/null +++ b/docs/architecture.md @@ -0,0 +1,7 @@ +# Architecture + +CoaxysPanel uses a registry-driven frontend architecture. `src/lib/routes.ts` defines navigable modules, sidebar entries, permissions, command-palette targets, tool cards, and page metadata. + +Interactive pages are composed from focused feature components. The catch-all panel route resolves known static and dynamic hosting-control paths into functional pages, avoiding dead links while keeping implementation maintainable. + +Client state is limited to global UI state in Zustand: sidebar state, theme, density, favorites, recent routes, and command-palette visibility. Server-like data is loaded through TanStack Query from typed mock services.