tibudiyanto / jakarta-vax-availability

jakarta-vax-availability.vercel.app
100 stars 46 forks source link

Correctly handle when kuota service fails #53

Closed resir014 closed 3 years ago

resir014 commented 3 years ago

Description

At the moment, the Kuota service fails intermittently, and by default we currently fall back to showing each of those facilities as having 0 kuota, which is obviously incorrect. We should handle this fallback state correctly.

image

Expected Behaviour

A fallback state should be displayed when Kuota service fails.

Additional Information

Tweet thread: https://twitter.com/BukanYahya/status/1412283847341854720

mathdroid commented 3 years ago

Data source changes quite rapidly these days. Updated some of the API

Screen Shot 2021-07-06 at 4 45 51 PM Screen Shot 2021-07-06 at 4 18 30 PM
mathdroid commented 3 years ago
Screen Shot 2021-07-06 at 6 00 23 PM
mathdroid commented 3 years ago

The data source just changed again, now they correctly implement date and time with datetime format instead of string.

https://jkt-vax-quota.vercel.app

Screen Shot 2021-07-08 at 2 46 25 PM
mathdroid commented 3 years ago

cc @resir014 @k1m0ch1