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
Task - Infinite skeleton loader when creating a task with a VOIP assignee #40103
Version Number: 1.4.62.0 Reproducible in staging?: y Reproducible in production?: y Issue found when executing PR:#38730 Issue reported by: Applause - Internal Team
Action Performed:
Create a new task with an assignee of +18183305299
Expected Result:
The task does not get created, the error message is displayed.
Actual Result:
Infinite skeleton loader when creating a task with a VOIP assignee.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
@laurenreidexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
What changes do you think we should make in order to solve the problem?
We should generate an error for createdChat instead of clearing the chat report in failureData. Or back-end should also return the createChat error for chatReport in CreateTask API as well.
We also shouldn't clear the optimistic personal detail because now we keep the report data, the skeleton will display in header when the request is fail. We should keep the optimistic personal detail to fix this as well and then when we clear the report, we already have the logic to clear optimistic personal detail in deleteReport function.
Activity
melvin-bot commentedon Apr 11, 2024
Triggered auto assignment to @laurenreidexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.kbecciv commentedon Apr 11, 2024
We think that this bug might be related to #vip-vsb
kbecciv commentedon Apr 11, 2024
@laurenreidexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
nkdengineer commentedon Apr 11, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Infinite skeleton loader when creating a task with a VOIP assignee.
What is the root cause of that problem?
We clear the report in
faliureDatahere so when the task isn't created the report show skeleton.App/src/libs/ReportUtils.ts
Lines 5145 to 5150 in 7d19f82
What changes do you think we should make in order to solve the problem?
We should generate an error for
createdChatinstead of clearing the chat report infailureData. Or back-end should also return thecreateChaterror forchatReportinCreateTaskAPI as well.We also shouldn't clear the optimistic personal detail because now we keep the report data, the skeleton will display in header when the request is fail. We should keep the optimistic personal detail to fix this as well and then when we clear the report, we already have the logic to clear optimistic personal detail in
deleteReportfunction.App/src/libs/ReportUtils.ts
Lines 5145 to 5159 in 7d19f82
OPTIONAL: We also can keep the task report in failureData and generate the error as well.
What alternative solutions did you explore? (Optional)
NA
laurenreidexpensify commentedon Apr 12, 2024
This doesn't seem a high value bug to fix given tasks + VOIP assignment are likely an edge case at this point in development. Am closing.