-
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-06-21] [$250] Tasks from onboarding are showing up in my LHN even though they are not assigned #43470
Comments
Job added to Upwork: https://www.upwork.com/jobs/~014ba22240ca1efefb |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf ( |
Triggered auto assignment to @kadiealexander ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The onboarding task hasn't been allocated to the user who is currently logged in. What is the root cause of that problem?App/src/libs/actions/Report.ts Lines 3216 to 3228 in 6d82ec0
When generating the onboarding task, we don't to assign managerID to currentUserAccountID. Consequently, the onboarding task remains unassigned to the current user. What changes do you think we should make in order to solve the problem?App/src/libs/actions/Report.ts Lines 3216 to 3228 in 6d82ec0
In the optimistic data, need to set Additional, I noticed that we also need to remove pendingFields in successData. What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tasks created by the concierge are displayed on the LHN. What is the root cause of that problem?This scenario is currently not handled. We should address it by including it within Line 5317 in 98b2cb0
What changes do you think we should make in order to solve the problem?The report created by the concierge has a We can add the following condition to if (isTaskReport(report) && report.managerID === 0) {
return false;
} This ensures that such reports are not displayed in the LHN. Additionally, we can verify that the concierge ID is one of the participants to confirm we are targeting the correct report. What alternative solutions did you explore? |
Upwork job price has been updated to $500 |
Bumping the price, the proposals above are not correct or detailed.
I am not sure if the proposal from @devguest07 would cover this |
@mountiny , the expected result from the GH issue is:
are you sure that:
|
I think it's a BE problem. When we create the onboarding task, we already optimistically set the notification preference to App/src/libs/actions/Report.ts Lines 3173 to 3181 in a20c99a
But the That's why the task doesn't immediately appears on the LHN but only appears after the API completes. Passing the notification preference to the API params doesn't help. App/src/libs/actions/Report.ts Lines 3208 to 3219 in a20c99a
|
This comment has been minimized.
This comment has been minimized.
Note The task report should not be visible in LHN until we open it, with additional detail that the task detail should not show up until the user was mentioned in the task chat thread or the user was assigned to the task, Anyone working on the proposal, the expected result are as above!, please try to have clear RCA and solution 🙏 Please follow this thread if you need any further discussions |
@mountiny Based on the context of this issue, we should assign the onboarding task to the current user |
@cretadn22 yes, but that is waiting for backend fix |
This turned out to be internal. I have got two PRs which will help with this. |
bump @mountiny 🤜 |
@allgandalf yes but I think that would be normal reward of $250 as the full fix had to be in backend. Are you happy with that? |
Upwork job price has been updated to $250 |
This wasn’t labeled critical but the price was doubled and i reviewed the PR on priority, don’t know how this case fits on our new guidelines. But happy with whatever you decide vit 🤝 |
Payment Summary
BugZero Checklist (@kadiealexander)
|
@allgandalf please apply to the Upwork job. |
@kadiealexander , Applied for the job, Also can this be cleared up ? |
I believe as you didn't review all PRs for the fix (since some were backend) a partial payment of $250 is due here. |
Cool, alright 👍 |
I was testing and noticed that when I did onboarding, the tasks being in Concierge are showing up in my LHN even though they are not assigned to me.
Get paid by my employer
caseEnable your wallet
Submit an expense
Expected behavior: the threads should not show up in LHN. I tested this with other onboarding flows, and it applies to them all. It is reproducible right now.
Here is a video showing it happen when I go through the track flow:
https://github.com/Expensify/App/assets/2364487/596e69a8-ba2d-4b0f-82ec-6d14ae6a1b0f
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexanderThe text was updated successfully, but these errors were encountered: