expo-popcore-app/hooks
imeepos 1f34b4c273 feat: integrate UI components into Search pages with pagination and loading
- Add useDebounce hook for future search optimization
- Integrate LoadingState, ErrorState, RefreshControl, and PaginationLoader into searchResults.tsx
- Add pull-to-refresh functionality with RefreshControl component
- Implement pagination with loadMore and PaginationLoader
- Add error handling with retry functionality using ErrorState
- Update SearchResultsGrid to support refreshControl, onEndReached, and ListFooterComponent props
- Add scroll event handling for pagination trigger
- Add TODO comment in searchWorksResults.tsx for backend API integration
- Reduce initial search limit from 50 to 20 for better performance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:20:11 +08:00
..
CLAUDE.md Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
index.ts feat: integrate UI components into Search pages with pagination and loading 2026-01-21 12:20:11 +08:00
use-activates.ts refactor: 优化代码和添加类型检查脚本 2026-01-16 12:34:27 +08:00
use-categories.test.ts fix: 修复 use-categories 测试中的 TypeScript 类型错误 2026-01-19 11:45:25 +08:00
use-categories.ts fix: 修复 Jest 测试配置和 useCategories hook 实现 2026-01-19 11:46:51 +08:00
use-color-scheme.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-color-scheme.web.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-debounce.ts feat: integrate UI components into Search pages with pagination and loading 2026-01-21 12:20:11 +08:00
use-error.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-resource.tsx Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-search-history.ts fix: bug 2026-01-16 15:16:49 +08:00
use-tags.ts fix: 修复所有 TypeScript 类型错误 2026-01-16 14:14:05 +08:00
use-template-actions.test.ts feat: add retry functionality to use-template-actions hook 2026-01-21 12:00:07 +08:00
use-template-actions.ts feat: add retry functionality to use-template-actions hook 2026-01-21 12:00:07 +08:00
use-template-detail.test.ts test: add comprehensive tests for use-template-detail hook 2026-01-21 11:57:17 +08:00
use-template-detail.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-template-generations.ts refactor: 优化代码和添加类型检查脚本 2026-01-16 12:34:27 +08:00
use-templates.test.ts test: verify use-templates hook has complete functionality 2026-01-21 11:54:34 +08:00
use-templates.ts fix: bug 2026-01-16 15:16:49 +08:00
use-theme-color.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
useWorksList.test.ts feat: integrate UI components into Works List with pagination and refresh 2026-01-21 12:15:53 +08:00
useWorksList.ts feat: integrate UI components into Works List with pagination and refresh 2026-01-21 12:15:53 +08:00