-
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
[Due for payment 2025-03-05] [$250] Room - Room mention turns into a random number after leaving a private room #55676
Comments
Triggered auto assignment to @abekkala ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-01-23 23:06:35 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The room mention changes to show a random number What is the root cause of that problem?When leaving room, we set the App/src/libs/actions/Report.ts Lines 3106 to 3107 in d930fea
so we display the App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx Line 37 in d930fea
What changes do you think we should make in order to solve the problem?We shouldn't set the App/src/libs/actions/Report.ts Line 3107 in d930fea
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We should mock the room data and then simulate the leaving room action. Then verify whether its name still exists. What alternative solutions did you explore? (Optional)In: App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx Line 37 in d930fea
pass the const mentionReportContextValue = useMemo(() => ({currentReportID: report?.reportID ?? '-1', reportAction: action}), [report?.reportID, action]); In: App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx Line 59 in d930fea
we get the In: App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx Line 70 in d930fea
pass the In: App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx Line 29 in d930fea
update the function so that it can receive 5th param. Finally, update: App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx Line 37 in d930fea
mentionDisplayText = removeLeadingLTRAndHash(report?.reportName ?? getReportActionMessageText(reportAction) ?? htmlAttributeReportID); |
@abekkala Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@abekkala Eep! 4 days overdue now. Issues have feelings too... |
@abekkala 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Job added to Upwork: https://www.upwork.com/jobs/~021885423124058262616 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura ( |
Reviewing soon 👀 |
Thanks @daledah, unfortunately, your solution works optimistically until the first chat reload: Screen.Recording.2025-02-03.at.22.13.18.mov |
@daledah are you working on an updated solution? |
When reloading the app, it calls Solution: It is a BE issue, so we need to make sure the |
@abekkala @paultsimura this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Thanks @daledah. Let's bring an Engineer in and see where we stand after the BE is fixed. If the issue remains, we'll proceed with your FE proposal. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@paultsimura @aldo-expensify This issue requires fixes on both the FE and BE sides:
|
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I can take care of the backend changes, I just need some time to understand what these changes imply and how to do them. I may have time close to the end of the week to work on this. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
This needs a fix in both backend layers:
I'll have to finish it on Tuesday |
@abekkala, @paultsimura, @aldo-expensify Eep! 4 days overdue now. Issues have feelings too... |
Still working on the backend |
From testing with the UI, these App changes seem to work well for me:
(Inspired from the proposed solution by @daledah here: #55676 (comment)) |
I'll make the backend PRs ready for review asap (today) |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @daledah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Hiring @daledah for the frontend changes |
Made backend PR's ready for review |
@paultsimura FE PR is ready. Waiting for BE change to test |
The backend PRs were merged but are waiting for deploy, they will be deployed on monday. |
all the backend changes were deployed |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.6-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@paultsimura @abekkala @paultsimura The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.89-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): nathanmulugetatesting+2850@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The room mention stays displaying the room name
Actual Result:
The room mention changes to show a random number
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6722182_1737667139938.XRecorder_24012025_001119.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @abekkalaThe text was updated successfully, but these errors were encountered: