wrongmove/frontend/src/hooks
Viktor Barzin a2745c1478
Add tappable cards, detail bottom sheet, swipe gestures, and favorites view
- Decision types, services (decisionService, listingDetailService), and index exports
- useDecisions hook with optimistic updates and Map-based state
- useListingDetail hook with session-level caching
- PhotoCarousel component using embla-carousel-react
- ListingDetail component with full property info, like/dislike buttons
- ListingDetailSheet using vaul Drawer (slide-up bottom sheet)
- SwipeablePropertyCard with @use-gesture/react and @react-spring/web
- SwipeReviewMode for mobile full-screen swipe review
- FavoritesView with virtualized liked listings and remove button
- App.tsx integration: decision state, client-side disliked filtering, detail sheet, swipe handlers
- ListView conditionally renders SwipeablePropertyCard when handlers provided
- StatsBar adds 'saved' view mode with heart icon
- Header adds liked count indicator
- New deps: vaul, embla-carousel-react, @use-gesture/react, @react-spring/web
2026-02-21 15:49:15 +00:00
..
__tests__ Add comprehensive test suite: 219 new tests across backend and frontend 2026-02-10 21:59:45 +00:00
use-mobile.ts Flatten repo structure: move crawler/ to root, remove vqa/ and immoweb/ 2026-02-07 23:01:20 +00:00
useDecisions.ts feat: add useDecisions hook with optimistic updates 2026-02-21 13:51:50 +00:00
useListingDetail.ts Add tappable cards, detail bottom sheet, swipe gestures, and favorites view 2026-02-21 15:49:15 +00:00
useTaskProgress.ts Reduce task polling frequency and raise rate limits to prevent 429s 2026-02-09 22:59:39 +00:00