- Add 'ics' dependency to package.json and update lockfile. - Introduce pagination support in `ClubEventList` component (Ant Design Pagination + Spin loading state). - Refactor `GameSelector` to fetch paginated data (`page` query parameter) and manage page state. - Update `KaiqiuService` to: - Add Redis caching for event lists (1 hour TTL) and individual match details (10 hours TTL). - Implement `listClubEvents` method with pagination support (fetching HTML, parsing titles/urls/status, extracting total count). - Update `getEventInfo` to utilize cached data. - Update server routes (`index.tsx`, `routes.tsx`) to handle query parameters and pass paginated responses to the frontend. - Fix logic in `GroupingPrediction` to set group length when players <= 12. This change improves performance by reducing initial load times through pagination and caching, preventing UI freezing with large event lists. |
||
|---|---|---|
| __test__ | ||
| .vscode | ||
| prisma | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| docker-compose.yml | ||
| dockerfile | ||
| package.json | ||
| prisma.config.ts | ||
| README.md | ||
| tsconfig.json | ||