From cac2dda5ac4b8e2bd73742cd37bf3bb67eaa83c9 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Thu, 26 Mar 2020 18:28:26 +0100 Subject: [PATCH] Add loading state (#1027) * add loading state * update snapshots * add border radius * fix comment breaking build jsx --- public/index.html | 26 +++- src/appState.ts | 2 + src/components/App.tsx | 127 ++++++++++++------ src/components/LayerUI.tsx | 2 + src/components/LoadingMessage.tsx | 10 ++ src/components/MobileMenu.tsx | 2 + src/global.d.ts | 6 + .../regressionTests.test.tsx.snap | 123 +++++++++++------ src/types.ts | 1 + 9 files changed, 214 insertions(+), 85 deletions(-) create mode 100644 src/components/LoadingMessage.tsx diff --git a/public/index.html b/public/index.html index 0a7176e54..4c03d7dfd 100644 --- a/public/index.html +++ b/public/index.html @@ -130,6 +130,26 @@ media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> +