feat: allow users to change room avatar#66883
Conversation
|
@allgandalf gentle bump #65210 (comment) |
|
@allgandalf 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] |
|
Please hold the PR for BE validation |
|
Still waiting for BE |
|
Can you merge main? |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #66883 +/- ##
=======================================
Coverage 35.06% 35.06%
=======================================
Files 3317 3317
Lines 108808 108839 +31
Branches 34735 34743 +8
=======================================
+ Hits 38152 38168 +16
- Misses 70472 70487 +15
Partials 184 184
📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
|
This seems to be missing offline-first support. Steps:
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-10-07.at.9.15.05.PM.movAndroid: mWeb ChromeScreen.Recording.2025-10-07.at.9.11.03.PM.moviOS: HybridAppScreen.Recording.2025-10-07.at.9.13.54.PM.moviOS: mWeb SafariScreen.Recording.2025-10-07.at.9.08.55.PM.movMacOS: Chrome / SafariScreen.Recording.2025-10-07.at.9.09.50.PM.movMacOS: DesktopScreen.Recording.2025-10-07.at.9.18.36.PM.mov |
|
Sure @eh2077, I will push the tests shortly. |
|
@eh2077 we are good to go. |
|
@samranahm Please add unit test in https://github.com/Expensify/App/blob/main/tests/unit/ReportUtilsGetIconsTest.ts, you can refer to the tests for group chat. |
|
Sorry @eh2077 for delay, I've added the unit test. |
eh2077
left a comment
There was a problem hiding this comment.
LGTM 🚀
@samranahm Thanks for your patience!
Beamanator
left a comment
There was a problem hiding this comment.
Few questions, overall looking great!!
|
Yes, that’s exactly how it should be. Updating... |
Co-authored-by: Alex Beaman <dabeamanator@gmail.com>
|
There we go, @Beamanator All yours. |
Beamanator
left a comment
There was a problem hiding this comment.
LGTM - thanks y'all!!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.2.29-0 🚀
|
|
@samranahm @Beamanator When we start a thread and open it, only the user avatar is shown (without small Room avatar). Is it expected? bandicam.2025-10-10.18-25-04-394.mp4 |
|
@IuliiaHerets This is expected and same as production behavior. |
|
@samranahm great, thanks for your answer |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.29-5 🚀
|
Explanation of Change
Workspace member was not able to edit the room avatar, this PR introduce
AvatarWithImagePickerinRoomHeaderAvatarsto let user change the room avatar in single avatar case.Fixed Issues
$ #65210
PROPOSAL: #65210 (comment)
Tests
Offline tests
Steps:
QA Steps
Same as Test steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Android.native.mp4
Android: mWeb Chrome
Android.mWeb.chrome.mp4
iOS: Native
IOS.native.mp4
iOS: mWeb Safari
IOS.mWeb.safari.mp4
MacOS: Chrome / Safari
macOS.chrome.mp4
MacOS: Desktop
Desktop.mp4