-
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 chat message stays highlighted when closing a report delete modal #20185
Fix chat message stays highlighted when closing a report delete modal #20185
Conversation
@flodnv @Santhosh-Sellavel 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] |
Reviewer Checklist
Screenshots/VideosOFFLINEWeb & DesktopScreen.Recording.2023-06-07.at.12.10.24.AM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-06-07.at.12.14.29.AM.moviOS & AndroidScreen.Recording.2023-06-07.at.12.07.44.AM.movONLINEWeb & DesktopScreen.Recording.2023-06-07.at.12.23.11.AM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-06-07.at.12.18.09.AM.moviOS & AndroidScreen.Recording.2023-06-07.at.12.16.31.AM.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.
LGTM, tests well! All yours @flodnv
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.
Thanks!
🚀 Deployed to staging by https://github.com/flodnv in version: 1.3.25-1 🚀
|
@mountiny This PR is deployed only on staging only but Payment date is updated now on the issue |
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.25-8 🚀
|
Details
When a report delete modal closed, we don't reset it's report id and action. This makes the message stays highlighted when we switch and come back to the chat.
Fixed Issues
$ #18165
PROPOSAL: #18165 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
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
Web
Cancel
Screen.Recording.2023-06-06.at.00.16.46.mov
Delete while offline
Screen.Recording.2023-06-06.at.00.19.15.mov
Mobile Web - Chrome
Cancel
Screen.Recording.2023-06-06.at.00.26.02.mov
Deleted while offline
Screen.Recording.2023-06-06.at.00.28.39.mov
Mobile Web - Safari
Cancel
Screen.Recording.2023-06-06.at.00.49.55.mov
Deleted while offline
Screen.Recording.2023-06-06.at.00.28.13.mov
Desktop
Cancel
Screen.Recording.2023-06-06.at.00.17.49.mov
Delete while offline
Screen.Recording.2023-06-06.at.00.18.24.mov
iOS
Cancel
Screen.Recording.2023-06-06.at.00.26.59.mov
Deleted while offline
Screen.Recording.2023-06-06.at.00.27.37.mov
Android
Cancel
Screen.Recording.2023-06-06.at.00.48.34.mov
Delete while offline
Screen.Recording.2023-06-06.at.00.49.10.mov