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>
This commit is contained in:
@@ -6,3 +6,4 @@ export { useTemplateDetail, type TemplateDetail as TemplateDetailType } from './
|
||||
export { useTemplateGenerations, type TemplateGeneration } from './use-template-generations'
|
||||
export { useSearchHistory } from './use-search-history'
|
||||
export { useTags } from './use-tags'
|
||||
export { useDebounce } from './use-debounce'
|
||||
|
||||
Reference in New Issue
Block a user