-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: right swipe to reply in quote #5486
base: develop
Are you sure you want to change the base?
Conversation
cb4abb7
to
067443c
Compare
067443c
to
dbc278e
Compare
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.
You can't increase the complexity of a component without evaluating the impact of work on the codebase.
Message already has Touchable component.
There you'll see we make use of an already deprecated lib and we need to migrate away from it https://github.com/rnc-archive/react-native-platform-touchable
You should unify and consider the migration to RNGH on all Message's components.
@@ -1,5 +1,6 @@ | |||
import React from 'react'; | |||
import { Keyboard, ViewStyle } from 'react-native'; | |||
import { Keyboard, ViewStyle, Animated } from 'react-native'; |
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.
Why would you use stock RN's Animated instead of reanimated?
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.
Ok I will use Animated from 'react-native-reanimated'
isPreview={isPreview} | ||
/> | ||
</MessageContext.Provider> | ||
<PanGestureHandler |
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.
You'll have to evaluate and show us if this new gesture is impacting the other buttons inside Message.
Proposed changes
I suggest having a feature like left/right swipe the message to reply in quote. Because we generally use reply in quote in most of times. So it would be better if we have a shortcut for it.
Issue(s)
Fixes #5478
How to test or reproduce
Screenshots
WhatsApp.Video.2024-01-16.at.11.04.16.PM.mp4
Types of changes
Checklist
Further comments