Open frankinspace opened 1 month ago
Checking my data page in UAT I receive "Loading Data Table..." message forever
Looking at the networking tab I see the request go through:
curl 'https://swodlr.podaac.uat.earthdatacloud.nasa.gov/api/graphql' -X POST --data-raw '{"query":"\n query getUserProducts($limit: Int, $after: ID) \n {\n currentUser {\n products (limit: $limit, after: $after) {\n id\n timestamp\n cycle\n pass\n scene\n outputGranuleExtentFlag\n outputSamplingGridType\n rasterResolution\n utmZoneAdjust\n mgrsBandAdjust\n\n granules {\n id\n timestamp\n uri\n }\n \n status (limit: 1) {\n id\n timestamp\n state\n reason\n }\n }\n }\n }\n","variables":{"limit":"1000000"},"operationName":"getUserProducts"}'
and I see the response come back:
{"data":{"currentUser":{"products":[]}}}
But the UI continues to show loading....
I think there may be a bug in how the ui is handling and empty result set from the API. In this scenario I would expect to simply see an empty table or message saying no products have been generated
I fixed this bug and it is in this PR https://github.com/podaac/swodlr-ui/pull/109
Checking my data page in UAT I receive "Loading Data Table..." message forever
Looking at the networking tab I see the request go through:
and I see the response come back:
But the UI continues to show loading....
I think there may be a bug in how the ui is handling and empty result set from the API. In this scenario I would expect to simply see an empty table or message saying no products have been generated