-
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 for delete comment refactor #10764
Conversation
|
Added Cp-staging label since this tackles a deploy blocker. |
…or-fix Fix for delete comment refactor (cherry picked from commit bcffeab)
…-10764 🍒 Cherry pick PR #10764 to staging 🍒
@chiragsalian @luacmartins I think this was intentional from this comment and also I think this breaks one of the features! When we send a message and we are offline, the message should appear strike-thoughed! Then, once it is online again it should vanish. I think we can keep that change but we also need to make the message appear while offline like this: cc @marcaaron |
🚀 Cherry-picked to staging by @luacmartins in version: 1.1.96-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@PauloGasparSv good point. Would you mind investigating that please? |
@luacmartins created #10780 to revert the changes + adding a comment |
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
cc @PauloGasparSv i noticed that report actions were not optimistically updated in your PR here so i updated it in the code here.
Details
Fixed Issues
$ #10753
Tests
return;
at that start here so we can test if optimistic data is set correctly.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
Screenshots
Web
Mobile Web
Desktop
iOS
Android