-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2024-11-26] [$250] Search - Unread message isnot shown in bold in search preview #51410
Comments
Triggered auto assignment to @muttmuure ( |
@muttmuure FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-10-24 14:52:05 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Search - Unread message isnot shown in bold in search preview What is the root cause of that problem?When we build the option we are setting App/src/libs/OptionsListUtils.ts Line 1954 in f46bce0
but inside shouldUseBoldText we are trying to get notification preference from the option but it doesn't exist (the report data is included in reportOption.item ) so it will set isBold false
What changes do you think we should make in order to solve the problem?This function is used in two cases inside App/src/libs/OptionsListUtils.ts Lines 2552 to 2553 in f46bce0
for getReportNotificationPreference we should pass report.item (this will apply for getOptions case) and as a backup we will pass report (this will apply for LHN case)
What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-10-24 14:40:40 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Unread report in search router modal isn't shown in bold text. What is the root cause of that problem?We already have a logic to decide whether to bold the text/title or not. App/src/libs/OptionsListUtils.ts Line 1963 in 642fd97
Because search page wants to bold based on the unread status, App/src/libs/OptionsListUtils.ts Lines 2626 to 2629 in 642fd97
Lines 1227 to 1232 in 642fd97
That's because the report option doesn't have App/src/libs/OptionsListUtils.ts Lines 679 to 710 in 642fd97
App/src/libs/OptionsListUtils.ts Lines 712 to 718 in 642fd97
What changes do you think we should make in order to solve the problem?We can add
And we can also consider replacing OR Inside App/src/libs/OptionsListUtils.ts Line 745 in 642fd97
but I prefer the 1st solution and remove the |
Only added a little bit of detailed explanation of the solution. |
@muttmuure Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~021851597452146176383 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
@rojiphil, @muttmuure Huh... This is 4 days overdue. Who can take care of this? |
Reviewing today |
Thanks for your proposals. The purpose of @bernhardoj proposal with 2nd solution LGTM. |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Hey @luacmartins, is it currently expected for previews in search to be bolded when unread? I think it should be as well but I just wasn't sure if that is slated for later? |
Yes, we should show them the same way as displayed in the LHN (bold in this case) |
@rojiphil, @muttmuure, @srikarparsi 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
📣 @rojiphil 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @rojiphil |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.63-3 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 2024-11-26. 🎊 For reference, here are some details about the assignees on this issue:
|
@rojiphil @muttmuure @rojiphil 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] |
$250 - @bernhardoj C+ |
Requested in ND. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:The user must have unread chats Test:
Do we agree 👍 or 👎 |
@muttmuure Completed checklist and accepted the offer too. Thanks |
$250 approved for @bernhardoj |
Everyone is paid |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.53-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/runs/view/26723&group_by=cases:section_id&group_order=asc&group_id=229066
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Unread message should be shown in bold in chat preview
Actual Result:
Message is not shown in bold
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6644086_1729753637530.scrnli_5eMHEcX7CXtnS1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @muttmuureThe text was updated successfully, but these errors were encountered: