-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[HOLD for payment 2023-10-02] [$500] Assign Task - Workspace avatar shows 'U' #27092
Comments
Triggered auto assignment to @adelekennedy ( |
Bug0 Triage Checklist (Main S/O)
|
Proposed solutionPlease re-state the problem that we are trying to solve in this issue.Assign Task - Workspace avatar shows 'U' What is the root cause of that problem?**When a task report is created in the Workspace chat, the policy ID is not linked to the report object unless we chat report is reloaded. (backend report police ID) What changes do you think we should make in order to solve the problem?**We can check if the policy isn't defined and then get it from the parent report in the similar way the subtitle ( Lines 1707 to 1717 in b11bddc
Add below condition inside if (isWorkspaceTaskReport(report)) {
//If the policy is not available then retrieve from parent report
+ if (!policy)
+ {
+ const parentReport = getParentReport(report) // further check for parent report will be added
+ policy = getPolicy(parentReport.policyID)
+ }
const workspaceIcon = getWorkspaceIcon(report, policy);
return [ownerIcon, workspaceIcon];
}
What alternative solutions did you explore? (Optional)Make sure the policy ID is added to the task report object when the report is created. I believe this is something feasible since the policy is available offline. Before change: https://www.loom.com/share/c463b1c166924b27b833d84da4895d63?sid=2e342bd5-6046-4f29-812a-9da8d410680b After change: https://www.loom.com/share/63811ee868ff40fbb0fe2aad66d1a3e5?sid=e6aac6e1-0ea1-451e-9087-65c29597371c |
ProposalPlease re-state the problem that we are trying to solve in this issue.Assign Task - Workspace avatar shows 'U' What is the root cause of that problem?When we create a task, we don't add Lines 2594 to 2607 in f896f71
That makes Line 127 in f896f71
And the icon is wrong Line 949 in f896f71
What changes do you think we should make in order to solve the problem?We should add
Line 63 in 6488e9f
4. In NewTaskPage , we will pass policyID to createTaskAndNavigate function
App/src/pages/tasks/NewTaskPage.js Line 129 in 6488e9f
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.11-09-2023.11.55.01.webm |
reproduced |
Job added to Upwork: https://www.upwork.com/jobs/~01a3f658f7ff3bedd3 |
Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
@sobitneupane thoughts on the proposal above? |
Thanks for the proposal everyone. Proposal from @dukenv0307 looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @luacmartins, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@sobitneupane but I proposed the same change in the alternative solution. |
It's just code diff is missing which we are discouraged to add |
I agree that @dukenv0307's proposal is better and more detailed. |
📣 @sobitneupane Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-10-02. 🎊 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:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Just waiting on payment |
Payouts due:Contributor: $500 @dukenv0307 (Upwork) Eligible for 50% #urgency bonus? Y Upwork job is here. |
This is a case missed while adding a new feature.
Yes.
|
Regression Test Proposal
Do we agree 👍 or 👎 |
Since it is eligible for urgency bonus. Requested $750 for payment in newDot. |
$750 payment approved for @sobitneupane based on BZ summary. |
Also re-opening this one for the regression test. |
pending regression test feedback |
@luacmartins, @sobitneupane, @adelekennedy, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I don't think we need a specific regression test for this since it's an UI issue that's easily noticeable. I think we're good to close. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Workspace is available, so it must not show unavailable icon and it must show workspace profile icon after assigning a task
Actual Result:
Workspace is available, but it shows unavailable icon instead of workspace profile icon in header after assigning a task
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.66-3
Reproducible in staging?: No
Reproducible in production?: No
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6193614_unavailable.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: