Skip to content
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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Swipe to reply send #1016

wants to merge 1 commit into from

Conversation

youngkidwarrior
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@youngkidwarrior youngkidwarrior marked this pull request as ready for review January 18, 2025 08:30
@youngkidwarrior youngkidwarrior force-pushed the swipe_to_reply_send branch 2 times, most recently from 4e02b67 to 61c3e32 Compare January 25, 2025 06:47
containerStyle={{ backgroundColor: 'transparent' }}
hitSlop={{ right: -20 }}
onSwipeableWillClose={handleOnSwipeableWillClose}
ref={() => swipeableRef}
Copy link

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 ? (
Copy link

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.

Copy link
Contributor

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

Copy link
Contributor

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/

Copy link

Vercel Unique URL: https://sendapp-de7750g1t-0xsend.vercel.app
Vercel Preview URL: sendapp-swipe-to-reply-send-0xsend.vercel.app
Last Commit: a11dc52

Copy link

Playwright Report

Summary

Expected Skipped Unexpected Flaky Duration
75 6 0 9 256.71s

Suites

account-rewards.onboarded.spec.ts

can visit rewards page

  • chromium: 🚨
  • firefox: ✅

account-sendtag-checkout.onboarded.spec.ts

can visit checkout page

  • chromium: 🚨
  • firefox: ✅

can add a pending tag

  • chromium: 🚨
  • firefox: ✅

cannot add an invalid tag name

  • chromium: 🚨
  • firefox: ✅

can confirm a tag

  • chromium: 🚨
  • firefox: ✅

can refer a tag

  • chromium: ✅
  • firefox: ✅

can refer multiple tags in separate transactions

  • chromium: ✅
  • firefox: ✅

cannot confirm a tag without paying

  • chromium: ✅
  • firefox: ✅

cannot add more than 5 tags

  • chromium: ✅
  • firefox: ✅

account-settings-backup.onboarded.spec.ts

can backup account

  • chromium: ✅
  • firefox: 🚨

can remove a signer

  • chromium: 🚨
  • firefox: 🚨

account.logged-in.spec.ts

can visit account page

  • chromium: ✅
  • firefox: ✅

can update profile

  • chromium: ✅
  • firefox: ✅

activity.onboarded.spec.ts

can visit activity page and see correct activity feed

  • chromium: ✅
  • firefox: ✅

can search on activity page

  • chromium: ✅
  • firefox: ✅

home.onboarded.spec.ts

can visit token detail page

  • chromium: ✅
  • firefox: ✅

leaderboard.logged-in.spec.ts

can visit leaderboard page

  • chromium: ✅
  • firefox: ✅

onboarding.logged-in.spec.ts

can visit onboarding page

  • chromium: ✅
  • firefox: ✅

profile.anon.spec.ts

anon user can visit public profile

  • chromium: ✅
  • firefox: ✅

anon user cannot visit private profile

  • chromium: ✅
  • firefox: ✅

profile.logged-in.spec.ts

logged in user needs onboarding before visiting profile

  • chromium: ✅
  • firefox: ✅

profile.onboarded.spec.ts

can visit other user profile and send by tag

  • chromium: ✅
  • firefox: ✅

can visit my own profile

  • chromium: ✅
  • firefox: ✅

can visit private profile

  • chromium: ✅
  • firefox: ✅

can view activities between another profile

  • chromium: ✅
  • firefox: ✅

send-token-upgrade.onboarded.spec.ts

can upgrade their Send Token V0 to Send Token V1

  • chromium: 🚨
  • firefox: ✅

send.onboarded.spec.ts

can send USDC starting from profile page

  • chromium: ✅
  • firefox: ✅

can send USDC using tag starting from home page

  • chromium: ✅
  • firefox: ✅

can send USDC using sendid starting from home page

  • chromium: ✅
  • firefox: ✅

can send USDC using address starting from home page

  • chromium: ✅
  • firefox: ✅

can send ETH starting from profile page

  • chromium: ✅
  • firefox: ✅

can send ETH using tag starting from home page

  • chromium: ✅
  • firefox: ✅

can send ETH using sendid starting from home page

  • chromium: ✅
  • firefox: ✅

can send ETH using address starting from home page

  • chromium: ✅
  • firefox: ✅

can send SEND starting from profile page

  • chromium: ✅
  • firefox: ✅

can send SEND using tag starting from home page

  • chromium: ✅
  • firefox: ✅

can send SEND using sendid starting from home page

  • chromium: ✅
  • firefox: ✅

can send SEND using address starting from home page

  • chromium: ✅
  • firefox: ✅

sign-in.anon.spec.ts

redirect on sign-in

  • chromium: ✅
  • firefox: ✅

redirect to send confirm page on sign-in

  • chromium: ✅
  • firefox: ✅

sign-up.anon.spec.ts

can sign up

  • chromium: ✅
  • firefox: ✅

country code is selected based on geoip

  • chromium: ✅
  • firefox: ✅

skip otp for existing user trying to sign up using already used phone number

  • chromium: ⏭
  • firefox: ⏭

user can sign in with passkey from backing up page

  • chromium: ⏭
  • firefox: ⏭

user can sign in as back up using otp from backing up page

  • chromium: ⏭
  • firefox: ⏭

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.

2 participants