- 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. |
||
|---|---|---|
| .. | ||
| components | ||
| dao | ||
| hooks | ||
| page | ||
| prisma | ||
| services | ||
| store | ||
| types | ||
| utils | ||
| App.tsx | ||
| frontend.tsx | ||
| global.d.ts | ||
| index.css | ||
| index.html | ||
| index.tsx | ||
| logo.jpg | ||
| logo.svg | ||
| routes.tsx | ||