-
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 2023-11-09] [$500] Task - Task assignee profile opens when clicking on the header of task report #30182
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01852a4aad8299505f |
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
I am able to repro this. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task assignee profile opens when clicking on task report header What is the root cause of that problem?Because of this line: Lines 2074 to 2077 in 844b3b9
It navigates to participant or assignee detail when the task has an assignee What changes do you think we should make in order to solve the problem?We should change those lines to display the task detail whether there is participant( assignee) is there or not Lines 2074 to 2077 in 844b3b9
to ` function navigateToDetailsPage(report) {
} ` What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task - Task assignee profile opens when clicking on the header of task report What is the root cause of that problem?This condition is not sufficient since Lines 2074 to 2077 in 844b3b9
What changes do you think we should make in order to solve the problem?We should update the condition so that it takes task reports into consideration, like this:
What alternative solutions did you explore? (Optional) |
@FitseTLT @alitoshmatov Thank you for your proposals. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing the task header on a task report only with an assignee will open the assignee profile instead of the task report details page. What is the root cause of that problem?Pressing the header will call Lines 2125 to 2133 in d282473
In the case of a task report, the If the assignee is empty, the participant is empty. What changes do you think we should make in order to solve the problem?We should replace the if condition with
|
@shubham1206agra Looks like there is another issue with updating assignee of the task. Line 469 in 9945d3c
In editTaskAssigneeAndNavigate we are not updating participantAccountIDs with optimistic data, But we updating it when creating new taskLine 3027 in ceb319f
Thus when we edit task assignee this field is not getting updated resulting in the above error. Also this is causing issue where when we create a task with a assignee and then change assignee, clicking on the header results in showing wrong assignee(below video) Screen.Recording.2023-10-24.at.10.23.11.movThis looks like separate issue, but if we want to fix this here we can achieve it by adding this line:
to optimistic data here: Lines 488 to 489 in 9945d3c
It looks like it also requires backend changes since backend also is not sending updated |
Lines 2071 to 2079 in 844b3b9
Ok @shubham1206agra as you can see above in the code when there is no assignee or even if you assigned yourself on the task 18.New.Expensify.mp4 |
@bernhardoj Can you put a video to confirm your solution works in every case? |
Screen.Recording.2023-10-26.at.13.12.01.movIt will also fix the issue with the thread. Screen.Recording.2023-10-26.at.13.14.31.mov |
Since @bernhardoj's proposal came first after my comment for detailed RCA and it fixes more wide problems. Let's go with this proposal then. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @hayata-suenaga, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @shubham1206agra |
@shubham1206agra - bumping, can you please review this PR? Thanks! |
Looks like the PR is merged, waiting for automation here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.94-2 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 2023-11-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@shubham1206agra - to prepare for the payment date, can you please complete the checklist? Thanks! |
@shubham1206agra bumping again, I'm trying to get ready for the payment date. Thanks! |
BugZero Checklist:
|
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~01852a4aad8299505f *If applicable, the bonuses will be applied on the final payment Extra Notes regarding payment: This one was before the pre-urgency bonus change, and was merged in 3 business days. |
@bernhardoj and @shubham1206agra - can you please apply to the job here: https://www.upwork.com/jobs/~01852a4aad8299505f It looks like the automation didn't assign it to you. Thanks, I'll complete the required steps tomorrow. |
Applied |
@bernhardoj and @shubham1206agra - I've started the process in Upwork. Please accept and I can apply the bonuses and close this GH. Thanks! |
After reviewing the payment summary again, I confirmed with the team that the PR for this one was created after the announcement (on October 24) related to the discontinuation of the urgency bonus. The conversation is here: https://expensify.slack.com/archives/C01GTK53T8Q/p1698191269281379 My apology for not catching this sooner, but the base payment will remain the same. |
@shubham1206agra has been paid in Upwork. @bernhardoj needs to accept and then we can pay in Upwork. Thanks! |
Accepted! |
Perfect, everyone has been paid via Upwork! |
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.3.89-4
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Expected Result:
Task details modal opens when clicking on the report header of the task with assignee
Actual Result:
Task assignee profile opens instead of task details modal
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6247499_1698072098279.20231023_221048.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: