Read from App Config to configure HomepageTimer (#2673)

* Read from Config for timezone timers

* Remove recusrive dependency on backstage/core and fix tsc errors

* Modify to use ConfigArray instead of fixed Config

* Fix lint and tsc errors

* Cean up app-config.yaml

* add back newline

* Fix prettier error on app-config.yaml

* Address review comments
This commit is contained in:
Althaf Hameez
2020-10-01 02:47:06 +08:00
committed by GitHub
parent ea43a87c37
commit a06a13c30d
2 changed files with 60 additions and 33 deletions
+10
View File
@@ -255,3 +255,13 @@ costInsights:
name: Your Company's Daily Cost
DAU:
name: Cost Per DAU
homepage:
clocks:
- label: UTC
timzone: UTC
- label: NYC
timezone: 'America/New_York'
- label: STO
timezone: 'Europe/Stockholm'
- label: TYO
timezone: 'Asia/Tokyo'