-
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
[HOLD for payment 2024-01-15] [$500] #focus - Task assigned to self when cancelled and read is still displayed in LHN in focus mode #33315
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c072d4cdc2fc1985 |
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cancelled tasks that are read before are not hidden in focus mode What is the root cause of that problem?In the Lines 3510 to 3512 in e6557ae
Line 1598 in e6557ae
inside the Line 538 in e6557ae
What changes do you think we should make in order to solve the problem?
const reportAction = ReportActionsUtils.getReportAction(report.parentReportID ?? '', report.parentReportActionID ?? '');
// Include reports that are relevant to the user in any view mode. Criteria include having a draft or having a GBR showing.
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
if (report.hasDraft || requiresAttentionFromCurrentUser(report, reportAction)) {
return true;
}
POCScreen.Recording.2023-12-20.at.1.25.14.AM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cancelled task is still in LHN despite in focus mode What is the root cause of that problem?after cancelling task the pusher return taskReport.isDeletedParentAction === true . But we don't add this field in this function Line 232 in 7f7cfb3
What changes do you think we should make in order to solve the problem?in this function Line 232 in 7f7cfb3
we should return
We also need to do the same thing in the chat report selector here
should add
My solution also resolves the bug mentioned here What alternative solutions did you explore? (Optional)Resultsol.mp4 |
I tested the proposal from @DylanDylann in here and it works fine! |
Considering this issue #30798 (comment), if user A assigns a task to user B and user B is on the task report page then User A canceled the task, why would we hide the task page out of the blue without leaving feedback to the user that this task is deleted. I still see that the deleted report should appear so that they get feedback on what happened then if the user navigates to another report it should be hidden. |
@anmurali, @alitoshmatov Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@anmurali, @alitoshmatov 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@anmurali, @alitoshmatov Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
Working on it |
@abzokhattab Thank you for your proposal, I don't think your proposal correctly points out the root cause and tries to fix it with a workarounds. You are not showing why |
@DylanDylann Thank you for your proposal. You have correct RCA. I do agree with you solution and it is straightforward. @DylanDylann 's proposal looks good. C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
the parentReportAction is not shown because simply it was not passed to the function and it was forgotten, that's why the I agree that Dylan's solution will fix both issues, but have we agreed that this expected behavior here is what we want? If yes then sure let's fix both of them. |
@abzokhattab We can assume that is expected behavior since new issue was created #33477 |
📣 @alitoshmatov 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@alitoshmatov The PR is ready for review: #33828 |
was merged to production |
$500 to @alitoshmatov and to @DylanDylann |
This one is ready for payment |
@alitoshmatov and @DylanDylann are 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: 1.4.14-1
Reproducible in staging?: Y
Reproducible in production?: Y
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: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition: User is in #focus mode
Expected Result:
The task will be removed from LHN because it is read and cancelled
Actual Result:
The cancelled task is still in LHN despite in focus mode
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
20231220_012145.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: