-
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
[$250] [HOLD for payment 2024-11-28] Having the 'hidden' notification preference" the reports are displayed in LHN and not marked as read by the migration #52396
Comments
Triggered auto assignment to @alexpensify ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
@ikevin127 is going to help out with this one. Discussing here: https://expensify.slack.com/archives/C02NK2DQWUX/p1731537652304929 |
@puneetlath What I found as root cause for why your report is still being shown is because in the code block below Lines 130 to 135 in a3fd7ae
I confirmed this using DIFF{
"chatReportID": "7874291990759816",
"chatType": "",
"currency": "USD",
"description": "",
"errorFields": {},
"hasOutstandingChildRequest": false,
"hasOutstandingChildTask": false,
- "hasParentAccess": false,
+ "hasParentAccess": true,
"isCancelledIOU": false,
"isOwnPolicyExpenseChat": false,
"isPinned": false,
"isWaitingOnBankAccount": false,
"lastActionType": "IOU",
"lastActorAccountID": "17364253",
- "lastMessageHtml": "$14.82 expense",
+ "lastMessageHtml": "paid $3.00 elsewhere",
- "lastMessageText": "$14.82 expense",
+ "lastMessageText": "paid $3.00 elsewhere",
"lastReadSequenceNumber": 0,
- "lastVisibleActionCreated": "2024-11-11 22:01:02.083",
+ "lastVisibleActionCreated": "2024-11-13 23:33:10.631",
- "lastVisibleActionLastModified": "2024-11-11 22:01:02.083",
+ "lastVisibleActionLastModified": "2024-11-13 23:33:10.631",
"managerID": 17364253,
- "nonReimbursableTotal": -7335,
+ "nonReimbursableTotal": 0,
"notificationPreference": "hidden",
"oldPolicyName": "",
"ownerAccountID": 17364253,
"parentReportActionID": "5395595152947009671",
"parentReportID": "7874291990759816",
"participants": {
"17364253": {
"hidden": true,
"notificationPreference": "hidden"
},
"8033800": {
"hidden": true,
"notificationPreference": "hidden"
},
"9645353": {
"hidden": true,
"notificationPreference": "hidden"
},
"9662119": {
"hidden": true,
"notificationPreference": "hidden"
},
"9713816": {
"hidden": true,
"notificationPreference": "hidden"
},
"10903701": {
"hidden": true,
"notificationPreference": "hidden"
}
},
- "permissions": ["read", "write"],
+ "permissions": [],
"policyID": "3B4762A4CCFD7388",
"private_isArchived": "",
"reportID": "3492368652977899",
- "reportName": "[Expensify Canada Inc] Justin's Expenses 2023-08-09 #R000V1AkK1m3",
+ "reportName": "Expense Report #3492368652977899",
- "statusNum": 3,
+ "statusNum": 4,
- "total": -7335,
+ "total": -300,
"type": "expense",
- "unheldNonReimbursableTotal": -7335,
+ "unheldNonReimbursableTotal": 0,
- "unheldTotal": -7335,
+ "unheldTotal": -300,
"welcomeMessage": "",
"writeCapability": "all",
+ "lastReadTime": "2024-11-14 00:10:55.482"
}
When it comes to a solution, I don't have the context behind |
Got it! I had a feeling it might be something to do with that. That logic should only show the report in the LHN if the report has an RBR or GBR. Otherwise, it should remain hidden. Can you adjust it accordingly? |
@puneetlath You're saying that from this check: Lines 130 to 132 in a3fd7ae
|
For 1, if we remove it from there will the expense report still show up in the LHN if it has a RBR/GBR? Because we do want it to show up in that scenario. |
If yes, then I'd say yes to both 2 and 3. |
@puneetlath Yes, expenses with RBR/GBR and other specific cases will still show up because all the other check conditions that are part of Before moing on with opening a PR, I did some digging into when
The part I put in bold is the key here because if I remove Please let me know! |
Thanks for double checking. Yes that's correct. We only care to show them if they have an RBR or GBR. |
Understood, will have a PR open in Edit: ✅ PR #52533 is open. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.64-4 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-28. 🎊 For reference, here are some details about the assignees on this issue:
|
@ikevin127 @puneetlath / @alexpensify @ikevin127 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] |
@c3024 Was auto-assigned as C+ reviewer for this issue's PR and require payment. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal
Do we agree 👍 or 👎. |
Job added to Upwork: https://www.upwork.com/jobs/~021861838752564656953 |
Current assignees @ikevin127 and @c3024 are eligible for the External assigner, not assigning anyone new. |
Payouts due: 2024-11-28
Upwork job is here. Please accept the offers in Upwork, and I can complete the required process on the payment date. Thanks! |
Offer accepted, thanks! |
cc @alexpensify for visibility |
My apology; I should have clarified that I'm OOO this week, and yesterday was a US holiday. I have completed the payment process here today in Upwork. Closing! |
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:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @Puneet-here
Slack conversation (hyperlinked to channel name): ts_external_expensify_migrate
Action Performed:
Precondition : Admin has preference set to "focus mode"
Expected Result:
Having the 'hidden' notification preference" the reports are not displayed in LHN and marked as read by the migration
Actual Result:
Having the 'hidden' notification preference" the reports are displayed in LHN and not marked as read by the migration
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @puneetlath / @alexpensifyUpwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: