mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
Fork of the NBTCA mainpage
- Replace client-side pagination (limit: 1000) with server-side pagination (limit: 10) - Add totalCount state to track pagination from API headers - Extract X-Total-Count from response headers for accurate page calculation - Pass status filter as array to API instead of comma-separated string - Add loading state during pagination changes - Add min-h-[600px] to prevent layout shifts during loading - Remove client-side filtering and slicing logic - Add useEffect to reload data on page/filter changes Performance improvements: - 99% reduction in data transfer (10 vs 1000 events per request) - Faster initial load and page transitions - Better scalability for growing datasets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .github | ||
| .husky | ||
| .vscode | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.development | ||
| .env.production | ||
| .gitignore | ||
| .npmrc | ||
| astro.config.mts | ||
| cspell.json | ||
| Dockerfile | ||
| eslint.config.js | ||
| nginx.conf | ||
| openapi-ts.active.config.ts | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tailwind.config.mjs | ||
| tsconfig.json | ||
Home
Home page for NBTCA.
Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
pnpm install |
Installs dependencies |
pnpm run dev |
Starts local dev server |
pnpm run build |
Build your production site to ./dist/ |
pnpm run preview |
Preview your build locally, before deploying |
pnpm run astro ... |
Run CLI commands like astro add, astro check |
pnpm run astro --help |
Get help using the Astro CLI |