-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(DIA-1015): infinite discovery swiping behavior #11292
Conversation
7852372
to
1d1327d
Compare
1d1327d
to
6ff6439
Compare
6ff6439
to
413f64f
Compare
src/app/Scenes/InfiniteDiscovery/__tests__/InfiniteDiscovery.tests.tsx
Outdated
Show resolved
Hide resolved
}), | ||
} | ||
|
||
const swipeLeft = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MounirDhahri I was able to simulate the swipe action with these 3 events. It's a lot of code for a little swipe, but I feel better using a synthetic event than a mocked component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is awesome 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Adam for addressing my comments. LGTM
}), | ||
} | ||
|
||
const swipeLeft = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is awesome 💯
This PR continues work on Infinite Discovery. It:
Simulator.Screen.Recording.-.iPhone.16.Plus.-.2025-01-08.at.06.47.37.mp4
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.