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 profile photos visible by default #16095

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

alwx
Copy link
Contributor

@alwx alwx commented May 31, 2023

Fixes #16060
Also requires status-im/status-go#3553

Platforms

  • Android
  • iOS

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented May 31, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ df0ee14 #1 2023-05-31 12:22:12 ~7 min android-e2e 🤖apk 📲
✔️ df0ee14 #1 2023-05-31 12:22:17 ~8 min ios 📱ipa 📲
✔️ df0ee14 #1 2023-05-31 12:22:52 ~8 min android 🤖apk 📲
✔️ df0ee14 #1 2023-05-31 12:24:19 ~10 min tests 📄log
✔️ 342f62a #3 2023-06-19 18:27:48 ~5 min android 🤖apk 📲
✔️ 342f62a #3 2023-06-19 18:27:51 ~5 min android-e2e 🤖apk 📲
✔️ 342f62a #3 2023-06-19 18:28:53 ~6 min ios 📱ipa 📲
✔️ 342f62a #3 2023-06-19 18:29:42 ~7 min tests 📄log

@VolodLytvynenko VolodLytvynenko self-assigned this May 31, 2023
@status-im-auto
Copy link
Member

82% of end-end tests have passed

Total executed tests: 33
Failed tests: 6
Passed tests: 27
IDs of failed tests: 702732,702782,702850,702731,702851,702838 

Failed tests (6)

Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Device 1: Long press on `Button` until expected element is shown
    Device 1: Find `Button` by `xpath`: `//*[@text="Reply"]`

    critical/chats/test_1_1_public_chats.py:908: in test_1_1_chat_emoji_send_reply_and_open_link
        self.chat_1.quote_message(emoji_unicode)
    ../views/chat_view.py:995: in quote_message
        self.reply_message_button.click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Reply"]` is not found on the screen
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Device 1: Waiting for message to be sent for 30 sec
    Device 1: Find Text by xpath: //*[starts-with(@text,'Message 1')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']

    critical/chats/test_1_1_public_chats.py:943: in test_1_1_chat_pin_messages
        self.chat_1.chat_element_by_text(self.message_1).wait_for_status_to_be("Delivered")
    ../views/chat_view.py:224: in wait_for_status_to_be
        if self.status == expected_status:
    ../views/chat_view.py:200: in status
        Text(self.driver, xpath=self.locator).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Text by xpath: `//*[starts-with(@text,'Message 1')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Device 2: Find Text by xpath: //*[@content-desc='pinned-messages-menu']//*[starts-with(@text,'Message 4')]/../../*[@content-desc='pinned-by']/android.widget.TextView
    Device 2: Text is user admin

    critical/chats/test_group_chat.py:337: in test_group_chat_pin_messages
        self.errors.verify_no_errors()
    base_test_case.py:184: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message 2 is not pinned in group chat!
    



    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850

    Device 2: Looking for activity center element: 'sender'
    Device 2: Find Button by xpath: //*[contains(@text, 'sender')]/ancestor::*[@content-desc='activity']//*[@content-desc="activity-message-body"]

    medium/test_activity_center.py:68: in test_activity_center_contact_request_decline
        if activity_center_element.message_body.text != self.home_2.get_translation_by_key("add-me-to-your-contacts"):
    ../views/base_element.py:209: in text
        return self.find_element().text
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[contains(@text, 'sender')]/ancestor::*[@content-desc='activity']//*[@content-desc="activity-message-body"]` is not found on the screen
    



    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851

    Device 2: Find Button by accessibility id: new-chat-button
    Device 2: Find Button by accessibility id: add-a-contact

    medium/test_activity_center.py:78: in test_activity_center_contact_request_accept_swipe_mark_all_as_read
        self.home_2.add_contact(self.public_key_1, remove_from_contacts=True)
    ../views/home_view.py:337: in add_contact
        self.add_a_contact_chat_bottom_sheet_button.click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: Button by accessibility id: `add-a-contact` is not found on the screen
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Verifying that 'hello' is under today
    Device 2: Looking for a message by text: hello

    critical/test_public_chat_browsing.py:456: in test_community_message_send_check_timestamps_sender_username
        channel.verify_message_is_under_today_text(message, self.errors)
    ../views/chat_view.py:944: in verify_message_is_under_today_text
        message_element.wait_for_visibility_of_element()
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'hello')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element 
    

    [[blocked by 14797]]

    Device sessions

    Passed tests (27)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    2. test_1_1_chat_edit_message, id: 702855
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    5. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    6. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    7. 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_offline_pn, id: 702808
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_several_images_send_reply, id: 703194
    Device sessions

    3. test_community_one_image_send_reply, id: 702859
    Device sessions

    4. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    5. test_community_mentions_push_notification, id: 702786
    Device sessions

    6. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    7. test_community_leave, id: 702845
    Device sessions

    8. test_community_unread_messages_badge, id: 702841
    Device sessions

    9. test_community_message_delete, id: 702839
    Device sessions

    10. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    11. test_community_message_edit, id: 702843
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    3. test_navigation_jump_to, id: 702936
    Device sessions

    4. test_activity_center_mentions, id: 702957
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    2. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    3. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    Hi @alwx. Thank you for your work. PR is tested and ready to be merged

    @pavloburykh
    Copy link
    Contributor

    @alwx hi! Could we merge this one please? As it has been tested last week. If there will be any conflicts after rebasing please request another QA test to make sure there is no regression after resolving. Thanx!

    @alwx
    Copy link
    Contributor Author

    alwx commented Jun 14, 2023

    Will update and merge this and the golang counterpart today/tomorrow!

    @alwx alwx force-pushed the feature/default-profile-pictures-visibility branch from df0ee14 to 44b1199 Compare June 19, 2023 18:21
    @alwx alwx merged commit 51cfdf3 into develop Jun 19, 2023
    @alwx alwx deleted the feature/default-profile-pictures-visibility branch June 19, 2023 18:53
    codemaster115 added a commit that referenced this pull request Jun 21, 2023
    * fix: remove placeholder icons
    
    * fix: swipe action button style
    
    * lint fix
    
    * fix: swipe action button space
    
    * fix: lint
    
    * Fix for two separate sections with different colors shown on the chat screen (dark mode)  (#16265)
    
    * Fix for two separate sections with different colors shown on the chat screen (dark mode)
    
    * lint-fix
    
    * temporary hide mutual update's messages (#16290)
    
    * chore: fix unit test for slide button (#16302)
    
    * nix: upgrade interpreter from 2.11.1 to 2.14.1
    
    This is a mild upgrade that should not cause any controversy.
    
    You can read about changes here:
    - https://nixos.org/manual/nix/stable/release-notes/rl-2.12.html
    - https://nixos.org/manual/nix/stable/release-notes/rl-2.13.html
    - https://nixos.org/manual/nix/stable/release-notes/rl-2.14.html
    
    Relevant `infra-ci` change:
    - https://github.com/status-im/infra-ci/commit/e4e9796f
    
    The simplest way to upgrade to `2.14` your version locally is using:
    ```sh
    nix-channel --update
    nix-env -iA nixpkgs.nixVersions.nix_2_14 nixpkgs.cacert
    sudo systemctl daemon-reload
    sudo systemctl restart nix-daemon
    ```
    For MacOS the instructions are a bit different:
    https://nixos.org/manual/nix/stable/installation/upgrading.html
    
    Keep in mind you should use `nixpkgs.nixVersions.nix_2_14` instead
    of just `nixpkgs.nix` to avoid getting newer than `2.14`.
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * nix: add upgrade script for Nix interpreter
    
    Now developers can upgrade to current Nix version using just:
    ```sh
    make nix-upgrade
    ```
    For manual instructions see:
    https://nixos.org/manual/nix/stable/installation/upgrading.html
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * fix switcher cards position in ios (#16301)
    
    * Fix community tags and button spacing (#16292)
    
    Linked to #16119, fixes
    these issues:
    
    - Clipped community tags. They should extend to the edge of the screen.
    - Outdated information box message. Updated according suggestion in Figma
      https://www.figma.com/file/h9wo4GipgZURbqqr1vShFN/Communities-for-Mobile?type=design&node-id=7035-462899&t=wED97E4Mtv9v6OXf-0
    - Add correct padding between community tags and the Request to join Community
      button.
    
    * Add decision about team structure & wallet team
    
    * [#16118] bottom nav tab notification color (#16236)
    
    * [#16066] bottom sheet height (#16285)
    
    * Update prettier config for the project. (#16303)
    
    * Update prettier config for the project.
    
    * Add prettier to make lint-fix.
    
    * fix: placeholder icons for join community, identity verification request
    
    * fix: lint
    
    * Make profile photos visible by default (#16095)
    
    * Fix incorrect channel option (#16314)
    
    * e2e: tests fixes
    
    * tests: fix type of shell used for linting
    
    Otherwise Node modules are not installed.
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * nix: upgrade nixpkgs to latest nixos-22.11
    
    Notable upgrades:
    
    * Bash `5.1` to `5.2`
    * Git `2.37.3` to `2.40.1`
    * Curl `7.85.0` to `8.0.1`
    * OpenSSL `3.0.5` to `3.0.8`
    * Go `1.18.6` to `1.18.9`
    * NodeJS `18.9.1` to `18.16.0`
    * Java `1.8.0_322` to `11.0.11`
    * Ruby `3.1.2` to `3.1.4`
    * Python `2.7.18` to `3.10.11`
    * Clojure `1.11.1.1165` to `1.11.1.1273`
    * Clj-kondo `v2022.10.05` to `v2023.04.14`
    * Zprint `1.2.5` to `1.2.6`
    * Bundler `2.3.22` to `2.4.13`
    * Gradle `6.9.2` to `6.9.4`
    * Android Platform Tools `33.0.2` to `33.0.3`
    * Android SDK Tools to Android SDK Command-Line Tools
    
    Removals:
    
    * Zprint since the version in `nixpkgs` was newer than in overlay.
    * Xcode wrapper definition was removed since my fixes were merged:
      - NixOS/nixpkgs#204278
      - NixOS/nixpkgs#228696
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * ci: build generic status-go and all shells
    
    When discussing caching of `status-go` with Sid I noticed that the build
    we cache daily created from our nightly build is different from the
    build we create locally due to a single input.
    
    In a release CI host we can see the IPFS URL is that of Infura:
    ```
     > find /nix/store -maxdepth 1 -name '*-status-go-*android' | tail -n1
    /nix/store/2cc8ilhx5g3k2awbn4sla61n4cml2405-status-go-0.130.1-d2cce5e-android
    
     > RESULT=$(find /nix/store -maxdepth 1 -name '*-status-go-*android' | tail -n1)
    
     > nix show-derivation $RESULT | tr ' ' '\n' | grep IpfsGateway
    github.com/status-im/status-go/params.IpfsGatewayURL=https://status-im.infura-ipfs.io/ipfs/
    ```
    But for a local build the URL is the default, which is our own gateway:
    ```
     > nix-build --no-out-link -A targets.status-go.mobile.android
    /nix/store/1p53m7a6y1kg3vcyd8d06scf3bsyn5rk-status-go-0.157.2-47711c4-android
    
     > RESULT=$(nix-build --no-out-link -A targets.status-go.mobile.android)
    
     > nix show-derivation $RESULT | tr ' ' '\n' | grep IpfsGateway
    github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/
    ```
    This difference causes builds of `status-go` that get uploaded to our
    Nix cache to not match what developers locally would build, which
    results in a cache miss.
    
    This changes the Nix cache CI jobs to instead of building only dependencies
    (`buildInuts`) to simply build the generic versions of `status-go` without
    nightly specific inputs.
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * nix: fix applying nix.conf by using correct env var
    
    According to this line from the docs:
    
    >The system-wide configuration file sysconfdir/nix/nix.conf (i.e. /etc/nix/nix.conf),
    >or $NIX_CONF_DIR/nix.conf if NIX_CONF_DIR is set. Values loaded in this file are not
    >forwarded to the Nix daemon. The client assumes that the daemon has already loaded them.
    
    https://nixos.org/manual/nix/stable/command-ref/conf-file.html#description
    
    Our usage of `NIX_CONF_DIR` has been wrong for a while now.
    The correct way of applying this config is using `NIX_USER_CONF_FILES`.
    
    In addition the `extra-substituters` no longer exists in the docs.
    Use of `trusted-substituters` is necessary according to:
    
    >At least one of the following conditions must be met for Nix to use a substituter:
    >
    >- the substituter is in the trusted-substituters list
    >- the user calling Nix is in the trusted-users list
    
    https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-substituters
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * Upgrade `react-native-camera-kit` library to resolve camera issues in Sign In screen (#16248)
    
    Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
    
    * Update prettier script. (#16324)
    
    * Update prettier script.
    
    * Add target and component-spec to prettierignore.
    
    ---------
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
    Co-authored-by: Alexander <alwxndr@gmail.com>
    Co-authored-by: flexsurfer <flexsurfer@users.noreply.github.com>
    Co-authored-by: Jamie Caprani <jamiecaprani@gmail.com>
    Co-authored-by: Jakub Sokołowski <jakub@status.im>
    Co-authored-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
    Co-authored-by: Icaro Motta <icaro.ldm@gmail.com>
    Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
    Co-authored-by: Ulises Manuel Cárdenas <90291778+ulisesmac@users.noreply.github.com>
    Co-authored-by: Rahul Pratap <rahulpsingh@users.noreply.github.com>
    Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
    Co-authored-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
    codemaster115 added a commit that referenced this pull request Jul 7, 2023
    * fix: remove placeholder icons
    
    * fix: swipe action button style
    
    * lint fix
    
    * fix: swipe action button space
    
    * fix: lint
    
    * Fix for two separate sections with different colors shown on the chat screen (dark mode)  (#16265)
    
    * Fix for two separate sections with different colors shown on the chat screen (dark mode)
    
    * lint-fix
    
    * temporary hide mutual update's messages (#16290)
    
    * chore: fix unit test for slide button (#16302)
    
    * nix: upgrade interpreter from 2.11.1 to 2.14.1
    
    This is a mild upgrade that should not cause any controversy.
    
    You can read about changes here:
    - https://nixos.org/manual/nix/stable/release-notes/rl-2.12.html
    - https://nixos.org/manual/nix/stable/release-notes/rl-2.13.html
    - https://nixos.org/manual/nix/stable/release-notes/rl-2.14.html
    
    Relevant `infra-ci` change:
    - https://github.com/status-im/infra-ci/commit/e4e9796f
    
    The simplest way to upgrade to `2.14` your version locally is using:
    ```sh
    nix-channel --update
    nix-env -iA nixpkgs.nixVersions.nix_2_14 nixpkgs.cacert
    sudo systemctl daemon-reload
    sudo systemctl restart nix-daemon
    ```
    For MacOS the instructions are a bit different:
    https://nixos.org/manual/nix/stable/installation/upgrading.html
    
    Keep in mind you should use `nixpkgs.nixVersions.nix_2_14` instead
    of just `nixpkgs.nix` to avoid getting newer than `2.14`.
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * nix: add upgrade script for Nix interpreter
    
    Now developers can upgrade to current Nix version using just:
    ```sh
    make nix-upgrade
    ```
    For manual instructions see:
    https://nixos.org/manual/nix/stable/installation/upgrading.html
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * fix switcher cards position in ios (#16301)
    
    * Fix community tags and button spacing (#16292)
    
    Linked to #16119, fixes
    these issues:
    
    - Clipped community tags. They should extend to the edge of the screen.
    - Outdated information box message. Updated according suggestion in Figma
      https://www.figma.com/file/h9wo4GipgZURbqqr1vShFN/Communities-for-Mobile?type=design&node-id=7035-462899&t=wED97E4Mtv9v6OXf-0
    - Add correct padding between community tags and the Request to join Community
      button.
    
    * Add decision about team structure & wallet team
    
    * [#16118] bottom nav tab notification color (#16236)
    
    * [#16066] bottom sheet height (#16285)
    
    * Update prettier config for the project. (#16303)
    
    * Update prettier config for the project.
    
    * Add prettier to make lint-fix.
    
    * fix: placeholder icons for join community, identity verification request
    
    * fix: lint
    
    * Make profile photos visible by default (#16095)
    
    * Fix incorrect channel option (#16314)
    
    * e2e: tests fixes
    
    * tests: fix type of shell used for linting
    
    Otherwise Node modules are not installed.
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * nix: upgrade nixpkgs to latest nixos-22.11
    
    Notable upgrades:
    
    * Bash `5.1` to `5.2`
    * Git `2.37.3` to `2.40.1`
    * Curl `7.85.0` to `8.0.1`
    * OpenSSL `3.0.5` to `3.0.8`
    * Go `1.18.6` to `1.18.9`
    * NodeJS `18.9.1` to `18.16.0`
    * Java `1.8.0_322` to `11.0.11`
    * Ruby `3.1.2` to `3.1.4`
    * Python `2.7.18` to `3.10.11`
    * Clojure `1.11.1.1165` to `1.11.1.1273`
    * Clj-kondo `v2022.10.05` to `v2023.04.14`
    * Zprint `1.2.5` to `1.2.6`
    * Bundler `2.3.22` to `2.4.13`
    * Gradle `6.9.2` to `6.9.4`
    * Android Platform Tools `33.0.2` to `33.0.3`
    * Android SDK Tools to Android SDK Command-Line Tools
    
    Removals:
    
    * Zprint since the version in `nixpkgs` was newer than in overlay.
    * Xcode wrapper definition was removed since my fixes were merged:
      - NixOS/nixpkgs#204278
      - NixOS/nixpkgs#228696
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * ci: build generic status-go and all shells
    
    When discussing caching of `status-go` with Sid I noticed that the build
    we cache daily created from our nightly build is different from the
    build we create locally due to a single input.
    
    In a release CI host we can see the IPFS URL is that of Infura:
    ```
     > find /nix/store -maxdepth 1 -name '*-status-go-*android' | tail -n1
    /nix/store/2cc8ilhx5g3k2awbn4sla61n4cml2405-status-go-0.130.1-d2cce5e-android
    
     > RESULT=$(find /nix/store -maxdepth 1 -name '*-status-go-*android' | tail -n1)
    
     > nix show-derivation $RESULT | tr ' ' '\n' | grep IpfsGateway
    github.com/status-im/status-go/params.IpfsGatewayURL=https://status-im.infura-ipfs.io/ipfs/
    ```
    But for a local build the URL is the default, which is our own gateway:
    ```
     > nix-build --no-out-link -A targets.status-go.mobile.android
    /nix/store/1p53m7a6y1kg3vcyd8d06scf3bsyn5rk-status-go-0.157.2-47711c4-android
    
     > RESULT=$(nix-build --no-out-link -A targets.status-go.mobile.android)
    
     > nix show-derivation $RESULT | tr ' ' '\n' | grep IpfsGateway
    github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/
    ```
    This difference causes builds of `status-go` that get uploaded to our
    Nix cache to not match what developers locally would build, which
    results in a cache miss.
    
    This changes the Nix cache CI jobs to instead of building only dependencies
    (`buildInuts`) to simply build the generic versions of `status-go` without
    nightly specific inputs.
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * nix: fix applying nix.conf by using correct env var
    
    According to this line from the docs:
    
    >The system-wide configuration file sysconfdir/nix/nix.conf (i.e. /etc/nix/nix.conf),
    >or $NIX_CONF_DIR/nix.conf if NIX_CONF_DIR is set. Values loaded in this file are not
    >forwarded to the Nix daemon. The client assumes that the daemon has already loaded them.
    
    https://nixos.org/manual/nix/stable/command-ref/conf-file.html#description
    
    Our usage of `NIX_CONF_DIR` has been wrong for a while now.
    The correct way of applying this config is using `NIX_USER_CONF_FILES`.
    
    In addition the `extra-substituters` no longer exists in the docs.
    Use of `trusted-substituters` is necessary according to:
    
    >At least one of the following conditions must be met for Nix to use a substituter:
    >
    >- the substituter is in the trusted-substituters list
    >- the user calling Nix is in the trusted-users list
    
    https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-substituters
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    
    * Upgrade `react-native-camera-kit` library to resolve camera issues in Sign In screen (#16248)
    
    Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
    
    * Update prettier script. (#16324)
    
    * Update prettier script.
    
    * Add target and component-spec to prettierignore.
    
    ---------
    
    Signed-off-by: Jakub Sokołowski <jakub@status.im>
    Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
    Co-authored-by: Alexander <alwxndr@gmail.com>
    Co-authored-by: flexsurfer <flexsurfer@users.noreply.github.com>
    Co-authored-by: Jamie Caprani <jamiecaprani@gmail.com>
    Co-authored-by: Jakub Sokołowski <jakub@status.im>
    Co-authored-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
    Co-authored-by: Icaro Motta <icaro.ldm@gmail.com>
    Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
    Co-authored-by: Ulises Manuel Cárdenas <90291778+ulisesmac@users.noreply.github.com>
    Co-authored-by: Rahul Pratap <rahulpsingh@users.noreply.github.com>
    Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
    Co-authored-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    No open projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    Make profile photos visible by default
    7 participants