- Add hourly_solar_profile and hourly_wind_profile to store per-hour output values - Add solar_dc_mwp, solar_ac_mw, wind_mw to PipelineResult for capacity display - Add columns: Solar 8760, DC MW, Solar MW / Wind 8760, MW, Wind MW - Updated UI to show detailed breakdown at each level (Year/Month/Day/Hour) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 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.