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

Make color selector take full device width to match Figma #17465

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Conversation

ibrkhalil
Copy link
Contributor

@ibrkhalil ibrkhalil commented Oct 1, 2023

fixes #17443

Fixes a UI issue on smaller screen and older devices where the ScrollView that renders the list of colors didn't show that it's scrollable because it had horizontal padding alongside the spacing which led #17443
Also on Figma, The width is set to take the whole available screen width, So The padding was unnecessary.

Figma iOS before iOS after Android before Android after
image image image screenshot screenshot

status: ready

@ibrkhalil ibrkhalil self-assigned this Oct 1, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Oct 1, 2023

Jenkins Builds

Click to see older builds (84)
Commit #️⃣ Finished (UTC) Duration Platform Result
875c6f9 #1 2023-10-01 10:38:15 ~3 min tests 📄log
✔️ 875c6f9 #1 2023-10-01 10:40:57 ~5 min android-e2e 🤖apk 📲
✔️ 875c6f9 #1 2023-10-01 10:41:10 ~6 min android 🤖apk 📲
✔️ 875c6f9 #1 2023-10-01 10:41:47 ~6 min ios 📱ipa 📲
✔️ 1ba5933 #2 2023-10-01 15:17:23 ~6 min android-e2e 🤖apk 📲
✔️ 1ba5933 #2 2023-10-01 15:17:53 ~6 min ios 📱ipa 📲
✔️ 1ba5933 #2 2023-10-01 15:18:00 ~6 min android 🤖apk 📲
✔️ 1ba5933 #3 2023-10-01 16:18:58 ~9 min tests 📄log
✔️ ae20b94 #3 2023-10-02 07:06:56 ~5 min android-e2e 🤖apk 📲
✔️ ae20b94 #3 2023-10-02 07:07:33 ~6 min ios 📱ipa 📲
✔️ ae20b94 #3 2023-10-02 07:09:04 ~7 min android 🤖apk 📲
✔️ ae20b94 #4 2023-10-02 07:10:46 ~9 min tests 📄log
✔️ b026668 #4 2023-10-02 13:41:41 ~5 min android 🤖apk 📲
✔️ b026668 #4 2023-10-02 13:42:10 ~6 min ios 📱ipa 📲
✔️ b026668 #4 2023-10-02 13:44:01 ~8 min android-e2e 🤖apk 📲
✔️ b026668 #5 2023-10-02 13:45:58 ~9 min tests 📄log
✔️ eb952b5 #5 2023-10-03 05:23:34 ~5 min android 🤖apk 📲
✔️ eb952b5 #5 2023-10-03 05:24:20 ~6 min ios 📱ipa 📲
✔️ eb952b5 #5 2023-10-03 05:27:37 ~9 min android-e2e 🤖apk 📲
✔️ eb952b5 #6 2023-10-03 05:27:55 ~10 min tests 📄log
✔️ b732f4e #6 2023-10-03 12:05:25 ~6 min android-e2e 🤖apk 📲
✔️ b732f4e #6 2023-10-03 12:05:39 ~6 min android 🤖apk 📲
✔️ b732f4e #6 2023-10-03 12:05:56 ~7 min ios 📱ipa 📲
✔️ b732f4e #7 2023-10-03 12:07:56 ~9 min tests 📄log
✔️ bf3bd2d #7 2023-10-08 16:48:29 ~5 min android-e2e 🤖apk 📲
✔️ bf3bd2d #7 2023-10-08 16:48:49 ~5 min android 🤖apk 📲
✔️ bf3bd2d #7 2023-10-08 16:49:36 ~6 min ios 📱ipa 📲
✔️ 06619b3 #8 2023-10-08 16:57:46 ~5 min android 🤖apk 📲
✔️ 06619b3 #8 2023-10-08 16:57:49 ~5 min android-e2e 🤖apk 📲
✔️ 06619b3 #8 2023-10-08 16:58:20 ~5 min ios 📱ipa 📲
✔️ 06619b3 #9 2023-10-08 17:01:02 ~8 min tests 📄log
✔️ 2ab6c2a #9 2023-10-09 12:28:14 ~6 min ios 📱ipa 📲
✔️ 2ab6c2a #9 2023-10-09 12:28:15 ~6 min android 🤖apk 📲
✔️ 2ab6c2a #9 2023-10-09 12:29:51 ~7 min android-e2e 🤖apk 📲
✔️ 2ab6c2a #10 2023-10-09 12:31:36 ~9 min tests 📄log
410d549 #10 2023-10-21 08:26:45 ~35 sec ios 📄log
410d549 #10 2023-10-21 08:26:45 ~35 sec android 📄log
410d549 #10 2023-10-21 08:26:47 ~36 sec android-e2e 📄log
410d549 #11 2023-10-21 08:27:58 ~1 min tests 📄log
ce08b91 #11 2023-10-21 08:29:03 ~32 sec android-e2e 📄log
ce08b91 #11 2023-10-21 08:29:04 ~33 sec android 📄log
ce08b91 #11 2023-10-21 08:29:10 ~34 sec ios 📄log
ce08b91 #12 2023-10-21 08:30:17 ~1 min tests 📄log
b33da53 #13 2023-10-21 10:03:52 ~2 min tests 📄log
d88d0b5 #14 2023-10-21 10:07:05 ~2 min tests 📄log
✔️ d88d0b5 #13 2023-10-21 10:09:55 ~5 min android-e2e 🤖apk 📲
✔️ d88d0b5 #13 2023-10-21 10:10:09 ~5 min android 🤖apk 📲
✔️ aa6c194 #14 2023-10-21 10:16:01 ~5 min android-e2e 🤖apk 📲
✔️ aa6c194 #14 2023-10-21 10:17:18 ~6 min ios 📱ipa 📲
✔️ aa6c194 #14 2023-10-21 10:18:36 ~7 min android 🤖apk 📲
✔️ aa6c194 #15 2023-10-21 10:19:56 ~9 min tests 📄log
✔️ dd4feba #15 2023-10-23 04:44:28 ~7 min android-e2e 🤖apk 📲
✔️ dd4feba #15 2023-10-23 04:44:44 ~7 min android 🤖apk 📲
✔️ dd4feba #16 2023-10-23 04:48:26 ~10 min tests 📄log
✔️ dd4feba #15 2023-10-23 04:53:14 ~15 min ios 📱ipa 📲
✔️ 0e1f6cd #16 2023-10-25 07:23:52 ~8 min ios 📱ipa 📲
✔️ 0e1f6cd #16 2023-10-25 07:25:12 ~9 min android 🤖apk 📲
✔️ 0e1f6cd #16 2023-10-25 07:25:30 ~10 min android-e2e 🤖apk 📲
✔️ 0e1f6cd #17 2023-10-25 07:26:00 ~10 min tests 📄log
✔️ da50a58 #17 2023-10-25 11:10:55 ~7 min android 🤖apk 📲
✔️ da50a58 #17 2023-10-25 11:13:33 ~10 min android-e2e 🤖apk 📲
✔️ da50a58 #18 2023-10-25 11:14:12 ~11 min tests 📄log
✔️ da50a58 #17 2023-10-25 11:15:13 ~12 min ios 📱ipa 📲
✔️ 6228ee8 #18 2023-10-25 11:29:14 ~6 min android-e2e 🤖apk 📲
✔️ 6228ee8 #18 2023-10-25 11:29:26 ~6 min android 🤖apk 📲
✔️ 6228ee8 #18 2023-10-25 11:30:24 ~7 min ios 📱ipa 📲
✔️ 6228ee8 #19 2023-10-25 11:32:17 ~9 min tests 📄log
✔️ 8e93f37 #19 2023-10-25 12:57:51 ~6 min android-e2e 🤖apk 📲
✔️ 8e93f37 #19 2023-10-25 13:00:52 ~9 min android 🤖apk 📲
✔️ 8e93f37 #20 2023-10-25 13:01:25 ~9 min tests 📄log
✔️ 8e93f37 #19 2023-10-25 13:01:47 ~10 min ios 📱ipa 📲
✔️ 20fc585 #20 2023-10-26 02:50:47 ~5 min android 🤖apk 📲
✔️ 20fc585 #20 2023-10-26 02:50:51 ~5 min android-e2e 🤖apk 📲
✔️ 20fc585 #20 2023-10-26 02:53:40 ~8 min ios 📱ipa 📲
✔️ 20fc585 #21 2023-10-26 02:54:15 ~8 min tests 📄log
✔️ 35ae2e1 #21 2023-10-26 08:39:47 ~7 min android 🤖apk 📲
✔️ 35ae2e1 #21 2023-10-26 08:39:56 ~7 min android-e2e 🤖apk 📲
✔️ 35ae2e1 #21 2023-10-26 08:40:31 ~8 min ios 📱ipa 📲
✔️ 35ae2e1 #22 2023-10-26 08:43:13 ~11 min tests 📄log
✔️ 9757a11 #23 2023-10-26 09:06:53 ~6 min android 🤖apk 📲
✔️ 9757a11 #23 2023-10-26 09:06:57 ~6 min ios 📱ipa 📲
✔️ 9757a11 #23 2023-10-26 09:06:59 ~6 min android-e2e 🤖apk 📲
✔️ 9757a11 #23 2023-10-26 09:09:43 ~9 min tests 📄log
✔️ 9757a11 #24 2023-10-26 09:12:57 ~5 min android 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6f0f9a0 #24 2023-10-26 09:29:41 ~6 min android-e2e 🤖apk 📲
✔️ 6f0f9a0 #25 2023-10-26 09:29:43 ~6 min android 🤖apk 📲
✔️ 6f0f9a0 #24 2023-10-26 09:30:23 ~7 min ios 📱ipa 📲
✔️ 6f0f9a0 #24 2023-10-26 09:33:40 ~10 min tests 📄log
✔️ cb825d5 #26 2023-10-26 10:08:59 ~6 min android 🤖apk 📲
✔️ cb825d5 #25 2023-10-26 10:09:05 ~6 min android-e2e 🤖apk 📲
✔️ cb825d5 #25 2023-10-26 10:11:03 ~8 min ios 📱ipa 📲
✔️ cb825d5 #25 2023-10-26 10:12:57 ~10 min tests 📄log

Copy link
Member

@Parveshdhull Parveshdhull left a comment

Choose a reason for hiding this comment

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

Hi @ibrkhalil,
Thank you for the PR.

We need to make the UI look the same as Figma by making the margin between circles flexible as per screen size.
Please checkout this discord conversation for more information.

Copy link
Contributor

@OmarBasem OmarBasem left a comment

Choose a reason for hiding this comment

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

The component needs a content-container-style as the component usage on different screens have different paddings, but you don't have to worry about that as I have added it in that PR #17468

@OmarBasem
Copy link
Contributor

OmarBasem commented Oct 2, 2023

@ibrkhalil I didn't check the issue description. It seems the issue is not addressed? The circles need to have dynamic margins based on screen width so that part of the last circle is visible

@ibrkhalil
Copy link
Contributor Author

@ibrkhalil I didn't check the issue description. It seems the issue is not addressed? The circles need to have dynamic margins based on screen width so that part of the last circle is visible

The spacing between them should allow it to show if we didn't add the horizontal margin.

@OmarBasem
Copy link
Contributor

@ibrkhalil I didn't check the issue description. It seems the issue is not addressed? The circles need to have dynamic margins based on screen width so that part of the last circle is visible

The spacing between them should allow it to show if we didn't add the horizontal margin.

Are you sure it will show on all devices? Removing the margins may make the last circle show on some devices and not on others I think

@ibrkhalil
Copy link
Contributor Author

@ibrkhalil I didn't check the issue description. It seems the issue is not addressed? The circles need to have dynamic margins based on screen width so that part of the last circle is visible

The spacing between them should allow it to show if we didn't add the horizontal margin.

Are you sure it will show on all devices? Removing the margins may make the last circle show on some devices and not on others I think

You're right, But what really makes me want to make padding go away is that in the designs circles go edge to edge.

@status-im-auto
Copy link
Member

53% of end-end tests have passed

Total executed tests: 43
Failed tests: 20
Passed tests: 23
IDs of failed tests: 702809,702782,702733,702732,702813,703495,703086,702948,702894,702745,702783,703503,702936,702786,702947,702731,702808,702730,702845,703382 

Failed tests (20)

Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Test setup failed: critical/test_public_chat_browsing.py:1088: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:424: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    2. test_community_hashtag_links_to_community_channels, id: 702948

    Test setup failed: critical/test_public_chat_browsing.py:1088: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:424: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    3. test_community_mentions_push_notification, id: 702786

    Device 2: Find Button by xpath: //*[@content-desc='password-input']/../following-sibling::*//*[@text='Join Community']
    Device 2: Tap on found: Button

    Test setup failed: critical/test_public_chat_browsing.py:1088: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:424: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element 
    

    [[Issue with username in PN, https://github.com//issues/17396]]

    Device sessions

    4. test_community_leave, id: 702845

    Test setup failed: critical/test_public_chat_browsing.py:1088: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:424: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Text by xpath: //*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Sent

    critical/chats/test_1_1_public_chats.py:1417: in test_1_1_chat_is_shown_message_sent_delivered_from_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))]))
     Message was not delivered after resending from offline
    E    Message status was not changed to Delivered, it's Sent after back up online! 
    

    [[Data delivery issue]]

    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Swiping up

    critical/test_public_chat_browsing.py:359: in test_community_discovery
        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))]))
     Element show-request-to-join-screen-button is different from expected template discovery_join_button.png! 
    

    [[Request to Join Community button color issue: https://github.com//issues/17295]]

    Device sessions

    2. test_community_mute_community_and_channel, id: 703382

    Device 1: Find MuteButton by accessibility id: mute-community
    Device 1: Click system back button

    critical/test_public_chat_browsing.py:459: in test_community_mute_community_and_channel
        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))]))
     Text 'Muted until 10:34 Tue 10 Oct' is not shown for a muted community channel
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_mark_all_messages_as_read, id: 703086

    Device 1: Tap on found: Button
    Device 1: Click until Text by accessibility id: community-description-text will be presented

    critical/test_public_chat_browsing.py:1045: in test_community_mark_all_messages_as_read
        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))]))
     New messages counter is not shown in home > Community element
    E    New messages counter is not shown in community channel element
    



    Device sessions

    2. test_community_contact_block_unblock_offline, id: 702894

    Device 1: Click until ChatMessageInput by accessibility id: chat-message-input will be presented
    Device 1: Looking for a message by text: Hurray! unblocked

    critical/test_public_chat_browsing.py:984: 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))]))
     Hurray! unblocked was not received in public chat after user unblock! 
    

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

    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936

    Device 2: Find Button by xpath: //*[@content-desc='password-input']/../following-sibling::*//*[@text='Join Community']
    Device 2: Tap on found: Button

    Test setup failed: medium/test_activity_center.py:175: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:424: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Test setup failed: medium/test_activity_center.py:175: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:424: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    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_mute_chat, id: 703495

    Device 2: Click until ChatMessageInput by accessibility id: chat-message-input will be presented
    Device 2: Looking for a message by text: Chat is unmuted now

    critical/chats/test_group_chat.py:607: in test_group_chat_mute_chat
        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))]))
     New messages counter near chats tab button is 1 after unmute, but should be 2
    



    Device sessions

    3. 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:443: 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_emoji_send_reply_and_open_link, id: 702782

    Device 1: Tap on found: SendMessageButton
    Device 2: Looking for a message by text: Test with link: https://status.im/ here should be nothing unusual.

    critical/chats/test_1_1_public_chats.py:963: in test_1_1_chat_emoji_send_reply_and_open_link
        self.chat_2.chat_element_by_text(url_message).wait_for_element(20)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `2`: `ChatElementByText` by` xpath`: `//*[starts-with(@text,'Test with link: https://status.im/ here should be nothing unusual.')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_element
    



    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 2: Find Text by xpath: //*[starts-with(@text,'smth I should edit')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Sent

    critical/chats/test_1_1_public_chats.py:1280: in test_1_1_chat_text_message_delete_push_disappear
        self.chat_2.chat_element_by_text(message_after_edit_1_1).wait_for_status_to_be("Delivered")
    ../views/chat_view.py:235: in wait_for_status_to_be
        raise TimeoutException("Message status was not changed to %s, it's %s" % (expected_status, current_status))
     Message status was not changed to Delivered, it's Sent
    



    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813

    Device 1: App to background
    Device 2: Sending message 'emoji'

    critical/chats/test_1_1_public_chats.py:1161: in test_1_1_chat_push_emoji
        chat_2.send_message(emoji.emojize(emoji_message))
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 1: Tap on found: SendMessageButton
    Device 2: Looking for a message by text: profile_photo

    critical/chats/test_1_1_public_chats.py:1120: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.chat_2.chat_element_by_text(message).wait_for_visibility_of_element(30)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    5. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    6. test_1_1_chat_message_reaction, id: 702730

    Device 2: Wait for text element EmojisNumber to be equal to 1
    Device 2: Find EmojisNumber by xpath: //*[starts-with(@text,'Message sender')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView

    critical/chats/test_1_1_public_chats.py:878: in test_1_1_chat_message_reaction
        message_receiver.emojis_below_message(emoji="thumbs-up").wait_for_element_text(1, 90)
    ../views/base_element.py:172: in wait_for_element_text
        element_text = self.find_element().text.strip()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: EmojisNumber by xpath: `//*[starts-with(@text,'Message sender')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    Passed tests (23)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_mute_chat, id: 703496
    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_navigate_to_channel_when_relaunch, id: 702846
    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_message_delete, id: 702839
    Device sessions

    5. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    6. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    7. test_community_message_edit, id: 702843
    Device sessions

    8. test_community_unread_messages_badge, id: 702841
    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 TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    2. test_group_chat_reactions, id: 703202
    Device sessions

    3. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855
    Device sessions

    2. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    Hi @ibrkhalil! It seems that current implementation does not fix the problem for all devices. Can we have some universal solution?

    ISSUE 1 The whole circle is visible instead of part of the next one (Samsung Galaxy A52)

    Such implementation does not fix the problem as it is still not obvious that colour pickers are scrollable

    Here is a screenshot form Samsung Galaxy A52

    photo_2023-10-03 14 13 30

    @pavloburykh
    Copy link
    Contributor

    ISSUE 2 Colour pickers stick to the left edge instead of to be aligned with other elements on the page

    Colour pickers selector starts from the very edge while should be alligned with other elements and have more space from the left side.

    Actual result:

    photo_2023-10-03 14 24 52

    Expected result:

    Figma

    Onboarding for Mobile – Figma 2023-10-03 14-24-18

    @pavloburykh
    Copy link
    Contributor

    Hey @ibrkhalil any update on this?

    @ibrkhalil
    Copy link
    Contributor Author

    Not yet, Working on Top bar animation bugs atm.

    @ibrkhalil
    Copy link
    Contributor Author

    ibrkhalil commented Oct 21, 2023

    I was able to come up with a ratio to calculate a dynamic margin that'll match Figma for iPhone 11 Pro and adjust the value accordingly for other screens.

    CleanShot 2023-10-21 at 12 54 11

    @ibrkhalil
    Copy link
    Contributor Author

    @pavloburykh Ready again

    :border-width 4
    :border-radius 24
    :margin-right (-> window-width
    (- constants/IPHONE_11_PRO_VIEWPORT_WIDTH)
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    I think this deserves a comment - or put this in a private function to help explain the idea/logic here 👍

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Done

    @status-im-auto
    Copy link
    Member

    84% of end-end tests have passed

    Total executed tests: 45
    Failed tests: 3
    Expected to fail tests: 4
    Passed tests: 38
    
    IDs of failed tests: 702813,702786,702807 
    
    IDs of expected to fail tests: 702732,702783,702731,702808 
    

    Failed tests (3)

    Click to expand
  • Rerun failed tests

  • 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:882: 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))]))
     Channel did not open by clicking on a notification with the mention for admin
    E    Channel did not open by clicking on a notification with the mention for the invited member
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:97: in test_group_chat_join_send_text_messages_push
        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))]))
     Message Hey, admin! was not received by admin
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_push_emoji, id: 702813

    Device 1: App to background
    Device 2: Sending message 'emoji'

    critical/chats/test_1_1_public_chats.py:345: in test_1_1_chat_push_emoji
        chat_2.send_message(emoji.emojize(emoji_message))
    ../views/chat_view.py:1000: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    Expected to fail tests (4)

    Click to expand

    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:309: 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 TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Text by xpath: //*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Sent

    critical/chats/test_1_1_public_chats.py:601: in test_1_1_chat_is_shown_message_sent_delivered_from_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))]))
     Message status was not changed to Delivered, it's Sent after back up online! 
    

    [[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]]

    Passed tests (38)

    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_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_edit_message, id: 702855
    Device sessions

    5. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    6. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    4. test_community_join_when_node_owner_offline, id: 703629
    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_contact_block_unblock_offline, id: 702894
    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 TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_mute_chat, id: 703496
    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 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_discovery, id: 703503
    Device sessions

    4. test_community_undo_delete_message, id: 702869
    Device sessions

    5. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    6. test_community_mute_community_and_channel, id: 703382
    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

    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

    @pavloburykh
    Copy link
    Contributor

    @ibrkhalil thanx for the fix! LGTM. PR is ready for design review cc @Francesca-G

    @ibrkhalil
    Copy link
    Contributor Author

    @pavloburykh Do you think this should be added to the wallet creation screen?
    I believe it uses the same color picker, I don't know if it's required there or not though.

    @pavloburykh
    Copy link
    Contributor

    @pavloburykh Do you think this should be added to the wallet creation screen? I believe it uses the same color picker, I don't know if it's required there or not though.

    @ibrkhalil According to Figma wallet color pickers are the same.

    Wallet for Mobile – Figma 2023-10-26 11-17-16

    Currently it looks like this:

    Android 12, Samsung Galaxy A52

    photo_2023-10-26 11 20 11

    IOS 16.1, iPhoneX

    photo_2023-10-26 11 20 33

    @ibrkhalil please reach someone from wallet team on this question. I believe @J-Son89 might be the right person.

    Meanwhile, I propose not to block this PR from merging. Just create a followup after synchronising with wallet team.

    :default-selected :blue
    :on-change on-change
    :window-width window-width
    :container-style {:padding-left (int (/ window-width 18.75))}}]]]
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    where is this magic 18.75 coming from?

    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 wanted to add padding 20 like the design, But I wanted to make it responsive.
    18.75 = iPhone 11 Pro VW / 20

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Ok, well this should be in a def and then leave a comment explaining the value or some means to communicate this idea 👍

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Okay, Will do

    Copy link

    @Francesca-G Francesca-G left a comment

    Choose a reason for hiding this comment

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

    Looks good to me ✨

    @J-Son89
    Copy link
    Contributor

    J-Son89 commented Oct 26, 2023

    @ibrkhalil, @pavloburykh this color picker is used on several screens in the wallet. If you search for quo/color-picker you will find the uses Ibrahem. Create account page, edit account page are some examples.

    @ibrkhalil
    Copy link
    Contributor Author

    @ibrkhalil, @pavloburykh this color picker is used on several screens in the wallet. If you search for quo/color-picker you will find the uses Ibrahem. Create account page, edit account page are some examples.

    I know where it's used Jamie, But my point is should I fix this bug there too or not?

    @J-Son89
    Copy link
    Contributor

    J-Son89 commented Oct 26, 2023

    Ah got it, we will be making adjustments to the wallet pages anyway so feel free to leave it to keep this pr scope smaller. 👍

    @ibrkhalil ibrkhalil merged commit 901644e into develop Oct 26, 2023
    2 checks passed
    @ibrkhalil ibrkhalil deleted the 17443 branch October 26, 2023 10:20
    @OmarBasem
    Copy link
    Contributor

    Hi @ibrkhalil, I am getting the following bug in the color picker in Wallet

    Screenshot_20231027_074516_Status Debug

    @ibrkhalil
    Copy link
    Contributor Author

    Hi @ibrkhalil, I am getting the following bug in the color picker in Wallet

    Screenshot_20231027_074516_Status Debug

    Thanks for reporting it Omar, I created a PR to fix it here
    #17748

    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.

    Make part of next color picker visible in color pickers scroll bar
    7 participants