Skip to content

Ft/discovery#170

Merged
zakkiyyat merged 5 commits intoMixMatch-Inc:mainfrom
devdeen213:ft/discovery
Mar 7, 2026
Merged

Ft/discovery#170
zakkiyyat merged 5 commits intoMixMatch-Inc:mainfrom
devdeen213:ft/discovery

Conversation

@devdeen213
Copy link
Contributor

Connects the Swipe Card UI to the real backend APIs and replaces mock data with results from GET /api/foods/discover. Implements background pagination with a pre-fetch trigger when 3 cards remain in the stack to ensure continuous swiping without loading interruptions. Integrates expo-image for aggressive image prefetching and caching so cards render instantly without flicker or loaders. Also sends swipe actions to POST /api/swipe in the background when users swipe left or right.

closes #153

Copy link
Contributor

@zakkiyyat zakkiyyat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly resolve the merge conflicts and this will be good to merge.

# Conflicts:
#	mobile/README.md
#	mobile/app/(tabs)/discover.tsx
#	mobile/package.json
…ments

feat: enhance discovery feed with error handling and prefetch improvements
@devdeen213
Copy link
Contributor Author

please review, changes have been effected

@devdeen213 devdeen213 requested a review from zakkiyyat March 7, 2026 14:28
Copy link
Contributor

@zakkiyyat zakkiyyat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge.

@zakkiyyat zakkiyyat merged commit 77191b7 into MixMatch-Inc:main Mar 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discovery Feed Data Integration & Pre-fetching

2 participants