From ce851b2f0c65a78f26016d19159339259ec6ad1b Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 17 May 2021 19:38:18 +0100 Subject: [PATCH] Shows toast on success, and other UX improvments --- README.md | 3 ++- package.json | 3 ++- .../Configuration/ConfigContainer.vue | 21 +++++++++++++------ .../{AddItem.vue => EditSiteMeta.vue} | 2 +- src/components/Configuration/JsonEditor.vue | 9 ++++---- src/main.js | 3 +++ src/styles/color-palette.scss | 2 ++ src/styles/color-themes.scss | 2 ++ src/styles/global-styles.scss | 9 ++++++++ src/utils/defaults.js | 7 +++++++ yarn.lock | 5 +++++ 11 files changed, 53 insertions(+), 13 deletions(-) rename src/components/Configuration/{AddItem.vue => EditSiteMeta.vue} (86%) diff --git a/README.md b/README.md index 6d8856e3..5b2ed3c9 100644 --- a/README.md +++ b/README.md @@ -164,13 +164,14 @@ There are a few self-hosted web apps, that serve a similar purpose to Dashy. Inc And the app itself is built with [Vue.js](https://github.com/vuejs/vue) ![vue-logo](https://i.ibb.co/xqKW6h5/vue-logo.png) -It makes use of the following components, kudos to their respective authors +And wouldn't have been quite possible, without the following components, kudos to their respective authors - [`vue-select`](https://github.com/sagalbot/vue-select) - Dropdown component by @sagalbot - [`vue-js-modal`](https://github.com/euvl/vue-js-modal) - Modal component by @euvl - [`v-tooltip`](https://github.com/Akryum/v-tooltip) - Tooltip component by @Akryum - [`vue-material-tabs`](https://github.com/jairoblatt/vue-material-tabs) - Tab view component by @jairoblatt - [`VJsoneditor`](https://github.com/yansenlei/VJsoneditor) - Interactive JSON editor component by @yansenlei - Forked from [JsonEditor](https://github.com/josdejong/jsoneditor) by @josdejong +- [`vue-toasted`](https://github.com/shakee93/vue-toasted) - Toast notification component by @shakee93 ### License 📜 diff --git a/package.json b/package.json index 368bb4ef..316dfcee 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "vue-js-modal": "^2.0.0-rc.6", "vue-material-tabs": "^0.0.7", "vue-router": "^3.0.3", - "vue-select": "^3.11.2" + "vue-select": "^3.11.2", + "vue-toasted": "^1.1.28" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.5.12", diff --git a/src/components/Configuration/ConfigContainer.vue b/src/components/Configuration/ConfigContainer.vue index d7587082..f39d794f 100644 --- a/src/components/Configuration/ConfigContainer.vue +++ b/src/components/Configuration/ConfigContainer.vue @@ -27,7 +27,7 @@ Download Config - + @@ -35,7 +35,7 @@