Create Organisation Fix

This commit is contained in:
2026-10-20 12:47:06 +02:00
parent 28a821ae91
commit d7a168c9fa
17 changed files with 527 additions and 155 deletions
+11
View File
@@ -90,6 +90,7 @@ PostFundManagement/
### 2.2 Frontend Projects (React 19 / TypeScript)
#### **`PostFundManagement.ConsoleUI`** (Internal Staff / Portfolio Administration Portal)
* **Package Manager**: **Yarn** (`yarn.lock` is authoritative; `npm` must not be used)
* **Runtime & Bundler**: React 19.0.1, TypeScript 5.8.2, Vite 6.2.3
* **Styling**: Tailwind CSS v4.1.14 (`@tailwindcss/vite`, `@tailwindcss/postcss`)
* **Routing**: React Router DOM v7.18.3
@@ -102,6 +103,7 @@ PostFundManagement/
* **Target Users**: Funding Administrators, Programme Managers, Finance Officers, M&E Officers, Risk Managers, System Administrators, Executive Leadership.
#### **`PostFundManagement.PartnerUI`** (External Recipient / Grantee Portal)
* **Package Manager**: **Yarn** (`yarn.lock` is authoritative; `npm` must not be used)
* **Runtime & Bundler**: React 19.0.1, TypeScript 7.0.2, Vite 8.3.0
* **Styling & Effects**: Tailwind CSS v4.3.3, `motion` 12.23.24, `ogl` 1.0.11 (WebGL visual elements like MoltenMetal, BorderGlow, SpecularButton)
* **Routing**: React Router DOM v7.18.4
@@ -479,6 +481,15 @@ When adding or modifying code in this codebase, strictly follow these standards:
5. **Frontend State & API Sync**:
* Use TanStack Query hooks for server caching, optimistic updates, and cache invalidation.
* Forms must use `react-hook-form` with `zod` schemas enforcing mandatory fields at input time.
6. **Frontend Package Management (Yarn Mandatory)**:
* **Always use `yarn` instead of `npm`** across all frontend projects (`PostFundManagement.ConsoleUI` and `PostFundManagement.PartnerUI`).
* Never run `npm install`, `npm run`, or create/modify `package-lock.json`.
* Standard commands:
* `yarn install` or `yarn` to install dependencies.
* `yarn add <pkg>` / `yarn add -D <pkg>` to add dependencies.
* `yarn build` to trigger production builds.
* `yarn dev` to launch local development servers.
* `yarn test` for executing frontend tests.
---