Closed njyjn closed 3 years ago
While it is great that the count for full vaccinations are displayed, it may be helpful for users to also know how many people have received only one dose.
The fix to this will involve modifying the API at https://github.com/njyjn/sg-vaccine-tracker/blob/3e3ff768033726a5b7d31409b9fa843681b2ec57/api/src/logic/count.ts#L40 to support the scraping for the Received at least First Dose DOM element, storing it in DynamoDB under a new type, and adding the associated text in the client UI.
Received at least First Dose
type
Mocking test getHtmlContent.test.ts has been added, please modify the test accordingly as this feature is added.
Running npm test will help validate
npm test
Resolved
While it is great that the count for full vaccinations are displayed, it may be helpful for users to also know how many people have received only one dose.
The fix to this will involve modifying the API at https://github.com/njyjn/sg-vaccine-tracker/blob/3e3ff768033726a5b7d31409b9fa843681b2ec57/api/src/logic/count.ts#L40 to support the scraping for the
Received at least First Dose
DOM element, storing it in DynamoDB under a newtype
, and adding the associated text in the client UI.