-
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
[CP Staging] Move View wrapper to AttachmentViewPdf #31130
Conversation
@Santhosh-Sellavel 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] |
I can help to review this. |
Aah that would be great @mollfpr - the more eyes the better 🙏 |
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: Native31130.iOS.-.Password.protected.mp431130.iOS.-.Concierge.avatar.mp431130.iOS.-.Attaching.video.mp4iOS: mWeb Safari31130.mWeb-Safari.-.Concierge.avatar.mp431130.mWeb-Safari.-.Attaching.docx.mp4MacOS: Chrome / Safari31130.Web.-.Concierge.avatar.mp431130.Web.-.Attaching.video.mp431130.Web.-.Password.protected.mp4MacOS: Desktop31130.Desktop.-.Concierge.avatar.mp431130.Desktop.-.Attaching.video.mp431130.Desktop.-.Password.protected.mp4 |
@Beamanator The changes look good, and I did the test on some of the platforms, but it's already late for me. 🙏 |
Thanks for the videos, @mollfpr. I will add the missing video for the other platforms you missed & complete the checklist. I'm already on it. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-11-09.at.10.42.21.PM.movAndroid: mWeb ChromeScreen.Recording.2023-11-09.at.10.40.42.PM.moviOS: NativeiOS: mWeb SafariScreen.Recording.2023-11-09.at.10.47.04.PM.movMacOS: Chrome / Safari & MacOS: DesktopScreen.Recording.2023-11-09.at.10.34.29.PM.mov |
Amazing, thanks for the great work both of you! @Santhosh-Sellavel it looks like there's 1 checkbox left, are you close to completing that one? |
Stuck with pod install on iOS alone |
It's been more than 30 minutes on it. Didn't test on iOS native alone, other wise all good here! |
Aah ouch, I need to get my iOS simulator working with Sonoma some day soon 🙃 Thanks @Santhosh-Sellavel 🙏 |
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. |
[CP Staging] Move View wrapper to AttachmentViewPdf (cherry picked from commit 9e02e96)
I believe this successfully made it to staging - https://github.com/Expensify/App/actions/runs/6815566820 |
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.97-7 🚀
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 1.3.99-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.99-0 🚀
|
Details
Reverting what was done in #30995, using @mollfpr 's suggestion here
Let's make sure this solves all cases before we move forward!
Fixed Issues
$ #31103
$ #31080
$ #30977
Tests
Password-protected PDFs:
Concierge Avatar:
Attaching video files / docx files:
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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