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
[HOLD for payment 2023-11-09] [$500] Task - Task assignee profile opens when clicking on the header of task report #30182
changed the title [-]Task - Task assignee profile opens when clicking on the header of task report[/-][+][$500] Task - Task assignee profile opens when clicking on the header of task report[/+]on Oct 23, 2023
@FitseTLT@alitoshmatov Thank you for your proposals.
Both have very similar proposals but need more reasoning in their RCA.
Can you both elaborate on why this happens when we only assign during creating a task but not on the task where we have no assignee while creating the task?
And please also post a video too
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] The PR that introduced the bug has been identified. Link to the PR:
[@shubham1206agra] 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:
[@shubham1206agra] A discussion in #expensify-bugs 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:
[@shubham1206agra] Determine if we should create a regression test for this bug.
[@shubham1206agra] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@alexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
[@shubham1206agra] A discussion in #expensify-bugs 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: Not required as this is an edge case
[@shubham1206agra] Determine if we should create a regression test for this bug. Not required as this is an edge case
[@shubham1206agra] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
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:
Activity
[-]Task - Task assignee profile opens when clicking on the header of task report[/-][+][$500] Task - Task assignee profile opens when clicking on the header of task report[/+]melvin-bot commentedon Oct 23, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01852a4aad8299505f
melvin-bot commentedon Oct 23, 2023
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 23, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 23, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (
External)shubham1206agra commentedon Oct 23, 2023
I am able to repro this.
FitseTLT commentedon Oct 23, 2023
Proposal
Please 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:
App/src/libs/ReportUtils.js
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
Change
App/src/libs/ReportUtils.js
Lines 2074 to 2077 in 844b3b9
to
`
function navigateToDetailsPage(report) {
const participantAccountIDs = lodashGet(report, 'participantAccountIDs', []);
const type = lodashGet(report, 'type', '');
}
`
What alternative solutions did you explore? (Optional)
alitoshmatov commentedon Oct 23, 2023
Proposal
Please 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
isDMfunction is returningtruefor task reports alsoApp/src/libs/ReportUtils.js
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:
isDM(report) && participantAccountIDs.length === 1 && !isTaskReport(report)What alternative solutions did you explore? (Optional)
shubham1206agra commentedon Oct 24, 2023
@FitseTLT @alitoshmatov Thank you for your proposals.
Both have very similar proposals but need more reasoning in their RCA.
Can you both elaborate on why this happens when we only assign during creating a task but not on the task where we have no assignee while creating the task?
And please also post a video too
23 remaining items
melvin-bot commentedon Nov 2, 2023
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:
alexpensify commentedon Nov 3, 2023
@shubham1206agra - to prepare for the payment date, can you please complete the checklist? Thanks!
alexpensify commentedon Nov 6, 2023
@shubham1206agra bumping again, I'm trying to get ready for the payment date. Thanks!
shubham1206agra commentedon Nov 7, 2023
BugZero Checklist:
alexpensify commentedon Nov 9, 2023
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.
alexpensify commentedon Nov 9, 2023
@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.
bernhardoj commentedon Nov 9, 2023
Applied
alexpensify commentedon Nov 9, 2023
@bernhardoj and @shubham1206agra - I've started the process in Upwork. Please accept and I can apply the bonuses and close this GH. Thanks!
alexpensify commentedon Nov 9, 2023
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.
alexpensify commentedon Nov 9, 2023
@shubham1206agra has been paid in Upwork. @bernhardoj needs to accept and then we can pay in Upwork. Thanks!
bernhardoj commentedon Nov 10, 2023
Accepted!
alexpensify commentedon Nov 10, 2023
Perfect, everyone has been paid via Upwork!