From 7e2a6b11bf0897b4177ce539ee2db817863ac251 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 13 Oct 2021 22:04:20 -0400 Subject: [PATCH 01/10] Reduce flickering by removing the spinning card icon and increasing background opacity --- client/src/components/Tool/ToolCard.vue | 6 ++---- client/src/style/scss/ui.scss | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/client/src/components/Tool/ToolCard.vue b/client/src/components/Tool/ToolCard.vue index c39cbb66a55..fe675d9eab7 100644 --- a/client/src/components/Tool/ToolCard.vue +++ b/client/src/components/Tool/ToolCard.vue @@ -80,8 +80,7 @@
- - + {{ title }} {{ description }} (Galaxy Version {{ version }}) @@ -119,9 +118,8 @@ import Webhooks from "mvc/webhooks"; import { addFavorite, removeFavorite } from "components/Tool/services"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { library } from "@fortawesome/fontawesome-svg-core"; -import { faSpinner, faWrench } from "@fortawesome/free-solid-svg-icons"; +import { faWrench } from "@fortawesome/free-solid-svg-icons"; -library.add(faSpinner); library.add(faWrench); export default { diff --git a/client/src/style/scss/ui.scss b/client/src/style/scss/ui.scss index 6118d7ae713..7d30380ccab 100644 --- a/client/src/style/scss/ui.scss +++ b/client/src/style/scss/ui.scss @@ -228,11 +228,10 @@ $ui-margin-horizontal-large: $margin-v * 2; display: none; z-index: 10; position: absolute; + opacity: 0; top: 0px; width: 100%; height: 100%; - opacity: 0.15; - background: $white; cursor: wait; } } From 11ece208ef91a67674a450a7801d07cbf1dcfe16 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 13 Oct 2021 23:18:02 -0400 Subject: [PATCH 02/10] Use paused state background for info alerts --- client/src/style/scss/dataset.scss | 2 +- client/src/style/scss/overrides.scss | 4 ++++ client/src/style/scss/theme/blue.scss | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/style/scss/dataset.scss b/client/src/style/scss/dataset.scss index bb195270d72..3bd1768e70a 100644 --- a/client/src/style/scss/dataset.scss +++ b/client/src/style/scss/dataset.scss @@ -132,7 +132,7 @@ } &.state-paused { - background: $state-paused-bg; + background: $state-info-bg; .state-icon { &:before { content: fa-content($fa-var-pause); diff --git a/client/src/style/scss/overrides.scss b/client/src/style/scss/overrides.scss index 637584c2382..41f3f3b71e8 100644 --- a/client/src/style/scss/overrides.scss +++ b/client/src/style/scss/overrides.scss @@ -162,6 +162,10 @@ table.info_data_table th:nth-child(1) { border-color: transparent; } +.alert-info { + background: $state-info-bg !important; +} + // increase visibility of dropdown menu section headers .dropdown-header { font-size: 1rem; diff --git a/client/src/style/scss/theme/blue.scss b/client/src/style/scss/theme/blue.scss index 89defbd4183..3e0c3282cbf 100644 --- a/client/src/style/scss/theme/blue.scss +++ b/client/src/style/scss/theme/blue.scss @@ -72,7 +72,7 @@ $state-danger-bg: theme-color-level("danger", $alert-bg-level); $state-danger-border: theme-color-level("danger", $alert-border-level); $state-info-text: theme-color-level("info", $alert-color-level); -$state-info-bg: theme-color-level("info", $alert-bg-level); +$state-info-bg: lighten($brand-info, 50%); $state-info-border: theme-color-level("info", $alert-border-level); $state-success-text: theme-color-level("success", $alert-color-level); @@ -145,7 +145,6 @@ $table-border-color: transparent; // Additional state colors $state-default-bg: $gray-200; $state-default-border: $border-color; -$state-paused-bg: lighten($brand-info, 50%); $state-running-bg: lighten($brand-warning, 40%); $state-running-border: $border-color; From f5921df8a99313f171301dae1c7b72a4346442c2 Mon Sep 17 00:00:00 2001 From: guerler Date: Thu, 14 Oct 2021 00:21:41 -0400 Subject: [PATCH 03/10] Add a non-jquery promise queue to reduce form update requests (particularly useful for sliders in the workflow forms) --- .../src/components/Workflow/Editor/Index.vue | 4 +- client/src/utils/promise-queue.js | 42 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 client/src/utils/promise-queue.js diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue index e73139f019f..fc59880a8c2 100644 --- a/client/src/components/Workflow/Editor/Index.vue +++ b/client/src/components/Workflow/Editor/Index.vue @@ -175,6 +175,7 @@