-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 new offline chat image on android #43895
Fix new offline chat image on android #43895
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-06-18_14.50.13.mp4Android: mWeb Chromeandroid-chrome-2024-06-18_15.32.03.mp4iOS: Nativeios-app-2024-06-18_15.23.27.mp4iOS: mWeb Safariios-safari-2024-06-18_15.26.04.mp4MacOS: Chrome / Safaridesktop-chrome-2024-06-18_15.02.18.mp4MacOS: Desktopdesktop-app-2024-06-18_15.03.57.mp4 |
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! needsOffscreenAlphaCompositing
was added in #23710 but the header for group chats has since changed so it looks safe to remove.
Is that the expected behavior for pending rooms when you create them while offline? cc @trjExpensify @Expensify/design That doesn't feel right to me. I would think the room itself would appear normal, but perhaps in the LHN it has the 50% opacity pattern applied to it? |
Yeah, I think this behaviour is for quite a while in the app |
I just peeped the offline pattern B design doc from way back, and the room mock appears to be greyed out on creation, so looks like that has been the case for a while. |
Okay interesting... it feels weird to me, but since it already exists, we can just table that discussion for now. |
@flodnv can you have a look at this PR when you have a minute? 🙏 |
✋ 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/flodnv in version: 9.0.2-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
needsOffscreenAlphaCompositing
prop passed toOfflineWithFeedback
insideReportActionItemCreated
caused Android to badly render image.Fixed Issues
$ #42757
PROPOSAL: N/A
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop