FUJI/src/pages
Clas Wen 8072dd5ce7 feat: implement server-side pagination for repair admin
- 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>
2025-11-12 21:45:28 +08:00
..
_assets fix header github mark 2025-09-29 23:14:00 +08:00
about remove mini-program page 2025-05-18 16:20:17 +08:00
calendar Merge pull request #102 from wen-templari/fix/schedule-loading-race-condition 2025-09-28 08:45:33 +08:00
freshman 优化加入社团页面体验 2025-11-09 00:19:18 +08:00
graduation add HeaderNavigation 2024-09-23 23:27:05 +08:00
members add member page 2024-09-24 22:34:33 +08:00
posts upload logo files 2025-10-17 21:38:57 +08:00
repair feat: implement server-side pagination for repair admin 2025-11-12 21:45:28 +08:00
tags lint 2024-05-18 19:44:09 +08:00
404.astro lint 2024-05-18 19:44:09 +08:00
blog.astro Refactor blog structure and update navigation 2025-09-27 16:12:01 +08:00
callback.astro Improve authentication callback UI and error handling 2025-10-15 20:13:59 +08:00
index.astro Refactor blog structure and update navigation 2025-09-27 16:12:01 +08:00
join-us.astro save 2025-05-30 22:27:40 +08:00
rss.xml.js fix rss 2024-09-21 15:42:27 +08:00