-
Notifications
You must be signed in to change notification settings - Fork 10
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
Swipe to reply send #1016
base: dev
Are you sure you want to change the base?
Swipe to reply send #1016
Conversation
4e02b67
to
61c3e32
Compare
61c3e32
to
461f7c8
Compare
containerStyle={{ backgroundColor: 'transparent' }} | ||
hitSlop={{ right: -20 }} | ||
onSwipeableWillClose={handleOnSwipeableWillClose} | ||
ref={() => swipeableRef} |
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.
The ref callback is using an arrow function that returns nothing (() => swipeableRef
), which won't properly store the Swipeable reference. Change to ref={swipeableRef}
to correctly capture the component instance.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
@@ -146,7 +146,7 @@ export const TokenDetailsMarketData = ({ coin }: { coin: CoinWithBalance }) => { | |||
<Spinner size="small" color={'$color12'} /> | |||
) : ( | |||
<XStack gap={'$1.5'} ai="center" jc={'space-around'}> | |||
{changePercent24h === undefined ? ( | |||
{!changePercent24h ? ( |
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.
Using !changePercent24h
will evaluate to true
when changePercent24h
is 0
, which is a valid percentage change value that should be displayed. The original check for changePercent24h === undefined
was correct since it specifically tests for the loading/error state.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
461f7c8
to
7d0c711
Compare
packages/app/package.json
Outdated
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.
be sure to add react-native-reanimated
too
apps/next/pages/_app.tsx
Outdated
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.
let's also follow the web setup guide for reanimated. https://docs.swmansion.com/react-native-reanimated/docs/guides/web-support/
7d0c711
to
a11dc52
Compare
Vercel Unique URL: https://sendapp-de7750g1t-0xsend.vercel.app |
Playwright ReportSummary
Suitesaccount-rewards.onboarded.spec.tscan visit rewards page
account-sendtag-checkout.onboarded.spec.tscan visit checkout page
can add a pending tag
cannot add an invalid tag name
can confirm a tag
can refer a tag
can refer multiple tags in separate transactions
cannot confirm a tag without paying
cannot add more than 5 tags
account-settings-backup.onboarded.spec.tscan backup account
can remove a signer
account.logged-in.spec.tscan visit account page
can update profile
activity.onboarded.spec.tscan visit activity page and see correct activity feed
can search on activity page
home.onboarded.spec.tscan visit token detail page
leaderboard.logged-in.spec.tscan visit leaderboard page
onboarding.logged-in.spec.tscan visit onboarding page
profile.anon.spec.tsanon user can visit public profile
anon user cannot visit private profile
profile.logged-in.spec.tslogged in user needs onboarding before visiting profile
profile.onboarded.spec.tscan visit other user profile and send by tag
can visit my own profile
can visit private profile
can view activities between another profile
send-token-upgrade.onboarded.spec.tscan upgrade their Send Token V0 to Send Token V1
send.onboarded.spec.tscan send USDC starting from profile page
can send USDC using tag starting from home page
can send USDC using sendid starting from home page
can send USDC using address starting from home page
can send ETH starting from profile page
can send ETH using tag starting from home page
can send ETH using sendid starting from home page
can send ETH using address starting from home page
can send SEND starting from profile page
can send SEND using tag starting from home page
can send SEND using sendid starting from home page
can send SEND using address starting from home page
sign-in.anon.spec.tsredirect on sign-in
redirect to send confirm page on sign-in
sign-up.anon.spec.tscan sign up
country code is selected based on geoip
skip otp for existing user trying to sign up using already used phone number
user can sign in with passkey from backing up page
user can sign in as back up using otp from backing up page
|
No description provided.