The financing cost (IDC + upfront fees) was being displayed both as a separate line item AND included in the total calculation, causing the Total Project Cost to be inflated by the financing amount. This fix removes the separate financing row from the breakdown table while keeping the correct total calculation. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| public | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| components.json | ||
| Dockerfile | ||
| next.config.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
remodel-web
Next.js App Router frontend for REmodel.
Setup
pnpm install
Common commands
pnpm dev # dev server on :3000
pnpm build # production build
pnpm lint # eslint
pnpm type-check # tsc --noEmit
pnpm generate-types # regenerate API types from OpenAPI (needs API on :8000)
Adding shadcn/ui components
pnpm dlx shadcn@latest add <component-name>
Key conventions
- All API types live in
app/api-types/index.ts(auto-generated). Never hand-write them. DataGridwrapper (AG Grid Community) lives incomponents/DataGrid/— one implementation only.- Server state: TanStack Query. Client-only UI state: Zustand.
- Charts: Recharts only.