-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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] Task – Task disappears from LHN when it is not open #46715
Comments
Triggered auto assignment to @twisterdotcom ( |
@twisterdotcom 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 |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task disappears from LHN when it is not open What is the root cause of that problem?We only show the task report on LHN if it is opened, pinned, or the Lines 138 to 141 in 49435db
What changes do you think we should make in order to solve the problem?If we want to always display tasks that assigned to the current user we can include
What alternative solutions did you explore? (Optional) |
true |
BE. |
Sounds good @FitseTLT, gonna get a C+ to confirm. |
Job added to Upwork: https://www.upwork.com/jobs/~015e6ab873971b6bf9 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
Edited by proposal-police: This proposal was edited at 2024-08-08 05:02:02 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Task disappears from LHN What is the root cause of that problem?After step 6, the task report's Lines 584 to 586 in f7e265a
hence it appears in LHN. After step 7, we call Hence after step 8, the task report does not appear in LHN. What changes do you think we should make in order to solve the problem?
In step 5, BE sets the task report 's Line 578 in f7e265a
What alternative solutions did you explore? (Optional)With the new expected behavior in comment, we can update: Lines 584 to 586 in f7e265a
with:
and BE should apply the same changes. |
Daily update: I'm quite busy today but definitely can review this one tomorrow morning |
May I know what's the GBR bug that you mentioned? |
In step 5, In offline mode, we don't have the GBR when we assign the task ourselves. But in online mode, the GBR is displayed. |
Thanks, I think that's good to fix but not related to this issue 🤔 . My two cents here, I think a task shouldn't disappear from LHN if it's a self-assigned task (We fixed a similar bug here). We can fix this from BE or update FE's |
@twisterdotcom How do you think about this one? |
This isn't a bug. Tasks are like expense reports. They don't show in your LHN if you have access to the parent. |
@hungvu193 if it is expected, so there is a bug when self-assigning as task when offline. In there, the task report is displayed in LHN. |
@puneetlath What do you think about this case? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I agree here:
But the bug shown in the video is that it is pinned with a GBR after creation and when navigating away, the task is removed from the LHN, even though it had a GBR. It's a confusing flow to show the GBR at both the highest and lowest context at once in the LHN because it feels like it shouldn't disappear. |
I do not truly understand the data hierarchy entirely, but I think if you have a GBR, and we always show the highest context for that GBR, we should show whatever report is the highest context for that GBR, even if you may not have access to the absolute highest - does that make sense? ie, you can create a private room and then allocate tasks to individuals outside of that room. Just because that individual isn't a member of that room, if their is a task waiting on them, it should show in their LHN. |
I also agree with this one. |
Lines 132 to 135 in 0c84552
|
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@daledah So okay, if you can prevent GBR showing on child task (user can access parent report) , then I think it's ok. |
@hungvu193 Do I need to update the proposal anymore? |
@daledah No need to update. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@twisterdotcom @hungvu193 @aldo-expensify this issue is now 4 weeks old, please consider:
Thanks! |
Waiting for assigning |
@twisterdotcom, @hungvu193, @aldo-expensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Bump @aldo-expensify |
📣 @daledah You have been assigned to this job! |
@aldo-expensify I've drafted a PR to fix the FE side. Waiting for BE fix. |
Thanks @daledah , after reading the whole thread, I'm still a bit confused of what is the expected behaviour and what are the backend changes we want to do. From testing, I see that when I open the unassigned task, it is added to the LHN. Then, I assign the task to myself and then I move away to another report. The newly assigned task remains in the LHN when it should have been removed... this is what the bug is about, right? The proposed backend change is that |
@aldo-expensify The expected behavior is described in #46715 (comment), The task report should disappear when we open another report. The backend change should be to set notification preference to |
@twisterdotcom, @hungvu193, @aldo-expensify, @daledah Huh... This is 4 days overdue. Who can take care of this? |
@daledah Let's complete and move forward with your PR |
@hungvu193 PR is up. |
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.16-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4804049
Email or phone of affected tester (no customers): ponikarchuks+32824@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Task present in LHN
Actual Result:
Task disappears from LHN
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6559911_1722572236482.Task_LHN.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hungvu193The text was updated successfully, but these errors were encountered: