-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[NO QA] Fix leftover review comments on App/pull/15897 #15904
Conversation
|
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.
Looking good, I hope you tested with the update too 😂
@mountiny Kinda just copied/pasted the entire thing from the other PR 😅 Still testing right now which is why it's still on draft |
of course, just wanted to confirm, thank you very much for doing it so quick 🙇 |
@mountiny finished testing! updated screen recordings |
@aimane-chnaif @AndrewGable 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] |
Does this require C+ testing for #15897? |
@aimane-chnaif Do you mind helping with the reviewer checklist? |
Sure |
While reviewing #15897, I noticed that App/src/pages/home/report/ReportActionsView.js Lines 96 to 98 in c5484cf
So after #15897, Screen.Recording.2023-03-13.at.9.41.12.PM.movApp/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js Lines 51 to 54 in c5484cf
So I don't think this code is needed. Or am I missing any case? |
@jasperhuangg I am not able to reproduce this. Do you have any reproducible step? - shouldShow={!this.props.report.reportID}
+ shouldShow={!this.props.report.reportID && !this.props.report.isLoadingReportActions} |
@aimane-chnaif this is just a temporary fix to get public rooms working for a conference happening right now. The OpenReport call is only needed when you deeplink to a public room that you aren't a member of from within the App. |
It will still show briefly, but prevents it from showing for a long time. Please ignore this |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.mp4Desktopdesktop.moviOSios.mp4Androidandroid.mov |
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.
@aimane-chnaif this is just a temporary fix to get public rooms working for a conference happening right now.
The OpenReport call is only needed when you deeplink to a public room that you aren't a member of from within the App.
@jasperhuangg I am not able to reproduce this. Do you have any reproducible step?
It will still show briefly, but prevents it from showing for a long time. Please ignore this
@jasperhuangg thanks for the details.
I reproduced both issues with https://staging.new.expensify.com/r/3504895439653267 (ExpensiConX #announce room).
This happens only when open deep link which goes to public room user hasn't joined yet.
I verified these fixes on all platforms.
In the future, we should optimize this not to double call openReport
unnecessarily for already joined rooms.
Known that this is temporary and emergency fix for ECX, approving...
🎯 @aimane-chnaif, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #15939. |
[NO QA] Fix leftover review comments on App/pull/15897 (cherry picked from commit 2546f04)
…-15904 🍒 Cherry pick PR #15904 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 1.2.84-1 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.2.84-1 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
Fixes leftovers review comments on #15897
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/268110
Tests
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Web
web.mov
Mobile Web - Chrome
mweb-chrome.mov
Mobile Web - Safari
mweb-safari.mov
Desktop
desktop.mov
iOS
ios.mp4
Android
android.mov