You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-02-18] [$62.50] inbox tab greendot flickers each time when the task checkboxes are checked #55685
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?: 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:@rayane-djouah Slack conversation (hyperlinked to channel name): expensify - bugs
Action Performed:
Create an account
complete onboarding
Click on the each task checkboxes in concierge chat
Expected Result:
greendot on the inbox tab shouldn't disappear and reappear
Actual Result:
greendot flickers each time when the task checkboxes are checked
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence406020552-c207829a-cfb1-4cb3-ac25-7b50c84f31b6.movRecording.921.mp4
🚨 Edited by proposal-police: This proposal was edited at 2025-01-24 01:06:37 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
greendot flickers each time when the task checkboxes are checked
What is the root cause of that problem?
When marking task as completed, we check if the parent report (Concierge chat in this case) has any other uncompleted tasks to mark it as hasOutstandingChildTaskoptimistically:
The parent report action here should not be deleted.
What changes do you think we should make in order to solve the problem?
The parent report action here should not be deleted. Add negate operator to ReportActionsUtils.getReportActionMessage(reportAction)?.isDeletedParentAction above.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Write a unit test for the case when there are many tasks within a report, if any of them has not been completed yet, the GBR should still show. The expected reason should be debug.reasonGBR.isWaitingForAssigneeToCompleteAction. We can follow the example here.
What alternative solutions did you explore? (Optional)
changed the title [-]`inbox` tab greendot flickers each time when the task checkboxes are checked[/-][+][$250] `inbox` tab greendot flickers each time when the task checkboxes are checked[/+]on Jan 24, 2025
changed the title [-][$250] `inbox` tab greendot flickers each time when the task checkboxes are checked[/-][+]`inbox` tab greendot flickers each time when the task checkboxes are checked[/+]on Jan 24, 2025
changed the title [-]`inbox` tab greendot flickers each time when the task checkboxes are checked[/-][+][$62.50] `inbox` tab greendot flickers each time when the task checkboxes are checked[/+]on Jan 24, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@jayeshmangwani@joekaufmanexpensify@jayeshmangwani 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]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: regression wasn't CRITICAL to start the new discussion.
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Create an account
Complete onboarding
Open Concierge chat
Mark a task as done
Verify GBR in LHN and on Inbox tab icon does not flicker and stay there
Mark all tasks in Concierge chat as done
Verify GBR in LHN and on Inbox tab disappear immediately
Activity
melvin-bot commentedon Jan 23, 2025
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.mkzie2 commentedon Jan 24, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-01-24 01:06:37 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
greendot flickers each time when the task checkboxes are checked
What is the root cause of that problem?
When marking task as completed, we check if the parent report (Concierge chat in this case) has any other uncompleted tasks to mark it as
hasOutstandingChildTaskoptimistically:App/src/libs/actions/Task.ts
Lines 427 to 428 in 978ab86
But this condition in
getOutstandingChildTaskis not correct and seems like a bad merge commit:App/src/libs/actions/Task.ts
Lines 351 to 356 in 978ab86
The parent report action here should not be deleted.
What changes do you think we should make in order to solve the problem?
The parent report action here should not be deleted. Add negate operator to
ReportActionsUtils.getReportActionMessage(reportAction)?.isDeletedParentActionabove.What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Write a unit test for the case when there are many tasks within a report, if any of them has not been completed yet, the GBR should still show. The expected reason should be
debug.reasonGBR.isWaitingForAssigneeToCompleteAction. We can follow the example here.What alternative solutions did you explore? (Optional)
NA
joekaufmanexpensify commentedon Jan 24, 2025
I can reproduce this. It's a very minor issue though.
[-]`inbox` tab greendot flickers each time when the task checkboxes are checked[/-][+][$250] `inbox` tab greendot flickers each time when the task checkboxes are checked[/+]melvin-bot commentedon Jan 24, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021882881798258809610
melvin-bot commentedon Jan 24, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (
External)[-][$250] `inbox` tab greendot flickers each time when the task checkboxes are checked[/-][+]`inbox` tab greendot flickers each time when the task checkboxes are checked[/+][-]`inbox` tab greendot flickers each time when the task checkboxes are checked[/-][+][$62.50] `inbox` tab greendot flickers each time when the task checkboxes are checked[/+]26 remaining items
melvin-bot commentedon Feb 11, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 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-02-18. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 11, 2025
@jayeshmangwani @joekaufmanexpensify @jayeshmangwani 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]
jayeshmangwani commentedon Feb 16, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: Marking GRB on task at highest #43927 (comment)
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: regression wasn't CRITICAL to start the new discussion.
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Do we agree 👍 or 👎
joekaufmanexpensify commentedon Feb 17, 2025
Great, TY! Will handle next steps and then we're all set to pay tomorrow.
joekaufmanexpensify commentedon Feb 18, 2025
I opened the regression test issue.
joekaufmanexpensify commentedon Feb 18, 2025
All set to issue payment! We need to pay:
joekaufmanexpensify commentedon Feb 18, 2025
@mkzie2 $62.50 sent and contract ended!
joekaufmanexpensify commentedon Feb 18, 2025
Upwork job closed.
joekaufmanexpensify commentedon Feb 18, 2025
@jayeshmangwani Please request payment at your earliest convenience. Closing as this is otherwise all set!
garrettmknight commentedon Feb 28, 2025
$62.50 approved for @jayeshmangwani