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

💾 Save address in send flow #19553

Conversation

shivekkhurana
Copy link
Contributor

@shivekkhurana shivekkhurana commented Apr 5, 2024

fixes #19546
fixes #16994
fixes #16995

Summary

This PR almost completes the saved address from send flow epic. There is one missing piece where we need to handle saving ENS names instead of HEX addresses.

There are two major aspects that need to be tested:

  1. The "Save Address" button should show on the transaction progress screen, only if the address is not saved already
  2. The flow of actually saving the address
    2.1 The sub flow of saving the address on different networks.

Review notes

This PR is heavy from QA perspective. So I have hidden the entry point to the save address feature.
The idea is that we get this merged. Then extract the network-preferences component and make it pure. Right now it can be pure or impure.

And when the network preferences is merged, we enable this feature in a separate PR.

--
The other option is that the QA team prioritises this and gets it tested. So we merged it, and then work on purification of the network-preferences component. I'll talk to the team and update this comment accordingly.

Testing notes

  • In order to test the flow, you'll have to transfer a token to some address.
  • On the transaction progress screen, you'll see a button to save the address
  • If the address is already saved, you should see no button

Platforms

  • Android
  • iOS

Areas that maybe impacted

  • Send flow
  • Wallet
Functional
  • wallet / transactions
  • dapps / app browsing

Steps to test

First Flow (Recipient address is not saved)

  • Open the app
  • Goto an account with some funds
  • Transfer the funds to an address
  • On the transaction progress screen, you should see a button to save the address
  • Click the button and finish the save address flow

Second flow (Recipient address is saved already)

  • When you make the transfer, the ''Save Address'' button should not show up

status: ready

- Set default networks from address saved in the db
@shivekkhurana shivekkhurana linked an issue Apr 5, 2024 that may be closed by this pull request
@shivekkhurana shivekkhurana self-assigned this Apr 5, 2024
@status-im-auto
Copy link
Member

status-im-auto commented Apr 5, 2024

Jenkins Builds

Click to see older builds (36)
Commit #️⃣ Finished (UTC) Duration Platform Result
4d0fdca #1 2024-04-05 15:29:03 ~3 min tests 📄log
✔️ 4d0fdca #1 2024-04-05 15:34:08 ~8 min android-e2e 🤖apk 📲
✔️ 4d0fdca #1 2024-04-05 15:34:16 ~8 min android 🤖apk 📲
✔️ 4d0fdca #1 2024-04-05 15:36:28 ~10 min ios 📱ipa 📲
f27426c #2 2024-04-08 11:03:44 ~6 min tests 📄log
✔️ f27426c #2 2024-04-08 11:08:00 ~10 min android 🤖apk 📲
✔️ f27426c #2 2024-04-08 11:08:36 ~11 min android-e2e 🤖apk 📲
✔️ f27426c #2 2024-04-08 11:26:15 ~29 min ios 📱ipa 📲
2f5f23a #3 2024-04-09 10:25:44 ~2 min tests 📄log
✔️ 2f5f23a #3 2024-04-09 10:31:26 ~8 min android-e2e 🤖apk 📲
✔️ 2f5f23a #3 2024-04-09 10:31:29 ~8 min android 🤖apk 📲
✔️ 2f5f23a #3 2024-04-09 10:33:03 ~10 min ios 📱ipa 📲
52caacf #4 2024-04-10 14:36:14 ~2 min tests 📄log
✔️ 52caacf #4 2024-04-10 14:39:49 ~5 min android-e2e 🤖apk 📲
✔️ 52caacf #4 2024-04-10 14:40:20 ~6 min android 🤖apk 📲
✔️ 52caacf #4 2024-04-10 14:58:11 ~24 min ios 📱ipa 📲
64e0ea7 #5 2024-04-11 14:44:51 ~2 min tests 📄log
✔️ 64e0ea7 #5 2024-04-11 14:50:19 ~8 min android 🤖apk 📲
✔️ 64e0ea7 #5 2024-04-11 14:50:25 ~8 min android-e2e 🤖apk 📲
✔️ 64e0ea7 #5 2024-04-11 14:51:58 ~9 min ios 📱ipa 📲
✔️ 7222732 #6 2024-04-11 16:27:33 ~3 min tests 📄log
✔️ 7222732 #6 2024-04-11 16:30:28 ~6 min android-e2e 🤖apk 📲
✔️ 7222732 #6 2024-04-11 16:30:45 ~7 min android 🤖apk 📲
✔️ 7222732 #6 2024-04-11 16:34:59 ~11 min ios 📱ipa 📲
✔️ fb7f101 #7 2024-04-15 15:13:19 ~4 min tests 📄log
✔️ fb7f101 #7 2024-04-15 15:15:10 ~6 min android 🤖apk 📲
✔️ fb7f101 #7 2024-04-15 15:16:08 ~7 min android-e2e 🤖apk 📲
✔️ fb7f101 #7 2024-04-15 15:18:43 ~9 min ios 📱ipa 📲
2d69b0a #9 2024-04-17 09:49:31 ~35 sec android-e2e 📄log
2d69b0a #9 2024-04-17 09:49:31 ~35 sec android 📄log
2d69b0a #9 2024-04-17 09:49:40 ~44 sec tests 📄log
2d69b0a #9 2024-04-17 09:49:40 ~44 sec ios 📄log
fee6329 #10 2024-04-17 10:31:33 ~2 min tests 📄log
✔️ fee6329 #10 2024-04-17 10:35:58 ~6 min android 🤖apk 📲
✔️ fee6329 #10 2024-04-17 10:36:53 ~7 min android-e2e 🤖apk 📲
✔️ fee6329 #10 2024-04-17 10:39:24 ~10 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7508620 #12 2024-04-18 10:13:52 ~4 min tests 📄log
✔️ 7508620 #12 2024-04-18 10:16:30 ~6 min android-e2e 🤖apk 📲
✔️ 7508620 #12 2024-04-18 10:16:45 ~7 min android 🤖apk 📲
✔️ 7508620 #12 2024-04-18 10:23:19 ~13 min ios 📱ipa 📲
48930d0 #13 2024-04-23 13:30:03 ~2 min tests 📄log
✔️ 48930d0 #13 2024-04-23 13:35:38 ~8 min android-e2e 🤖apk 📲
✔️ 48930d0 #13 2024-04-23 13:35:39 ~8 min android 🤖apk 📲
✔️ 48930d0 #13 2024-04-23 13:37:44 ~10 min ios 📱ipa 📲

@shivekkhurana shivekkhurana changed the title 🫖 Add new subscription to get address object 💾 Save address in send flow Apr 17, 2024
@shivekkhurana shivekkhurana marked this pull request as ready for review April 17, 2024 12:30
@shivekkhurana shivekkhurana marked this pull request as draft April 24, 2024 13:23
@shivekkhurana shivekkhurana removed their assignment Apr 24, 2024
@shivekkhurana
Copy link
Contributor Author

This PR will be gutted and implemented by the Wallet Settings Crew. I'll always be available for help and support.

image

@shivekkhurana shivekkhurana deleted the 19546-enhance-network-preferences-component-to-be-reusable branch July 4, 2024 10:16
@shivekkhurana shivekkhurana self-assigned this Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
2 participants