-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix - Display @Hidden mentions in LHN #59551
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 - Display @Hidden mentions in LHN #59551
Conversation
@eh2077 I am still seeing inconsistency between the LHN and last action after I press 2025-04-02.19-38-41.mp4 |
@FitseTLT I can't reproduce the issue any more. I tried both new account and old account but they don't show hidden user mentions. Are you still able to reproduce the issue? Screen.Recording.2025-04-03.at.10.22.06.PM.mov |
U have to clear cache or re-sign in 👍 |
I tried both ways but not working |
😕 2025-04-03.17-35-24.mp4 |
@FitseTLT Thanks! I tried typing random email mentions and they don't work. But email with Back to the issue, I think we shouldn't show whisper message on LHN right? If so, then I'd suggest formatting the html msg from the last visible action, like lastMessageTextFromReport = Parser.htmlToText(getReportActionHtml(lastReportAction)); |
With this approach the whisper message will not be on LHN but the report lastMessageText is the whisper message if it is the last action so it will be considered as a regression. |
@FitseTLT I think we shouldn't display whisper message in LHN, so it won't be a problem? |
@eh2077 But the problem is, before clearing cache when the unexisting mention was displayed in the report screen the LHN shows the whisper so only after clearing cache does our code hide it. Don't u think this is unexpected behavior? 2025-04-07.15-04-36.mp4 |
@FitseTLT I think we shouldn't show whisper message in LHN, so that should be a bug. If you're not sure, then we can ask the team to confirm this. |
@FitseTLT Sorry, I'm confused. My point is that the whisper message shouldn't be shown in LHN. It doesn't matter whether clearing the cache or not. As long as the whisper message is shown in LHN, then it should be a bug. Do you agree? |
@FitseTLT Friendly bump |
From my debugging this problem is not related with allPersonalDetails but after clearing cache the proper last report action isn't loaded until you open the report.
I'm not sure about this. BTW whisper action is not included as |
Ok, I agree with you. After clearing cache and the report is not opened yet, the value of |
@FitseTLT Friendly bump |
1 similar comment
@FitseTLT Friendly bump |
Sorry @eh2077 for the slow response I was OOO. I am not following you here if we should handle it separately what are you suggesting as the next steps on this pr? |
@FitseTLT Yes, let's make sure this #57345 (comment) issue gets fixed. I think the issue about whisper message should be handled separately. |
OK U can proceed @eh2077 |
@FitseTLT There're conflicts need to be resolved |
resolved |
Reviewer Checklist
Screenshots/Videos |
I'd like to skip this item of the checklist in this PR because there's an ongoing PR #60531 to handle all exiting alerts. |
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
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. By the way, I think the whisper message is suppose to be in the LHN, or at least I don't see why it wouldn't be? Just my two cents.
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
It seems like this is causing the failing test
|
Checking |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Update: Handled flaky test here. All good now 👍 |
🚀 Deployed to staging by https://github.com/blimpich in version: 9.1.39-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.1.39-8 🚀
|
Details
Fixed Issues
$ #57345
PROPOSAL: #57345 (comment)
Tests
@[email protected]
@Hidden
while the previous mention in (2) has now changed to@Hidden
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop