- Introduced `useSidebarStore` for managing sidebar state, including opened keys and initialization logic. - Added utility functions `getAllParentKeys`, `shouldShowMenuChildren`, and `getVisibleMenuKeys` to enhance sidebar functionality. - Created unit tests for the sidebar store and utility functions to ensure correct behavior and state management. - Updated `sidebar.tsx` to utilize the new utility functions for improved menu item rendering. These changes enhance the sidebar's functionality and state management, providing a better user experience in navigating the application.
Frontend Monorepo Template
A scalable, enterprise-ready Web & Desktop monorepo built with Turborepo, pnpm, Vite, and Electron. This repository is designed for long-term maintainability, featuring shared logic and UI libraries, centralized tooling configuration, turbo-powered task orchestration, and native desktop distribution with auto-updates.
🌍 Global Context
This repository utilizes a monorepo architecture to seamlessly share core systems, business logic, and UI components across multiple distribution targets (Web, Desktop, and Landing Page).
Topology Overview
apps/: Deployable applications (web,desktop,landing,docs-dev).packages/: Shared libraries and core engines (core-api,core-storage,ui,utils,configs, etc.).
📚 Single Source of Truth
Important
Internal Documentation Hub All documentation, installation guides, architectural deep-dives, and API references are hosted internally via our VitePress application.
-
View in Git Repository (Raw Markdown): Read Overview Documentation
-
Run Documentation Locally:
If this is your first time running the documentation, ensure you install the dependencies first:
pnpm installThen, start the documentation server:
pnpm dev:docs-dev
📝 License
This project is private and proprietary.