Fix - Chat - Hidden Attachment is shown when navigating through attachments#59708
Merged
blimpich merged 1 commit intoApr 7, 2025
Conversation
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2025-04-07.at.15.06.52.mp4iOS: NativeCleanShot.2025-04-07.at.15.51.01.mp4MacOS: Chrome / SafariCleanShot.2025-04-07.at.12.42.55.mp4 |
fedirjh
reviewed
Apr 7, 2025
| setIsHidden(isHiddenValue); | ||
| const message = Array.isArray(action.message) ? action.message?.at(-1) : action.message; | ||
| const isAttachment = isReportMessageAttachment(message); | ||
| const isAttachment = CONST.ATTACHMENT_REGEX.test(message?.html ?? '') || isReportMessageAttachment(message); |
Contributor
Author
There was a problem hiding this comment.
For Image markdowns. To create image markdowns: write on the compose and add an attachment (video or image) 👍
fedirjh
approved these changes
Apr 7, 2025
blimpich
approved these changes
Apr 7, 2025
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Contributor
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.1.24-2 🚀
|
Contributor
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
8 tasks
Contributor
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Details
Fixed Issues
$ #58912
PROPOSAL: #58912 (comment)
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
2025-04-06.17-34-18.mp4
Android: mWeb Chrome
2025-04-06.17-35-22.mp4
iOS: Native
iOS: mWeb Safari
2025-04-06.17-36-05.mp4
MacOS: Chrome / Safari
2025-04-06.17-32-30.mp4
MacOS: Desktop
2025-04-06.17-33-26.mp4