-
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
[NO QA] explanation for changes in #14728 #14895
[NO QA] explanation for changes in #14728 #14895
Conversation
@stitesExpensify 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] |
src/components/PDFView/index.js
Outdated
@@ -148,6 +148,9 @@ class PDFView extends Component { | |||
width={pageWidth} | |||
key={`page_${index + 1}`} | |||
pageNumber={index + 1} | |||
|
|||
// This needs to be empty because we do not want to display text while a page is loading |
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.
The main reason is not that we do not want to display loading. We finally landed on this but this is just for simple solution and platform consistency.
As stated in issue title, the main reason is to prevent multiple loading texts which show per each page and look ugly.
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 ah right, updated!
Signed-off-by: Prince Mendiratta <[email protected]>
@@ -148,6 +148,9 @@ class PDFView extends Component { | |||
width={pageWidth} | |||
key={`page_${index + 1}`} | |||
pageNumber={index + 1} | |||
|
|||
// This needs to be empty to avoid multiple loading texts which show per page and look ugly |
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.
Looks good to me.
cc: @marcaaron if you have better copy
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 thanks
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
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.
Since this is just comment change, no need QA as long as no lint error
✋ 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/stitesExpensify in version: 1.2.67-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.2.67-7 🚀
|
Signed-off-by: Prince Mendiratta [email protected]
Details
Adds a comment explaining the changes made in #14728 as a comment.
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### 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.Screenshots/Videos
N/A