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

[8069] feature - [Profile] My profile edit and share screens #8722

Merged
merged 1 commit into from
Aug 19, 2019
Merged

[8069] feature - [Profile] My profile edit and share screens #8722

merged 1 commit into from
Aug 19, 2019

Conversation

bitsikka
Copy link
Contributor

@bitsikka bitsikka commented Aug 8, 2019

Fixes #8069

Review notes

Testing notes

  • Tested in iOS-Simulator and Android-avd

Other notes

  • Slight upgrade to Wallet popover with tap to copy and "Copied" animation feature from this, can be done as a separate PR

status: ready

@bitsikka bitsikka requested a review from a team as a code owner August 8, 2019 10:11
@auto-assign auto-assign bot removed the request for review from a team August 8, 2019 10:11
@status-github-bot
Copy link

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?

@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Aug 8, 2019
@status-im-auto
Copy link
Member

status-im-auto commented Aug 8, 2019

Jenkins Builds

Click to see older builds (120)
Commit #️⃣ Finished (UTC) Duration Platform Result
593800a #1 2019-08-08 10:19:12 ~7 min android 📄 log
593800a #1 2019-08-08 10:21:13 ~9 min android-e2e 📄 log
593800a #1 2019-08-08 10:23:05 ~11 min ios 📄 log
b227adc #2 2019-08-08 11:34:54 ~10 min android 📄 log
b227adc #2 2019-08-08 11:34:59 ~10 min ios 📄 log
✔️ b227adc #2 2019-08-08 11:35:05 ~10 min android-e2e 📦 apk
ee19e4b #3 2019-08-08 11:46:44 ~8 min android 📄 log
ee19e4b #3 2019-08-08 11:48:43 ~10 min ios 📄 log
ee19e4b #3 2019-08-08 11:52:22 ~14 min android-e2e 📄 log
45c72de #4 2019-08-08 12:56:13 ~3 min android-e2e 📄 log
45c72de #4 2019-08-08 13:04:52 ~11 min ios 📄 log
45c72de #4 2019-08-08 13:05:52 ~12 min android 📄 log
✔️ d386069 #5 2019-08-08 14:38:15 ~12 min ios 📦 ipa
✔️ d386069 #5 2019-08-08 14:44:38 ~18 min android 📦 apk
✔️ d386069 #5 2019-08-08 14:44:51 ~18 min android-e2e 📦 apk
✔️ 8cc882d #6 2019-08-08 16:50:36 ~11 min ios 📦 ipa
✔️ 8cc882d #6 2019-08-08 16:52:15 ~12 min android 📦 apk
✔️ 8cc882d #6 2019-08-08 16:53:36 ~14 min android-e2e 📦 apk
✔️ aedd10b #7 2019-08-10 15:33:57 ~11 min ios 📦 ipa
✔️ aedd10b #7 2019-08-10 15:34:25 ~11 min android 📦 apk
✔️ aedd10b #7 2019-08-10 15:35:03 ~12 min android-e2e 📦 apk
✔️ 6e0fc18 #8 2019-08-11 04:43:17 ~11 min ios 📦 ipa
✔️ 6e0fc18 #8 2019-08-11 04:43:35 ~11 min android 📦 apk
✔️ 6e0fc18 #8 2019-08-11 04:43:52 ~11 min android-e2e 📦 apk
✔️ 6a10e49 #9 2019-08-11 05:36:03 ~11 min ios 📦 ipa
✔️ 6a10e49 #9 2019-08-11 05:36:11 ~11 min android-e2e 📦 apk
✔️ 6a10e49 #9 2019-08-11 05:36:13 ~11 min android 📦 apk
185fe3f #10 2019-08-12 03:02:45 ~11 min android-e2e 📄 log
✔️ 185fe3f #10 2019-08-12 03:03:10 ~11 min ios 📦 ipa
185fe3f #10 2019-08-12 03:04:27 ~12 min android 📄 log
1872344 #11 2019-08-12 03:52:53 ~11 min android-e2e 📄 log
✔️ 1872344 #11 2019-08-12 03:53:05 ~11 min ios 📦 ipa
1872344 #11 2019-08-12 03:53:11 ~11 min android 📄 log
✔️ 1105706 #12 2019-08-12 05:43:26 ~11 min ios 📦 ipa
1105706 #12 2019-08-12 05:43:35 ~11 min android-e2e 📄 log
1105706 #12 2019-08-12 05:43:39 ~11 min android 📄 log
1105706 #13 2019-08-12 06:56:44 ~8 min android 📄 log
✔️ a3b523a #13 2019-08-12 07:12:42 ~11 min ios 📦 ipa
a3b523a #13 2019-08-12 07:12:50 ~11 min android-e2e 📄 log
a3b523a #14 2019-08-12 07:24:16 ~22 min android 📄 log
83a35b1 #15 2019-08-12 09:20:30 ~10 min android 📄 log
✔️ 83a35b1 #14 2019-08-12 09:21:31 ~11 min ios 📦 ipa
83a35b1 #14 2019-08-12 09:21:34 ~11 min android-e2e 📄 log
ea34bc5 #15 2019-08-12 11:27:10 ~11 min android-e2e 📄 log
✔️ ea34bc5 #15 2019-08-12 11:27:19 ~11 min ios 📦 ipa
ea34bc5 #16 2019-08-12 11:27:58 ~11 min android 📄 log
0df82eb #16 2019-08-12 11:49:28 ~10 min android-e2e 📄 log
✔️ 0df82eb #16 2019-08-12 11:49:53 ~11 min ios 📦 ipa
0df82eb #17 2019-08-12 11:50:06 ~11 min android 📄 log
✔️ 801337d #17 2019-08-12 13:50:28 ~11 min android-e2e 📦 apk
✔️ 801337d #18 2019-08-12 13:51:32 ~12 min android 📦 apk
✔️ 801337d #17 2019-08-12 13:52:31 ~13 min ios 📦 ipa
f6b163c #19 2019-08-12 14:46:31 ~4 min android-e2e 📄 log
✔️ f6b163c #19 2019-08-12 14:52:53 ~11 min ios 📦 ipa
✔️ f6b163c #20 2019-08-12 14:55:49 ~14 min android 📦 apk
4a2a113 #20 2019-08-13 06:04:51 ~2 min ios 📄 log
4a2a113 #20 2019-08-13 06:09:27 ~7 min android-e2e 📄 log
4a2a113 #21 2019-08-13 06:09:27 ~7 min android 📄 log
ac20e69 #22 2019-08-13 07:29:38 ~11 min android-e2e 📄 log
✔️ ac20e69 #22 2019-08-13 07:29:50 ~11 min ios 📦 ipa
✔️ ac20e69 #23 2019-08-13 07:42:15 ~24 min android 📦 apk
✔️ ac20e69 #23 2019-08-13 07:44:20 ~11 min android-e2e 📦 apk
✔️ 1fb5b4b #23 2019-08-13 08:03:06 ~11 min ios 📦 ipa
✔️ 1fb5b4b #24 2019-08-13 08:03:18 ~11 min android-e2e 📦 apk
✔️ 1fb5b4b #24 2019-08-13 08:03:39 ~11 min android 📦 apk
✔️ ce94c43 #25 2019-08-13 08:54:22 ~10 min ios 📦 ipa
✔️ ce94c43 #26 2019-08-13 08:54:59 ~11 min android 📦 apk
✔️ ce94c43 #26 2019-08-13 08:59:12 ~15 min android-e2e 📦 apk
✔️ 2afedf3 #27 2019-08-13 09:29:39 ~11 min android-e2e 📦 apk
✔️ 2afedf3 #26 2019-08-13 09:29:46 ~11 min ios 📦 ipa
✔️ 2afedf3 #27 2019-08-13 09:34:49 ~16 min android 📦 apk
✔️ e855e10 #28 2019-08-13 09:51:14 ~9 min android-e2e 📦 apk
✔️ e855e10 #27 2019-08-13 09:53:13 ~11 min ios 📦 ipa
✔️ e855e10 #28 2019-08-13 09:53:40 ~11 min android 📦 apk
e855e10 #28 2019-08-13 12:25:33 ~3 min ios 📄 log
e855e10 #29 2019-08-13 12:33:51 ~3 min ios 📄 log
e855e10 #30 2019-08-13 13:36:15 ~3 min ios 📄 log
e855e10 #31 2019-08-13 13:59:17 ~3 min ios 📄 log
e855e10 #32 2019-08-13 14:23:30 ~10 min ios 📄 log
e855e10 #33 2019-08-13 14:50:04 ~10 min ios 📄 log
ad9568a #34 2019-08-13 16:30:03 ~11 min ios 📄 log
✔️ ad9568a #29 2019-08-13 16:39:45 ~20 min android 📦 apk
✔️ ad9568a #29 2019-08-13 16:41:06 ~22 min android-e2e 📦 apk
fa8c46a #35 2019-08-14 18:25:21 ~10 min ios 📄 log
fa8c46a #30 2019-08-14 18:29:36 ~15 min android 📄 log
fa8c46a #30 2019-08-14 18:31:01 ~16 min android-e2e 📄 log
8696cf9 #36 2019-08-15 06:16:53 ~10 min ios 📄 log
8696cf9 #31 2019-08-15 06:17:24 ~11 min android 📄 log
8696cf9 #31 2019-08-15 06:18:33 ~12 min android-e2e 📄 log
✔️ 91a6694 #38 2019-08-15 09:21:29 ~11 min ios 📦 ipa
91a6694 #33 2019-08-15 09:23:51 ~14 min android-e2e 📄 log
✔️ 91a6694 #33 2019-08-15 09:35:26 ~25 min android 📦 apk
6f9330f #35 2019-08-15 09:55:04 ~12 min android-e2e 📄 log
✔️ 6f9330f #40 2019-08-15 09:55:04 ~11 min ios 📦 ipa
✔️ 6f9330f #35 2019-08-15 10:09:48 ~26 min android 📦 apk
✔️ 6f9330f #36 2019-08-15 10:22:59 ~15 min android-e2e 📦 apk
✔️ 878fa48 #37 2019-08-15 10:35:29 ~11 min android-e2e 📦 apk
✔️ 878fa48 #41 2019-08-15 10:35:33 ~11 min ios 📦 ipa
✔️ 878fa48 #36 2019-08-15 10:47:52 ~23 min android 📦 apk
✔️ 6171dbe #42 2019-08-16 02:47:16 ~11 min ios 📦 ipa
✔️ 6171dbe #38 2019-08-16 02:47:45 ~11 min android-e2e 📦 apk
✔️ 6171dbe #37 2019-08-16 02:48:14 ~12 min android 📦 apk
✔️ 5f8585b #43 2019-08-16 08:10:22 ~11 min ios 📦 ipa
✔️ 5f8585b #39 2019-08-16 08:10:46 ~11 min android-e2e 📦 apk
✔️ 5f8585b #38 2019-08-16 08:11:36 ~12 min android 📦 apk
✔️ d6c943c #44 2019-08-16 09:29:34 ~10 min ios 📦 ipa
✔️ d6c943c #39 2019-08-16 09:29:59 ~11 min android 📦 apk
✔️ d6c943c #40 2019-08-16 09:31:13 ~12 min android-e2e 📦 apk
✔️ be83da9 #45 2019-08-16 09:48:32 ~10 min ios 📦 ipa
✔️ be83da9 #40 2019-08-16 09:49:23 ~11 min android 📦 apk
✔️ be83da9 #41 2019-08-16 09:49:26 ~11 min android-e2e 📦 apk
✔️ b7054ce #41 2019-08-16 10:11:26 ~10 min android 📦 apk
✔️ b7054ce #46 2019-08-16 10:12:35 ~12 min ios 📦 ipa
✔️ b7054ce #42 2019-08-16 10:13:21 ~12 min android-e2e 📦 apk
✔️ 4da68c5 #47 2019-08-16 11:02:50 ~11 min ios 📦 ipa
✔️ 4da68c5 #43 2019-08-16 11:03:20 ~11 min android-e2e 📦 apk
✔️ 4da68c5 #42 2019-08-16 11:03:48 ~12 min android 📦 apk
✔️ 282b0ce #48 2019-08-16 12:51:50 ~10 min ios 📦 ipa
✔️ 282b0ce #44 2019-08-16 12:52:34 ~11 min android-e2e 📦 apk
✔️ 282b0ce #43 2019-08-16 12:52:46 ~11 min android 📦 apk
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ db5788d #49 2019-08-16 14:51:21 ~11 min ios 📦 ipa
✔️ db5788d #45 2019-08-16 14:51:26 ~11 min android-e2e 📦 apk
✔️ db5788d #44 2019-08-16 14:52:16 ~11 min android 📦 apk
✔️ 4e96bec #50 2019-08-16 18:01:52 ~11 min ios 📦 ipa
✔️ 4e96bec #45 2019-08-16 18:02:20 ~11 min android 📦 apk
✔️ 4e96bec #46 2019-08-16 18:03:04 ~12 min android-e2e 📦 apk

Copy link
Member

@flexsurfer flexsurfer left a comment

Choose a reason for hiding this comment

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

thanks @bitsikka . it's nice to have cljs-bean usage , @pombeirp could you help with nix ?

src/status_im/ui/components/toolbar/view.cljs Outdated Show resolved Hide resolved
src/status_im/ui/components/toolbar/view.cljs Outdated Show resolved Hide resolved
src/status_im/ui/screens/chat/photos.cljs Outdated Show resolved Hide resolved
src/status_im/ui/screens/profile/components/views.cljs Outdated Show resolved Hide resolved
src/status_im/ui/screens/profile/components/views.cljs Outdated Show resolved Hide resolved
@jakubgs
Copy link
Member

jakubgs commented Aug 8, 2019

I ran make nix-update-lein because of adding this, but did not include the changes it made to:

  • nix/lein/lein-project-deps-maven-inputs.txt
  • nix/lein/lein-project-deps.nix

Why not tho?

@jakubgs
Copy link
Member

jakubgs commented Aug 8, 2019

Tests are failing with weird:

Error encountered performing task 'doo' with profile(s): 'test'

I've seen it on other PRs, no idea what it's about. Maybe @antdanchenko or @churik can help us out.

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

I ran make nix-update-lein because of adding this, but did not include the changes it made to:

  • nix/lein/lein-project-deps-maven-inputs.txt
  • nix/lein/lein-project-deps.nix

Why not tho?

Because I thought it'd only change the bit about cljs-bean, but it looked like it added a lot more stuff (maybe rearranged the order) :(
So I got scared a bit

Anyway.. to see why the builds are failing I commented out cljs-bean.. and the builds are still failing

then.. I rebased to latest develop.. builds are still failing :(

cannot see the logs

Now I'm switching to Android dev build in the hope of identifying build problems.. and I need to test in Android anyway as well

@jakubgs
Copy link
Member

jakubgs commented Aug 8, 2019

Because I thought it'd only change the bit about cljs-bean, but it looked like it added a lot more stuff (maybe rearranged the order)

That's possible that it's not sorted, I'll check that out. Thanks.

@flexsurfer
Copy link
Member

@bitsikka tests are broken in develop, sorry, we'll fix it soon

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

Anyway.. to see why the builds are failing I commented out cljs-bean.. and the builds are still failing

when I used plain old js->clj I forgot :keywordize-keys true :)
hope that makes it pass

then later I'll re-enable cljs-bean

@flexsurfer
Copy link
Member

@bitsikka fixed. please rebase

@jakubgs
Copy link
Member

jakubgs commented Aug 8, 2019

I checked running make nix-update-lein and it did change a bunch of stuff in nix/lein/lein-project-deps.nix, but not the order, just the formatting. I wouldn't worry about it.

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

ok

  • ..rebasing
  • ..re-enabling cljs-bean
  • ..re-running make nix-update lein
  • committing.. squashing all changes
  • then force pushing

in a little bit

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

@bitsikka can't see your push

@flexsurfer

re-generating

  • nix/lein/lein-project-deps-maven-inputs.txt
  • nix/lein/lein-project-deps.nix

is taking a while in my machine

went for a break and came back.. still going (watching tail -f ...)

Should I just push without the re-generated files for now?

I still have to do the reviewed items - which will be next

btw thanks always for a prompt review 👍

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

regeneration done!

just pushed 🤞

I have not tested at all after rebase and stuff.. testing iOS only first [still problems with android build]

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

anyway.. I'll be testing and trying to wrap remaining known tasks today

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

🎉 builds passed!!! 😃

  • on to fixing reviewed items
  • on to testing on Android

✔️ d386069 #5 2019-08-08 14:38:15 ~12 min ios 📦 ipa
✔️ d386069 #5 2019-08-08 14:44:38 ~18 min android 📦 apk
✔️ d386069 #5 2019-08-08 14:44:51 ~18 min android-e2e 📦 apk

@flexsurfer flexsurfer moved this from REVIEW to E2E Tests in Pipeline for QA Aug 8, 2019
@statustestbot
Copy link

73% of end-end tests have passed

Total executed tests: 44
Failed tests: 12
Passed tests: 32

Failed tests (12)

Click to expand
1. test_public_chat_messaging

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'DefaultUserNameText' is not found on the screen

Device sessions

2. test_text_message_1_1_chat

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'DefaultUserNameText' is not found on the screen

Device sessions

3. test_add_to_contacts

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'DefaultUserNameText' is not found on the screen

Device sessions

4. test_unread_messages_counter_1_1_chat

Device 2: Wait for ShareMyProfileButton
Device 2: Wait for ShareMyProfileButton

Device 2: 'DefaultUserNameText' is not found on the screen

Device sessions

5. test_send_message_in_group_chat

Device 2: Wait for ShareMyProfileButton
Device 2: Wait for ShareMyProfileButton

Device 2: 'ShareMyProfileButton' is not found on the screen

Device sessions

6. test_offline_messaging_1_1_chat

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'ShareMyProfileButton' is not found on the screen

Device sessions

7. test_messaging_in_different_networks

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'DefaultUserNameText' is not found on the screen

Device sessions

8. test_switch_users_and_add_new_account

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'ShareMyProfileButton' is not found on the screen

Device sessions

9. test_login_with_new_account

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'DefaultUserNameText' is not found on the screen

Device sessions

10. test_offline_status

Device 1: Tap on PlusButton
Device 1: Wait for StartNewChatButton

Device 1: 'StartNewChatButton' is not found on the screen

Device sessions

11. test_user_can_remove_profile_picture

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'EditButton' is not found on the screen

Device sessions

12. test_share_contact_code_and_wallet_address

Device 1: Wait for ShareMyProfileButton
Device 1: Wait for ShareMyProfileButton

Device 1: 'ShareMyProfileButton' is not found on the screen

Device sessions

Passed tests (32)

Click to expand
1. test_block_user_from_public_chat
Device sessions

2. test_filters_from_daap
Device sessions

3. test_copy_and_paste_messages
Device sessions

4. test_send_transaction_from_daap
Device sessions

5. test_deploy_contract_from_daap
Device sessions

6. test_open_transaction_on_etherscan
Device sessions

7. test_long_press_to_delete_1_1_chat
Device sessions

8. test_password_in_logcat_sign_in
Device sessions

9. test_sign_typed_message
Device sessions

10. test_logcat_send_transaction_from_daap
Device sessions

11. test_logcat_send_transaction_from_wallet
Device sessions

12. test_send_token_with_7_decimals
Device sessions

13. test_modify_transaction_fee_values
Device sessions

14. test_send_eth_from_wallet_to_address
Device sessions

15. test_manage_assets
Device sessions

16. test_long_press_to_delete_public_chat
Device sessions

17. test_send_emoji
Device sessions

18. test_search_chat_on_home
Device sessions

19. test_logcat_recovering_account
Device sessions

20. test_can_add_existing_ens
Device sessions

21. test_logcat_sign_message_from_daap
Device sessions

22. test_send_stt_from_wallet
Device sessions

23. test_start_chat_with_ens
Device sessions

24. test_add_contact_from_public_chat
Device sessions

25. test_send_two_transactions_one_after_another_in_dapp
Device sessions

26. test_password_in_logcat_creating_account
Device sessions

27. test_backup_recovery_phrase
Device sessions

28. test_open_google_com_via_open_dapp
Device sessions

29. test_unread_messages_counter_public_chat
Device sessions

30. test_sign_message_from_daap
Device sessions

31. test_refresh_button_browsing_app_webview
Device sessions

32. test_backup_recovery_phrase_warning_from_wallet
Device sessions

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

Fixed reviewed items

Will test Android tomorrow

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 8, 2019

Total executed tests: 44
Failed tests: 12
Passed tests: 32

Failing tests totally expected because there is no longer ShareMyProfileButton list item in the scroll view

It moved to toolbar action button area

@bitsikka
Copy link
Contributor Author

I doubt this works but here is one with :width specified for shadow component rather than :right 0 :left 0 for full-width

✔️ b7054ce #41 2019-08-16 10:11:26 ~10 min android 📦 apk
✔️ b7054ce #46 2019-08-16 10:12:35 ~12 min ios 📦 ipa
✔️ b7054ce #42 2019-08-16 10:13:21 ~12 min android-e2e 📦 apk

@churik
Copy link
Member

churik commented Aug 16, 2019

@churik can you please confirm that it is the same in Android? (the latest builds?)

It works fine for me on Android on build be83da9
screencast 2019-08-16 12-20-28

@churik
Copy link
Member

churik commented Aug 16, 2019

I doubt this works but here is one with :width specified for shadow component rather than :right 0 :left 0 for full-width

✔️ b7054ce #41 2019-08-16 10:11:26 ~10 min android 📦 apk
✔️ b7054ce #46 2019-08-16 10:12:35 ~12 min ios 📦 ipa
✔️ b7054ce #42 2019-08-16 10:13:21 ~12 min android-e2e 📦 apk

On IOS still the same :(

@bitsikka
Copy link
Contributor Author

ok then as a work around until it is possible to test jenkins build with XCode version 10.3, for iOS instead of animating shadow component by changing shadow-radius value, I will revert back to keeping shadow-radius constant and animating opacity instead; which should work

@bitsikka
Copy link
Contributor Author

@churik

this one with animating opacity instead of shadow-radius for iOS
please also check Android just in case

✔️ 4da68c5 #47 2019-08-16 11:02:50 ~11 min ios 📦 ipa
✔️ 4da68c5 #43 2019-08-16 11:03:20 ~11 min android-e2e 📦 apk
✔️ 4da68c5 #42 2019-08-16 11:03:48 ~12 min android 📦 apk

@errorists
Copy link
Contributor

this one works fine!

@bitsikka
Copy link
Contributor Author

now that I think of it

based on @errorists comment a number of comments above that said

for what it's worth, to me looks like the first interpolation step is using the wrong value so a 2px horizontal offset for the shadow instead of 0

I think following would have worked as well

keep animating shadow-radius but also height of shadow-offset so that height is 0 when shadow is not required(as in when not scrolled)

lesson learned

  • there maybe difference in Simulator/Real device in iOS
  • there maybe difference in building via different XCode versions

@bitsikka
Copy link
Contributor Author

truly thank you all for the patience 😅 and baring with me on this

@churik
Copy link
Member

churik commented Aug 16, 2019

Checked briefly on:

  • IOS 11.4.1 (IPhone 7)
  • Android 8 (LG V20)
    and IOS issue is gone:)

@bitsikka please hold on with merging, seems there is an issue with profile icons on Android 6. Rechecking on real devices.

@churik
Copy link
Member

churik commented Aug 16, 2019

@errorists for IPhones older than X, additional shadow is displayed on scrolling. Can we live with it?
App Live Dashboard 2019-08-16 13-53-33

@bitsikka
Copy link
Contributor Author

bitsikka commented Aug 16, 2019

@errorists for IPhones older than X, additional shadow is displayed on scrolling. Can we live with it?

@churik that can probably be fixable.. so I just pushed a fix

@bitsikka please hold on with merging, seems there is an issue with profile icons on Android 6. Rechecking on real devices

please take you time.. this PR has quite many changes, and so the chance of something going wrong is there

  • one problem I have noticed is, maybe due to change in icon resolution, if you open 1-1 chat for the first time with someone, the chat header which shows the profile icon of the user flickers as you type a message in text input box. But I think that is better to be fixed in separate PR and it is possibly more of a problem in 1-1 chat view than the changes made in this PR

@bitsikka
Copy link
Contributor Author

@churik this latest build should have fixed this problem

for IPhones older than X, additional shadow is displayed on scrolling.

✔️ 282b0ce #48 2019-08-16 12:51:50 ~10 min ios 📦 ipa
✔️ 282b0ce #44 2019-08-16 12:52:34 ~11 min android-e2e 📦 apk
✔️ 282b0ce #43 2019-08-16 12:52:46 ~11 min android 📦 apk

@churik
Copy link
Member

churik commented Aug 16, 2019

@bitsikka IOS issues are fixed 👍
However, found one more critical issue on Android 6, 7, 7.1
Tried on Galaxy S7 \ Nexus phones.

It is only in this PR(checked develop)
No icons are shown for all profiles
download

new_profile.apk_2019_8_16_13_4_34.log

@bitsikka
Copy link
Contributor Author

@bitsikka IOS issues are fixed 👍
However, found one more critical issue on Android 6, 7, 7.1
Tried on Galaxy S7 \ Nexus phones.

It is only in this PR(checked develop)
No icons are shown for all profiles

@churik I have made a change which I think should fix it

but,

I do not have those phones so I tried "Nexus 6 Android 6" AVD, I tried couple of others too

the app wouldn't even start in them :(

please test in real devices and let me know how it goes

✔️ db5788d #49 2019-08-16 14:51:21 ~11 min ios 📦 ipa
✔️ db5788d #45 2019-08-16 14:51:26 ~11 min android-e2e 📦 apk
✔️ db5788d #44 2019-08-16 14:52:16 ~11 min android 📦 apk

@churik
Copy link
Member

churik commented Aug 16, 2019

@bitsikka checked.
Sorry to say but it didn't help.

@bitsikka
Copy link
Contributor Author

@bitsikka checked.
Sorry to say but it didn't help.

Could you tell me if it is only on that screen or other screens inside too?

@churik
Copy link
Member

churik commented Aug 16, 2019

@bitsikka ofc!
it is everywhere:
dfsdfsf
sffsdfdsf
App Live Dashboard 2019-08-16 17-19-30

@bitsikka
Copy link
Contributor Author

@bitsikka ofc!
it is everywhere:

Now I see why resolution was kept low 😅

react-native doc for image view says here https://facebook.github.io/react-native/docs/images#uri-data-images

Uri Data Images
Sometimes, you might be getting encoded image data from a REST API call. You can use the 'data:' uri scheme to use these images. Same as for network resources, you will need to manually specify the dimensions of your image.

This is recommended for very small and dynamic images only, like icons in a list from a DB.

what is the course of action here? @errorists @flexsurfer @rachelhamlin

size is 256 at the moment, should we change it back to 40 and live with blurry in bigger sizes?

@errorists
Copy link
Contributor

So first of all a huge thanks for getting all of this done man! As for the blurry identicons, I’m ok with moving that to a separate PR starting now, because it is a problem. It’s a small dumb image made of two colors, not an Instagram photo feed... we’re keeping it sharp at 256, if some devices can’t keep up, can’t we provide a fallback or conditional? Also, you can try 128 because even @2x will be a significant improvement over this blurry mess.

@bitsikka
Copy link
Contributor Author

So first of all a huge thanks for getting all of this done man!

you're most welcome! :)

As for the blurry identicons, I’m ok with moving that to a separate PR starting now, because it is a problem. It’s a small dumb image made of two colors, not an Instagram photo feed... we’re keeping it sharp at 256, if some devices can’t keep up, can’t we provide a fallback or conditional? Also, you can try 128 because even @2x will be a significant improvement over this blurry mess.

I hear you, I agree. This has got to be addressed (but in a separate PR). It is only few old Android phones as far as I can tell (at least, now we know; hope the list of problematic Androids are documented somewhere @churik :). Surely we can isolate those and handle them separately.

As for now, I realized that, before this PR, the Photo for profile from-gallery/captured-from-camera was 150, identicon was 40. So, I made all 150. Theoretically, it should work. Hope it does.

@bitsikka
Copy link
Contributor Author

And here they are - identicon/photo size 150

✔️ 4e96bec #50 2019-08-16 18:01:52 ~11 min ios 📦 ipa
✔️ 4e96bec #45 2019-08-16 18:02:20 ~11 min android 📦 apk
✔️ 4e96bec #46 2019-08-16 18:03:04 ~12 min android-e2e 📦 apk

@churik
Copy link
Member

churik commented Aug 19, 2019

@bitsikka
all issues are fixed.
Thank you again for all your work and patience.

@churik churik moved this from IN TESTING to MERGE in Pipeline for QA Aug 19, 2019
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
@flexsurfer flexsurfer merged commit 39e095e into status-im:develop Aug 19, 2019
Pipeline for QA automation moved this from MERGE to DONE Aug 19, 2019
@bitsikka bitsikka deleted the fix/#8069 branch August 19, 2019 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Profile] My profile edit and share screens
9 participants