-
Notifications
You must be signed in to change notification settings - Fork 0
Remove dependency on DHIS2 Crawler #141
Description
It looks like we might be able to directly embed DHIS2 charts into the application. See below: https://community.dhis2.org/t/problems-embedding-dhis-tables-and-charts/35038
This would remove a lot of heartache in maintaining the application and remove a lot of system resource requirements. Basically, we would no longer need to have the ima-worldhealth/dhis-crawler supported.
I'll give this a go this weekend and see if we can make it work. First, we'll need the IDs of the individual elements in the dashboards. Can we get this via the API?
Another question - should we store the scripts locally or should we download them each time? I'm personally a fan of downloading them (to make sure it is the same one as in production), but this may run into CORS issues with puppeteer.