This adds three slots for text on the dashboard, and by default in English shows vaccine info at the bottom:
dashboard.text.top: Above the check-in card (but not above a close contact alert or toast-type notice)
dashboard.text.middle: Below the check-in card, above the charts
dashboard.text.bottom: Below the charts
This also makes all text updatable from the API by passing a textOverrides object with keys for language codes and then items following the same structure as the language .json files. For example, this would change English and Spanish "OK" label, disable the bottom dashboard vaccine info and add one in the middle of the dashboard:
This adds three slots for text on the dashboard, and by default in English shows vaccine info at the bottom:
dashboard.text.top
: Above the check-in card (but not above a close contact alert or toast-type notice)dashboard.text.middle
: Below the check-in card, above the chartsdashboard.text.bottom
: Below the chartsThis also makes all text updatable from the API by passing a
textOverrides
object with keys for language codes and then items following the same structure as the language .json files. For example, this would change English and Spanish "OK" label, disable the bottom dashboard vaccine info and add one in the middle of the dashboard:There's also a couple of minor tweaks to line up charts better when values are zero and improve dropdown behaviour on android.