-
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
After deleting an attachment, the LHN shows '[Attachment]' instead of 'No activity yet' until you delete one more message #26850
After deleting an attachment, the LHN shows '[Attachment]' instead of 'No activity yet' until you delete one more message #26850
Conversation
@marcochavezf 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] |
156da40
to
00718d8
Compare
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-13.at.18.07.30.movMobile Web - ChromeScreen.Recording.2023-09-13.at.18.31.44.movMobile Web - SafariScreen.Recording.2023-09-13.at.18.16.45.movDesktopScreen.Recording.2023-09-13.at.18.13.35.moviOSScreen.Recording.2023-09-13.at.18.25.55.movAndroidScreen.Recording.2023-09-13.at.18.28.34.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.
@pradeepmdk, there are a couple of changes needed for the author checklist
- Tests section seems to be incorrect
Now go to the userB’s account and delete the attachment.
Notice userA’s LHN displays '[Attachment]' instead of 'No activity yet'.
That's how it works currently, without the fix. Tests should describe how to test if the bug was fixed
- Screenshots/Videos section contains screenshots only for Web and iOS (should be for all of the platforms). Moreover, it shouldn't contain screenshots, but videos of going through steps for both accounts side by side (similar to this video, but with the fix applied)
Other than that, the code looks good and tests well, good job on this one!
@eVoloshchak all updated |
Unassigned @marcochavezf and assigning myself since I reviewed the proposals here. |
@pradeepmdk, bug:
Screen.Recording.2023-09-12.at.20.31.11.mov |
@eVoloshchak looks like this different bug you want fix it here. here fix for this if (translationKey && (text === CONST.ATTACHMENT_MESSAGE_TEXT || text === CONST.TRANSLATION_KEYS.ATTACHMENT)) {
return translationKey === CONST.TRANSLATION_KEYS.ATTACHMENT;
} this issue coming from here in |
I couldn't reproduce this on staging, I think it's introduced by this PR (could you double-check that please?) |
Yes I agree in this Screen.Recording.2023-09-13.at.8.05.20.PM.mov |
@eVoloshchak fixed |
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
🎯 @eVoloshchak, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #27374. |
✋ 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/Li357 in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
Details
Fixed Issues
$ #24246
PROPOSAL: #24246 (comment)
Tests
Offline tests
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
Untitled.mp4
Mobile Web - Chrome
Untitled.mov
Mobile Web - Safari
Untitled.mov
Desktop
Untitled.mov
iOS
Untitled.mov
Android
Untitled.mov