-
Notifications
+
+
-
-
-
+
+
+
@@ -88,10 +92,10 @@ function togglePreferences() {
No notifications to show.
-
-
-
-
+
+
+
+
{{ haveSelected ? `${selectedNotificationIds.length} selected` : "Select all" }}
-
-
+
+
+
Mark as read
+
Delete
-
-
-
- Filters:
-
-
-
- Unread
-
-
-
- Shared
-
-
-
-
-
-
+
+
+
+
+ Filters:
+
+
+
+
+ Unread
+
+
+
+
+ Shared
+
+
+
+
No matching notifications with current filters.
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -175,9 +172,34 @@ function togglePreferences() {
diff --git a/client/src/components/Panels/NotificationsPanel.vue b/client/src/components/Panels/NotificationsPanel.vue
new file mode 100644
index 000000000000..b0c0bd61cbe1
--- /dev/null
+++ b/client/src/components/Panels/NotificationsPanel.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ You have {{ unreadNotifications.length }} unread notifications.
+
+
+
+
+
+
+
+
+ No unread notifications to show.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/client/src/components/Panels/WorkflowBox.vue b/client/src/components/Panels/WorkflowPanel.vue
similarity index 100%
rename from client/src/components/Panels/WorkflowBox.vue
rename to client/src/components/Panels/WorkflowPanel.vue
diff --git a/client/src/components/User/Notifications/NotificationsPreferences.vue b/client/src/components/User/Notifications/NotificationsPreferences.vue
index deda784f691b..5d6f0c3ca017 100644
--- a/client/src/components/User/Notifications/NotificationsPreferences.vue
+++ b/client/src/components/User/Notifications/NotificationsPreferences.vue
@@ -2,7 +2,7 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faExclamationCircle } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
-import { BAlert, BButton, BCard, BCol, BFormCheckbox, BRow } from "bootstrap-vue";
+import { BAlert, BButton, BFormCheckbox } from "bootstrap-vue";
import { computed, ref, watch } from "vue";
import {
@@ -19,15 +19,19 @@ import {
} from "@/composables/utils/pushNotifications";
import AsyncButton from "@/components/Common/AsyncButton.vue";
+import Heading from "@/components/Common/Heading.vue";
import LoadingSpan from "@/components/LoadingSpan.vue";
library.add(faExclamationCircle);
-defineProps({
- headerSize: {
- type: String,
- default: "h-lg",
- },
+interface NotificationsPreferencesProps {
+ embedded?: boolean;
+ headerSize?: string;
+}
+
+const props = withDefaults(defineProps
(), {
+ embedded: true,
+ headerSize: "h-lg",
});
const { config } = useConfig(true);
@@ -96,12 +100,23 @@ watch(
- Manage notifications preferences
-
-
+
+
+
You can manage notifications channels and preferences here.
-
- You can manage push notifications preferences here.
+
+
+
+ You can manage push notifications preferences here.
+
{{ errorMessage }}
@@ -111,89 +126,118 @@ watch(
-
-
-
-
-
-
- {{ capitalizeWords(category) }}
-
-
-
- {{ categoryDescriptionMap[category] }}
-
-
-
-
-
-
-
-
-
-
- {{ capitalizeWords(channel) }}
-
-
-
-
-
-
-
-
-
-
- Allow push and tab notifications. To disable, revoke the site notification privilege in your browser.
-
- Enable push notifications
-
-
-
-
- Push notifications are enabled. You can disable them by revoking the site notification privilege in your
- browser.
-
-
-
- Push notifications are not supported by this browser. You can still receive in-app notifications.
-
-
-
-
+
+
+
+
+
+
+ {{ capitalizeWords(channel) }}
+
+
+
+
+
+
+
+
+ Allow push and tab notifications. To disable, revoke the site notification privilege in your browser.
+
+ Enable push notifications
+
+
+
+
+
+ Push notifications are enabled. You can disable them by revoking the site notification privilege in your
+ browser.
+
+
+
+
+ Push notifications are not supported by this browser. You can still receive in-app notifications.
+
+
+