Open IuliiaHerets opened 16 hours ago
Triggered auto assignment to @CortneyOfstad (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.
Copilot Avatar Not Updated After Adding Offline and Coming Online
When searching for users offline, the SearchForReports API is not called. As a result, we cannot retrieve the personalDetail of these users, causing the name and avatar to always display their default values.
When a user is selected here, we need to check if their personalDetail has not been retrieved or if the user is offline. In such cases, we will save the email of the selected user to a new field in Onyx (could be personalDetailNeedToFetch
)
Later, in the reconnectApp function, we will use the personalDetailNeedToFetch field to fetch the necessary personalDetail data (can be use SearchForReports API or another API)
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.65-1 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): applausetester+tw7377377373733@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The Copilot avatar should update immediately after adding the Copilot offline and coming online.
Actual Result:
The Copilot avatar remains unchanged after adding the Copilot offline and then going online.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/326409df-3dce-4fcb-b061-fb94bf5d82e6
View all open jobs on GitHub