Open IuliiaHerets opened 16 hours ago
Triggered auto assignment to @Christinadobrzyn (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.
Edited by proposal-police: This proposal was edited at 2024-11-21T21:22:56Z.
Search loads infinitely.
The API Search with the above query returns error
When Search API fails, we just update the loading to false
that make the condition shouldShowLoadingState
is still false
so we can see the loading state
Solution 1: Add failure data within error in
then in Search.tsx, detect if error
is in searchResults, we will show the error message
Solution 2: Add failure data within data: [], status, and type
const failureData = [{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.SNAPSHOT}${hash}`,
value: {
data: [],
search: {
status,
type
}
},
}]
then the empty state will be shown
NA
I think this might have to do with how type:chat in:<any chat> category:car
is being read? Here's what is showing under keyword, I think this is supposed to be 'chat'?
Job added to Upwork: https://www.upwork.com/jobs/~021859790661845309370
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (External
)
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: 9.0.65-1 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): applausetester+kh0811007@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Search will not load infinitely.
Actual Result:
Search loads infinitely.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/14013d8a-7a42-482d-9a1f-6cee8ab021e1
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alitoshmatov