-
Notifications
You must be signed in to change notification settings - Fork 984
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
fix hole view usage for create profile picture #16001
Conversation
Jenkins BuildsClick to see older builds (33)
|
9a82b22
to
29451ff
Compare
29451ff
to
75e452a
Compare
70% of end-end tests have passed
Failed tests (10)Click to expandClass TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Passed tests (23)Click to expandClass TestActivityCenterContactRequestMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
|
@Parveshdhull Thanx for the PR! Please, take a look at the following issues. ISSUE 1 Accent color is not applied for empty (default) profile icon (Android)Reproduced on Samsung Galaxy A52, Andrdoid 12 Steps:
Actual result: Accent color is not applied for empty (default) profile icon telegram-cloud-document-2-5442686835002192664.mp4 |
ISSUE 2 Symbols inside default icon are not updated while typing name and dispositioned (Android)Reproduced on Samsung Galaxy A52, Andrdoid 12 Steps:
Actual result: symbols inside default icon are not updated while typing name and get dispositioned. Sometimes only 1 symbol is updated regardless multiword name value is entered. telegram-cloud-document-2-5442686835002192668.mp4 |
ISSUE 3 Wrong hole color?Not sure about this one. @Parveshdhull could you please re-check and confirm that colors are the same as on design. Looks like hole color is lighter than currently implemented. Actual result: IOS: Android: Expected result: |
ISSUE 4 Profile icons with set pictures disappear on login/profile list screens after app being in background for a while (IOS)Reproduced on iPhone X, IOS 14.1 @Parveshdhull actually I am not sure if this is PR related. I also faced it while testing release build. Logging here because you asked to check this fix #15553 Preconditions: user has set profile picture. Steps: (these steps are not 100% reliable)
Actual result: sometimes profile icons with set pictures disappear on login/profile list screens telegram-cloud-document-2-5442686835002192700.mp4 |
a40190c
to
f29de84
Compare
hi @pavloburykh, Thank you very much for testing the PR and for your patience. For issue 3, I checked the camera icon color (white - 5% opacity) and the background color (primary - 50 - 40% opacity) are the same as Figma.
Is Issue 4 still reproducible? If yes, probably something related to image server, Please feel free to log it. |
Hi @Parveshdhull ! thanx for your work and fixes. Please, take a look at a few new issues. ISSUE 5 Profile picture is not shown after being set until some action that triggers prophile icon reload (typing text/changing accent color) [ANDROID only]Reproducible on Android 12, Samsung Galaxy A52 Steps:
Actual result: Profile picture is not shown after being set until some action that triggers prophile icon reload (typing text/changing accent color) telegram-cloud-document-2-5193199756804892190.mp4Expected result: profile picture is shown |
ISSUE 6 Loading spinner appears in profile icon during typing/cnhaging accent color [IOS]This is a minor one. If you consider to fix it as followup let me know and I will log a separate issue. Reproducible in IOS 14.1, iPhone X Steps:
Actual result: loading spinner appears in profile icon during typing/cnhaging accent color telegram-cloud-document-2-5193199756804892193.mp4Expected result: if it is possible - we would better not show that spinner. BTW is there any reason why we are updating profile icon so frequently during typing (after each letter is typed)? |
Sure, I will try to catch it and log separately if it is still there. Thank you! |
hi @pavloburykh, Issue 5 & 6, should be fixed now.
Good question.
Now, we are using simple image view, instead of fast-image. So it should be fixed. |
138ef54
to
6166681
Compare
Also added check to make sure, only re-render every-time while typing when no image is present, otherwise only re-render when image is updated. |
@Parveshdhull Thanx for the fixes and explanation! I have 1 more minor behaviour which I am not sure to be expected or not. If it is expected - PR is ready to be merged. ISSUE 7 Abbreviation of "Your name" placeholder is not displayed in Profile icon if some text has been already entered and then clearedSteps:
Actual result: abbreviation is not displayed telegram-cloud-document-2-5192813995727269006.mp4Expected result: abbreviation should be displayed |
Lets fix this one too |
7828e31
to
37dc843
Compare
@Parveshdhull thanx for your work and patience! PR is ready to be merged. |
37dc843
to
208c890
Compare
leftover from #15561 (comment)
Testing
status: ready