-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Update Avatar Patterns for LHN #20512
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
Conversation
…ce subscript avatar for non DM threads
This comment was marked as outdated.
This comment was marked as outdated.
|
@0xmiroslav @srikarparsi One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
chiragsalian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haven't tested. main concern was just with a variable name but the rest looks good to me.
|
Fixed merge conflicts, @0xmiroslav let's try to get this merged today? |
|
@0xmiroslav bump on final review if possible |
|
on it now |
|
DM Screen.Recording.2023-07-07.at.5.03.15.PM.movMy workspace (no avatar) Screen.Recording.2023-07-07.at.5.05.09.PM.movOther workspace (no avatar) Screen.Recording.2023-07-07.at.5.08.03.PM.mov |
0xmiroslav
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done full test
|
@PauloGasparSv Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Sorry, I'm still focusing and won't review this |
|
Also confirmed that this bug is fixed and was able to test all subscript avatars, either default avatar or user custom avatar. |
|
As a follow-up, we can deprecate all these old icons:
|
chiragsalian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
0xmiroslav
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I thought I submitted this already.
| result.source = defaultIcon || Expensicons.FallbackAvatar; | ||
| result.name = defaultName || ''; | ||
| result.id = defaultAccountID; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was accidentally reverted while fixing conflict.
|
🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.3.39-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.39-11 🚀
|
Details
Remove the text pill, and update all avatar patterns to match:
Fixed Issues
$ #19264
$ https://github.com/Expensify/Expensify/issues/290271
#20486
Tests
For each of the following chat types:
Definitions for this QA
Subscript Avatar (2): Avatar Style with one large avatar, and one small avatar in the bottom right corner. (1) is the large main avatar and (2) is the bottom right.


Multiple Avatar (2): Avatar style with two avatars overlayed diagonally. (1) is the top left and (2) is the bottom right.


Single Avatar: Avatar style with single avatar


Workspace Chat - Create a workspace -> add a member
Expense Report
IOU Report - Create a $$ request in a DM
Expense Request - Create a $$ request in a workspace chat, open the created request
Thread (DM) - Create a thread in a DM
Thread (Workspace) - Create a thread in a Workspace
Group Chat - Create a group chat
Rooms - create a workspace, note all room types. Create a custom room.
Task (DM)
Task (Workspace)
TO TEST COPILOT: follow these steps from #21246:
Offline tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android