-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 E/E #311912] [$500] Assignee does not show on Confirm task page #25680
Comments
Triggered auto assignment to @CortneyOfstad ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @mountiny ( |
This is not a blocker. Also happens on production. Repro step:
Screen.Recording.2023-08-22.at.3.22.22.PM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~0182f226dc34b9a020 |
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Upwork job price has been updated to $500 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Assignee does not show on Confirm task page What is the root cause of that problem?This happened after #23773 in which we've updated the way we fetch the user details to display. Here Lines 719 to 721 in d38c06c
personalDetails .
Although we've initiated a chat with the User A, but User B haven't responded which is resulting personalDetails for the User B as undefined. And here Line 721 in d38c06c
What changes do you think we should make in order to solve the problem?Since we can't do anything about the user details not available we can return with the details we have. We can do default details instead of returning empty details which is causing the issues. if (!details) {
return {
icons: [{name: assignee, type: CONST.ICON_TYPE_AVATAR, source: UserUtils.getAvatar('', assigneeAccountID)}],
displayName: assignee,
subtitle: assignee,
};
}
The PR which caused the issue (maybe not) is have an issue with showing title for user icons, so we can follow the same approach we're following here to get the icon. App/src/libs/OptionsListUtils.js Lines 836 to 845 in c5fc369
What alternative solutions did you explore? (Optional)NA ResultKapture.2023-08-22.at.20.43.19.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Assignee does not show on Confirm task page What is the root cause of that problem?When assignong a task to an assignee, we will check if chatReport with this assignee is existed or not Lines 654 to 673 in 999ed93
If it does not exist, we will create an optimistic chat report and add this assignee to PERSONAL_DETAILS_LIST (on ONYX) Then when displaying the assignee field we will get information from PERSONAL_DETAILS_LIST based on assigneeAccountID But in this case, because we init the chat with this user before. So the condition check !chatReport is false Line 654 in 999ed93
and this user will be not added to PERSONAL_DETAILS_LIST. So It displayed empty when displaying the assignee field What changes do you think we should make in order to solve the problem?when assigning new assignee we also should check if chat report exist and this assignee is not in PERSONAL_DETAILS_LIST, we will add this user to PERSONAL_DETAILS_LIST like here Lines 666 to 672 in 999ed93
What alternative solutions did you explore? (Optional)When create new chat with new user, we also add this user to PERSONAL_DETAILS_LIST like here Lines 666 to 672 in 999ed93
|
ProposalPlease re-state the problem that we are trying to solve in this issueAfter selecting an assignee, it still shows What is the root cause of that problem?Here in this Menu option, there is no check that if an assignee is already chosen then don't show the https://github.com/Expensify/App/blob/main/src/pages/tasks/NewTaskPage.js#L168-#L175
What changes do you think we should make in order to solve the problem?We can add a simple condition here that if we have already chosen assignee then don't show this assignee option.
What alternative solutions did you explore? (Optional)Supporting videosBefore changes: Screencast.from.23-08-23.01.17.32.AM.IST.mp4After changes: Screencast.from.23-08-23.01.16.24.AM.IST.mp4 |
@ all Please help me understand this issue. Problem: Assignee isn't shown on confirm task page. Why is the assignee not being added to personalDetails when creating the chat report? Could you please link some code if possible, thanks! |
Not overdue 👍 |
Heading OoO until Oct. 25, so reassigning BZ to keep an eye on this while I'm gone 👍 |
Triggered auto assignment to @conorpendergrast ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
@CortneyOfstad Welcome back! Assigning back to you; no change |
Perfect — thanks @conorpendergrast! |
@mountiny Any updates — TIA! |
No not really this is very low priority cc @thienlnam would you actually be interested in taking this one over as you got more context in the Tasks area so the fix might be quicker for you |
Didn't read the entire thread but do you have a summary of the problem? Something with the personal details not showing up for a new user? |
It seems to be basically unable ot select the assignee in the new task flow when you just created a new chat with someone. I am double checking if we are even fixing these now |
Ah yeah, I've seen this problem before - I believe it lies in that when you create optimistic personal details for someone you don't actually store the email as part of it until they respond to you So when you select this user in the new task flow, it generates a new optimistic personal details for this person since it doesn't link to the existing contact but then when the task is created it pulls the existing user. Anyways, it's not that simple to fix and I'd say not worth our time right now so we should just close this - thoughts? |
yes, correct. |
I have discussed this with Jason and I am going to create a project to collect these and close it, we are not going to focus on the task fixes right now |
Added it to the project and we will come back to this once we are ready to refocus on this feature |
@mountiny @CortneyOfstad Are we eligible for compensation for our effort? Contributors are already assigned and started on the PR. It's just due to the decision changes and the solution becomes outdated. Some other similar cases where compensation is made 100% thought PR is closed |
I am sorry but in this case given the circumstances I would err on a side of no payout but rather just first dibs for you once we get back to this. We are going to fix this eventually but closing only to keep plate clener, otherwise we could put this on hold. Its added to a project in Todo category. This would require backend changes and external only work was not sufficient so I think full compensation at this point would not be appropriate either |
HELD for https://github.com/Expensify/Expensify/issues/311912
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:
6.select that user
Expected Result:
Assignee does not show on Confirm task page
Actual Result:
Assignee should show on Confirm task page
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.56-2
Reproducible in staging?: y
Reproducible in production?: n
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
Screen.Recording.2023-08-21.at.10.50.26.AM.mov
Recording.1491.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692595469205799
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: