shancheas 5a6b109a89 feat: refactor option loading functions to support active status filtering
- Updated `loadDivisionOptions`, `loadBranchOptions`, `loadCustomerOptions`, `loadEmployeeOptionsForPurpose`, and `loadProductOptions` to utilize the new `createOptionLoader` function with active status parameters.
- Introduced `ACTIVE_LOOKUP_PARAMS` to streamline the inclusion of additional parameters in option loading.
- Added unit tests for `createOptionLoader` and new utility functions for managing product options, ensuring robust functionality and reliability.

These changes enhance the option loading mechanism across various modules, improving data retrieval and filtering capabilities.
2026-08-31 15:05:48 +07:00

Frontend Monorepo Template

Turborepo pnpm Node.js Vite React Electron TypeScript Vitest

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 install
    

    Then, start the documentation server:

    pnpm dev:docs-dev
    

📝 License

This project is private and proprietary.

S
Description
No description provided
Readme
7.4 MiB
2026-09-04 09:34:41 +00:00
Languages
HTML 55.5%
JavaScript 27.1%
TypeScript 17.1%
CSS 0.2%