-
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
Fix Cannot get rid of error message when X button is pressed #11538
Conversation
@Justicea83 .tiff file supports for me 🤣 |
Share a screenshot of your upload of a .tiff file 😂 |
If you look at the screenshot I have shared in the second comment it does list |
This PR is supposed to fix the close button not working, so I'll share a file you can test with on slack since it won't be uploaded here. |
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, thanks.
@techievivek looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
Tests were passing, not emergency merge. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@techievivek not really:
|
Oops, my bad, @flodnv. I forgot I was the sole reviewer of the PR. I have updated the checklist. But I have only tested on macOS Chrome. |
🚀 Deployed to staging by @techievivek in version: 1.2.12-0 🚀
|
@Justicea83 @techievivek Can you pls QA this internally |
🚀 Deployed to production by @AndrewGable in version: 1.2.12-4 🚀
|
…rid-of-error-message Fix Cannot get rid of error message when X button is pressed
@@ -190,7 +190,7 @@ class ReportActionItem extends Component { | |||
<OfflineWithFeedback | |||
onClose={() => { | |||
if (this.props.action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD) { | |||
ReportActions.deleteOptimisticReportAction(this.props.report.reportID, this.props.action.sequenceNumber); | |||
ReportActions.deleteOptimisticReportAction(this.props.report.reportID, this.props.action.clientID); |
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.
@Justicea83 Why did we change this to clientID
? ReportActions.deleteOptimisticReportAction
expects sequenceNumber
Details
Fixed Issues
$#11454
Tests
my name is Vivek
on line 6) in_constant.php
and that broke the web-PDFs).PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
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)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
displayName
propertythis
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)QA Steps
Same as test
Screenshots
Web
2022-10-03_15-23-45.mp4
Mobile Web - Chrome
2022-10-03_15-24-26.mp4
Mobile Web - Safari
2022-10-03_15-25-11.mp4
Desktop
2022-10-03_16-29-02.mp4
iOS
You couldn't select files in iOS 16 simulators. I think it's a known bug which is report here.
https://user-images.githubusercontent.com/26106822/193630357-677aea9b-ead4-4426-80d1-d0f44493e588.mp4
Android
2022-10-03_15-34-36.mp4