From f6cecaf3bbe29182ecd11af399fe6972632ccfd3 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 11 Jun 2021 17:18:07 +0100 Subject: [PATCH] Show splash screen while loading for first time --- docs/configuring.md | 1 + src/App.vue | 29 ++- src/components/PageStrcture/LoadingScreen.vue | 114 +++++++++++ .../Settings/KeyboardShortcutInfo.vue | 2 +- src/styles/color-palette.scss | 3 + src/utils/ConfigSchema.json | 179 +++++++++--------- src/utils/defaults.js | 1 + 7 files changed, 235 insertions(+), 94 deletions(-) create mode 100644 src/components/PageStrcture/LoadingScreen.vue diff --git a/docs/configuring.md b/docs/configuring.md index fbfa0b6b..6e08c584 100644 --- a/docs/configuring.md +++ b/docs/configuring.md @@ -49,6 +49,7 @@ All fields are optional, unless otherwise stated. **`cssThemes`** | `string[]` | _Optional_ | An array of custom theme names which can be used in the theme switcher dropdown **`externalStyleSheet`** | `string` or `string[]` | _Optional_ | Either a URL to an external stylesheet or an array or URLs, which can be applied as themes within the UI **`customCss`** | `string` | _Optional_ | Raw CSS that will be applied to the page. This can also be set from the UI. Please minify it first. +**`showSplashScreen`** | `boolean` | _Optional_ | Should display a splash screen while the app is loading. Defaults to false, except on first load #### `section` diff --git a/src/App.vue b/src/App.vue index 6012579e..2598f68a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,6 @@