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

chore(wallet): add flow for selecting own accounts in send flows #18071

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

J-Son89
Copy link
Contributor

@J-Son89 J-Son89 commented Dec 5, 2023

fixes: #16892

Figma Reference :
258678799-7c896498-2092-45f1-b275-030705dd7f79

https://www.figma.com/file/HKncH4wnDwZDAhc4AryK8Y/Wallet-for-Mobile?type=design&node-id=689-192739&mode=design&t=EXPLGpRJgQikZol4-4

This pr adds the data for the flow when the user is selecting the account to send to. Navigate to the new wallet, select an account, hit the "send" button. Go to my accounts tab ->

  • It should display all other accounts of the user.
  • If the account is selected it will take the user to the next page.
  • if the user returns it should return the user to the same page but with that tab active.
trim.AEB84561-76FB-46E4-B42D-D4930268D1E0.MOV


(def view (quo.theme/with-theme view-internal))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we only need with-theme HOC if we need direct access to the value of "theme"

input-value (reagent/atom "")
input-focused? (reagent/atom false)]
(fn []
(let [valid-ens-or-address? (boolean (rf/sub [:wallet/valid-ens-or-address?]))]
(let [selected-tab (or (rf/sub [:wallet/send-tab]) (:id (first tabs/data)))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to using rf here as we need to persist the selected tab for navigating back etc

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, just make sure that when we navigate back and forth from this screen, the re-frame entry is reset, so the focused tab is the first one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

is that what we want? I would have thought we want to be on the same tab we left from? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 when you go back I think it's expected to keep the state, but when you go forward I think the user expects to start from a "new" state.

But it might be just a personal perspective 🤔

@status-im-auto
Copy link
Member

status-im-auto commented Dec 5, 2023

Jenkins Builds

Click to see older builds (31)
Commit #️⃣ Finished (UTC) Duration Platform Result
1367305 #1 2023-12-05 11:46:00 ~2 min tests 📄log
✔️ 1367305 #1 2023-12-05 11:50:25 ~7 min android 🤖apk 📲
✔️ 1367305 #1 2023-12-05 11:50:28 ~7 min android-e2e 🤖apk 📲
✔️ 1367305 #1 2023-12-05 11:51:14 ~8 min ios 📱ipa 📲
✔️ 4630277 #3 2023-12-05 17:35:53 ~6 min android 🤖apk 📲
✔️ 4630277 #2 2023-12-05 17:36:06 ~7 min ios 📱ipa 📲
✔️ 4630277 #3 2023-12-05 17:36:22 ~7 min android-e2e 🤖apk 📲
✔️ bfb05ba #3 2023-12-06 09:12:46 ~6 min ios 📱ipa 📲
✔️ bfb05ba #4 2023-12-06 09:13:12 ~6 min android 🤖apk 📲
✔️ bfb05ba #4 2023-12-06 09:16:42 ~10 min android-e2e 🤖apk 📲
✔️ bfb05ba #3 2023-12-06 09:18:06 ~11 min tests 📄log
✔️ 74cb6c8 #5 2023-12-06 13:09:29 ~9 min android-e2e 🤖apk 📲
✔️ 74cb6c8 #5 2023-12-06 13:11:13 ~10 min android 🤖apk 📲
✔️ 74cb6c8 #4 2023-12-06 13:11:52 ~11 min ios 📱ipa 📲
✔️ 74cb6c8 #4 2023-12-06 13:12:54 ~12 min tests 📄log
✔️ 47ef4e6 #6 2023-12-07 16:32:03 ~7 min android-e2e 🤖apk 📲
✔️ 47ef4e6 #6 2023-12-07 16:32:05 ~7 min android 🤖apk 📲
✔️ 47ef4e6 #5 2023-12-07 16:34:58 ~10 min tests 📄log
✔️ 47ef4e6 #5 2023-12-07 16:37:38 ~13 min ios 📱ipa 📲
✔️ 8b45c72 #7 2023-12-07 18:44:07 ~6 min android-e2e 🤖apk 📲
✔️ 8b45c72 #7 2023-12-07 18:44:09 ~6 min android 🤖apk 📲
✔️ 8b45c72 #6 2023-12-07 18:47:18 ~9 min tests 📄log
✔️ 8b45c72 #6 2023-12-07 18:49:50 ~12 min ios 📱ipa 📲
✔️ 8c0c802 #8 2023-12-11 11:54:47 ~7 min android-e2e 🤖apk 📲
✔️ 8c0c802 #7 2023-12-11 11:59:22 ~11 min ios 📱ipa 📲
✔️ 8c0c802 #8 2023-12-11 12:00:05 ~12 min android 🤖apk 📲
✔️ 8c0c802 #7 2023-12-11 12:00:16 ~12 min tests 📄log
✔️ 8596113 #9 2023-12-11 15:06:40 ~7 min android 🤖apk 📲
✔️ 8596113 #8 2023-12-11 15:06:58 ~7 min ios 📱ipa 📲
✔️ 8596113 #9 2023-12-11 15:09:17 ~9 min android-e2e 🤖apk 📲
✔️ 8596113 #8 2023-12-11 15:12:52 ~13 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
a01a5d5 #9 2023-12-12 11:34:44 ~5 min tests 📄log
✔️ a01a5d5 #10 2023-12-12 11:38:11 ~8 min android-e2e 🤖apk 📲
✔️ a01a5d5 #10 2023-12-12 11:38:16 ~8 min android 🤖apk 📲
✔️ a01a5d5 #9 2023-12-12 11:40:32 ~11 min ios 📱ipa 📲
✔️ 1ad6fc1 #10 2023-12-12 13:29:13 ~4 min tests 📄log
✔️ 1ad6fc1 #10 2023-12-12 13:30:47 ~6 min ios 📱ipa 📲
✔️ 1ad6fc1 #11 2023-12-12 13:31:27 ~6 min android-e2e 🤖apk 📲
✔️ 1ad6fc1 #11 2023-12-12 13:32:24 ~7 min android 🤖apk 📲

@J-Son89 J-Son89 requested a review from vkjr December 5, 2023 11:46
Comment on lines 30 to 60
(rf/reg-sub
:wallet/other-accounts
:<- [:wallet/accounts]
:<- [:wallet/current-viewing-account-address]
(fn [[accounts current-address]]
(filter #(not= (:address %) current-address) accounts)))

Copy link
Member

Choose a reason for hiding this comment

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

There is an existing sub :wallet/accounts-without-current-viewing-account which gives out the same result.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks I'll use that instead

[]
(let [margin-top (safe-area/get-top)
selected-tab (reagent/atom (:id (first tabs-data)))

Copy link
Member

Choose a reason for hiding this comment

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

Extra line

Comment on lines +1 to +4
(ns status-im2.contexts.wallet.send.events
(:require
[utils.number]
[utils.re-frame :as rf]))
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice you created a new namespace 👍
btw, I think utils.number is unused

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

input-value (reagent/atom "")
input-focused? (reagent/atom false)]
(fn []
(let [valid-ens-or-address? (boolean (rf/sub [:wallet/valid-ens-or-address?]))]
(let [selected-tab (or (rf/sub [:wallet/send-tab]) (:id (first tabs/data)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, just make sure that when we navigate back and forth from this screen, the re-frame entry is reset, so the focused tab is the first one.

Comment on lines +6 to +10
(rf/reg-sub
:wallet/send-tab
:<- [:wallet/ui]
(fn [ui]
(get-in ui [:send :select-address-tab])))
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

(rf/dispatch [:navigate-to-within-stack
[:wallet-select-asset :wallet-select-address]]))}])

(def data
Copy link
Contributor

@OmarBasem OmarBasem Dec 6, 2023

Choose a reason for hiding this comment

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

I think this can have a better name than data. Maybe tabs or tabs-data.

Also I think it is not used in the current file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's used in the main view, I can rename it 👌

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved it to main view 👍

Copy link
Member

@smohamedjavid smohamedjavid left a comment

Choose a reason for hiding this comment

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

🚀

@status-im-auto
Copy link
Member

79% of end-end tests have passed

Total executed tests: 48
Failed tests: 4
Expected to fail tests: 6
Passed tests: 38
Not executed tests: 1
IDs of not executed tests: 704615 
IDs of failed tests: 702786,702948,702809,703133 
IDs of expected to fail tests: 702732,702894,702808,702846,703503,702731 

Not executed tests (1)

Click to expand
  • Rerun not executed tests
  • Failed tests (4)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

    Device 1: Find `Button` by `accessibility id`: `show-profiles`
    Device 1: Tap on found: Button

    critical/chats/test_public_chat_browsing.py:274: in test_restore_multiaccount_with_waku_backup_remove_switch
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Incorrect contacts number restored: 3 instead of 2
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:902: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Can not edit a message with a mention
    E    Edited message is not shown correctly for the (receiver) admin
    



    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948

    Device 2: Find Text by xpath: //android.view.ViewGroup[@content-desc='chat-item']//android.widget.TextView[contains(@text,'#cats')]
    Device 2: Looking for a message by text: it is just a message text

    critical/chats/test_public_chat_browsing.py:1046: in test_community_hashtag_links_to_community_channels
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Receiver was not navigated to the cats channel
    E    Sender was not navigated to the cats channel
    



    Device sessions

    3. test_community_markdown_support, id: 702809

    Device 1: Looking for a message by text: quote reply (one row)
    Device 2: Looking for a message by text: quote reply (one row)

    critical/chats/test_public_chat_browsing.py:954: in test_community_markdown_support
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     bold text in asterics is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    bold text in underscores is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    italic text in asteric is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    italic text in underscore is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    inline code is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    code blocks is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    quote reply (one row) is not displayed with markdown in community channel for the recipient (device 1)
    



    Device sessions

    Expected to fail tests (6)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Issue #18075]]

    2. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    2. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:323: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_contact_block_unblock_offline, id: 702894

    Device 1: Find ProfileSendMessageButton by accessibility id: Chat-item-button
    Device 1: Sending message 'piy'

    critical/chats/test_public_chat_browsing.py:741: in test_community_contact_block_unblock_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Chat with unblocked user was not enabled after 1 minute 
    

    [[Message can be missed after unblock: https://github.com//issues/16873]]

    Device sessions

    Passed tests (38)

    Click to expand

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    2. test_activity_center_mentions, id: 702957
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    2. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    3. test_community_one_image_send_reply, id: 702859
    Device sessions

    4. test_community_message_edit, id: 702843
    Device sessions

    5. test_community_several_images_send_reply, id: 703194
    Device sessions

    6. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_unread_messages_badge, id: 702841
    Device sessions

    9. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_other_apps, id: 704614
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    3. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    2. test_community_mute_community_and_channel, id: 703382
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    2. test_community_leave, id: 702845
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    4. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    5. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    6. test_1_1_chat_edit_message, id: 702855
    Device sessions

    7. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    2. test_add_contact_field_validation, id: 702777
    Device sessions

    3. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    @VolodLytvynenko VolodLytvynenko self-assigned this Dec 7, 2023
    @status-im-auto
    Copy link
    Member

    100% of end-end tests have passed

    Total executed tests: 1
    Failed tests: 0
    Expected to fail tests: 0
    Passed tests: 1
    

    Passed tests (1)

    Click to expand

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    Hi @J-Son89 Could you please rebase the PR and resolve existing conflicts?

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Dec 7, 2023

    done @VolodLytvynenko - but give me a few mins to verify the build is all good etc and I'll ping you to let you know once I do a quick smoke test 👍

    @status-im-auto
    Copy link
    Member

    86% of end-end tests have passed

    Total executed tests: 49
    Failed tests: 0
    Expected to fail tests: 7
    Passed tests: 42
    
    IDs of expected to fail tests: 702732,702948,702894,703503,702846,702731,702808 
    

    Expected to fail tests (7)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_pin_messages, id: 702731
    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_contact_block_unblock_offline, id: 702894

    Device 1: Find ProfileSendMessageButton by accessibility id: Chat-item-button
    Device 1: Sending message 'piy'

    critical/chats/test_public_chat_browsing.py:742: in test_community_contact_block_unblock_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Chat with unblocked user was not enabled after 1 minute 
    

    [[Message can be missed after unblock: https://github.com//issues/16873]]

    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    2. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:323: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    2. test_community_navigate_to_channel_when_relaunch, id: 702846

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Issue #18075]]

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_hashtag_links_to_community_channels, id: 702948

    Device 2: Find Text by xpath: //android.view.ViewGroup[@content-desc='chat-item']//android.widget.TextView[contains(@text,'#cats')]
    Device 2: Looking for a message by text: it is just a message text

    critical/chats/test_public_chat_browsing.py:1079: in test_community_hashtag_links_to_community_channels
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Receiver was not navigated to the cats channel
    E    Sender was not navigated to the cats channel 
    

    [[Can't navigate to a channel by hashtag link, https://github.com//issues/18095]]

    Device sessions

    Passed tests (42)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    3. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_open_universal_links_from_other_apps, id: 704614
    Device sessions

    3. test_links_deep_links, id: 702775
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    4. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_mentions_push_notification, id: 702786
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    4. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    Hey. @J-Son89 thank you for the PR. I didn't encounter any issues, just a few questions that might be considered as potential issues:

    Question 1: Should the watch-only page be selectable on the "send to" page?

    Description: From my understanding, the 'send to' page is restricted to non-editable, watch-only accounts. However, a user can access it by selecting it using the select account icon (shown in the right upper corner)

    Steps:

    1. User adds watch-only account
    2. User opens default account -> tap 'send' -> tap icon in right upper corner -> select watch only account

    Actual result:

    The user lands on the 'send to' page of the watch-only account and can view accounts from the 'my account' tab to send assets.

    watchonly.mp4

    Expected result:

    Potential solution:
    The watch-only page is not included in the select accounts drawer
    https://www.figma.com/file/HKncH4wnDwZDAhc4AryK8Y/Wallet-for-Mobile?type=design&node-id=689-192739&mode=design&t=qKubUig7uuPjm0Bh-0
    image

    @VolodLytvynenko
    Copy link
    Contributor

    VolodLytvynenko commented Dec 11, 2023

    Question 2: Which accounts should display the 'wallet' icon? Currently, it is not visible for any account type.

    Actual result:

    The wallet icon is not shown for specific accounts on the "sent to" page

    Expected result:

    The wallet icon is shown for specific accounts on the "sent to" page
    image
    https://www.figma.com/file/HKncH4wnDwZDAhc4AryK8Y/Wallet-for-Mobile?type=design&node-id=689-192739&mode=design&t=qKubUig7uuPjm0Bh-0

    @VolodLytvynenko
    Copy link
    Contributor

    @J-Son89 If the questions above aren't related to the current PR and don't require new commits to address them, then the PR can be merged. However, please remember to move it to the design review if this PR needs design feedback

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Dec 11, 2023

    Hey. @J-Son89 thank you for the PR. I didn't encounter any issues, just a few questions that might be considered as potential issues:

    Question 1: Should the watch-only page be selectable on the "send to" page?

    Description: From my understanding, the 'send to' page is restricted to non-editable, watch-only accounts. However, a user can access it by selecting it using the select account icon (shown in the right upper corner)

    Steps:

    1. User adds watch-only account
    2. User opens default account -> tap 'send' -> tap icon in right upper corner -> select watch only account

    Actual result:

    The user lands on the 'send to' page of the watch-only account and can view accounts from the 'my account' tab to send assets.

    watchonly.mp4

    Expected result:

    Potential solution: The watch-only page is not included in the select accounts drawer https://www.figma.com/file/HKncH4wnDwZDAhc4AryK8Y/Wallet-for-Mobile?type=design&node-id=689-192739&mode=design&t=qKubUig7uuPjm0Bh-0 image

    Thanks @VolodLytvynenko, nice spot! - Question 1 is definitely a bug because we can't send anything from Watch-Only accounts? If it's okay I will handle this in a separate issue/pr as it is beyond the scope of this work and not introduced here.

    @VolodLytvynenko
    Copy link
    Contributor

    VolodLytvynenko commented Dec 11, 2023

    Thanks @VolodLytvynenko, nice spot! - Question 1 is definitely a bug because we can't send anything from Watch-Only accounts? If it's okay I will handle this in a separate issue/pr as it is beyond the scope of this work and not introduced here.

    @J-Son89 Sure. I will create it separately. Thanx

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Dec 12, 2023

    @VolodLytvynenko - after checking we will add support for Keycard soon, as such I will leave adding that icon until a future issue as it involves having keycard properly setup on mobile first to verify this.
    I will create some follow up issues to track this. Thanks for all the testing! :)

    @J-Son89 J-Son89 merged commit 457c42c into develop Dec 12, 2023
    6 checks passed
    @J-Son89 J-Son89 deleted the jc/my-accounts branch December 12, 2023 13:38
    @VolodLytvynenko
    Copy link
    Contributor

    @VolodLytvynenko - after checking we will add support for Keycard soon, as such I will leave adding that icon until a future issue as it involves having keycard properly setup on mobile first to verify this. I will create some follow up issues to track this. Thanks for all the testing! :)

    @J-Son89 Yeh. Thank you for the clarification and for managing all of these wallet follow ups

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Archived in project
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    Implement Select Address > My accounts page (non empty state)
    7 participants