From 3bfa556b02ad350595e7f1bcf4383455f7169d51 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 10 Sep 2024 15:54:15 -0700 Subject: [PATCH] IO-2733 Added countdown timer to PWA Refresh & cache busting meta. --- .circleci/config.yml | 6 +- bodyshop_translations.babel | 2016 ++++- client/index.html | 3 + .../update-alert/update-alert.component.jsx | 53 +- client/src/translations/en_us/common.json | 7144 +++++++++-------- client/src/translations/es/common.json | 7144 +++++++++-------- client/src/translations/fr/common.json | 7144 +++++++++-------- client/src/utils/countdownHook.js | 84 + 8 files changed, 12872 insertions(+), 10722 deletions(-) create mode 100644 client/src/utils/countdownHook.js diff --git a/.circleci/config.yml b/.circleci/config.yml index 4f35873a2..215cdc075 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -226,7 +226,9 @@ jobs: command: | curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash hasura migrate apply --endpoint https://db.test.romeonline.io/ --admin-secret << parameters.secret >> + sleep 5 hasura metadata apply --endpoint https://db.test.romeonline.io/ --admin-secret << parameters.secret >> + sleep 10 hasura metadata reload --endpoint https://db.test.romeonline.io/ --admin-secret << parameters.secret >> - jira/notify: environment: Test (Rome) - Hasura @@ -313,7 +315,9 @@ jobs: command: | curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> + sleep 5 hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> + sleep 10 hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >> - jira/notify: environment: Test (ImEX) - Hasura @@ -433,7 +437,7 @@ workflows: branches: only: master-AIO - rome-hasura-migrate: - secret: ${HASURA_PROD_SECRET} + secret: ${HASURA_ROME_PROD_SECRET} filters: branches: only: master-AIO diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index fd7c9e586..bf5cbd528 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -1,4 +1,4 @@ - +