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

Show Landline transfers in history #1300

Merged
merged 14 commits into from
Sep 5, 2024
Merged

Show Landline transfers in history #1300

merged 14 commits into from
Sep 5, 2024

Conversation

andrewliu08
Copy link
Contributor

@andrewliu08 andrewliu08 commented Aug 30, 2024

Screenshots

For mobile apps that are up to date

Transfers in "processing" state

Transfers in "failed" and "completed" state

Help modals

For mobile apps that are not up to date

Copy link

vercel bot commented Aug 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daimo-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 1:04am
daimo-web-stage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 1:04am

}

export interface LandlineTransfer {
daimoAddress: Address;
Copy link
Member

Choose a reason for hiding this comment

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

maybe worth having LandlineTransfer contain a landlineAccount vs copying in all the fields? either way works for me

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i'm going to reduce the number of fields. in particular, i'll remove bankLogo since it's sending the bytes of a png for each transfer

Copy link
Member

@dcposch dcposch left a comment

Choose a reason for hiding this comment

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

Looks excellent to me!

"This transaction transferred funds from your connected bank account to your Daimo account.",
secondPara: () =>
"Bank transfers normally cost a few dollars. Daimo sponsored this transfer, making it free.",
},
Copy link
Member

Choose a reason for hiding this comment

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

🔥

@andrewliu08
Copy link
Contributor Author

here are some more details about the lifecycle of landline-related clogs in the mobile app. Added this as a comment in the matching code as well

Landline deposit lifecycle:

  1. User initiates a landline deposit
  2. Landline clog comes in from API with transferID but no txHash
  3. On-chain transfer clog comes in with txHash
  4. Landline transfer comes in with transferUuid, txHash, and status change
    a. This clog needs to get merged with both the clog in step 2 and the on-chain transfer clog in step 3

Landline withdrawal lifecycle:

  1. User initiates a landline withdrawal
  2. On-chain transfer clog comes in with txHash
  3. Landline transfer comes in with transferUuid and txHash
    a. This clog needs to get merged with the on-chain transfer clog in step 2
  4. Landline transfer comes in with status update
    a. This clog needs to get merged with the clog in step 3

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