From b670c3692d6ce0ef7e037876f3474ae1bc9fa6ac Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Thu, 9 Feb 2023 14:19:23 +0100 Subject: [PATCH] Basic fixes and cleanups - Fix vue-notification-bell client dependency installation - Fix linting issues - Refactor rename some variables and types --- client/package.json | 1 + .../components/Masthead/NotificationBell.vue | 14 ++--- .../Notification/NotificationList.vue | 18 +++--- client/src/components/Notification/index.js | 1 - client/src/entry/analysis/menu.js | 1 - client/yarn.lock | 25 ++++++++- lib/galaxy/managers/notification.py | 19 +++---- lib/galaxy/model/__init__.py | 17 ++---- .../unittest_utils/gxy_model_fixtures.py | 4 +- lib/galaxy/schema/schema.py | 6 +- .../webapps/galaxy/api/notifications.py | 26 ++++----- lib/galaxy_test/api/test_notifications.py | 26 ++++----- .../app/managers/test_NotificationManager.py | 56 +++++++++++++++++++ test/unit/data/model/test_notification.py | 56 ------------------- 14 files changed, 139 insertions(+), 131 deletions(-) delete mode 100644 client/src/components/Notification/index.js create mode 100644 test/unit/app/managers/test_NotificationManager.py delete mode 100644 test/unit/data/model/test_notification.py diff --git a/client/package.json b/client/package.json index adc1950abff..0496e55cb92 100644 --- a/client/package.json +++ b/client/package.json @@ -99,6 +99,7 @@ "vue": "^2.7.14", "vue-infinite-scroll": "^2.0.2", "vue-multiselect": "^2.1.7", + "vue-notification-bell": "^0.9.12", "vue-observe-visibility": "^1.0.0", "vue-prismjs": "^1.2.0", "vue-router": "^3.6.5", diff --git a/client/src/components/Masthead/NotificationBell.vue b/client/src/components/Masthead/NotificationBell.vue index c0565d656cf..7154c15e147 100644 --- a/client/src/components/Masthead/NotificationBell.vue +++ b/client/src/components/Masthead/NotificationBell.vue @@ -1,24 +1,20 @@