From c858479ef0860af634737773f4f7be4cbfb44f2f Mon Sep 17 00:00:00 2001 From: Jeremy Wharton Date: Fri, 2 Jun 2023 02:31:34 -0500 Subject: [PATCH] web/satellite: show project invitations in dashboard area This change allows users to view and interact with their project member invitations through a banner in the dashboard area. The banner only appears if the All Projects Dashboard is disabled, as it provides the same functionality in a different way. References #5855 Change-Id: Ia0771e2af52c40a72f1cacf72bc9098cc68f0dcd --- .../notifications/ProjectInvitationBanner.vue | 171 ++++++++++++++++++ .../notifications/UploadNotification.vue | 1 - web/satellite/src/views/DashboardArea.vue | 69 ++++--- .../static/images/notifications/usersIcon.svg | 6 + 4 files changed, 220 insertions(+), 27 deletions(-) create mode 100644 web/satellite/src/components/notifications/ProjectInvitationBanner.vue create mode 100644 web/satellite/static/images/notifications/usersIcon.svg diff --git a/web/satellite/src/components/notifications/ProjectInvitationBanner.vue b/web/satellite/src/components/notifications/ProjectInvitationBanner.vue new file mode 100644 index 000000000..c468da842 --- /dev/null +++ b/web/satellite/src/components/notifications/ProjectInvitationBanner.vue @@ -0,0 +1,171 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + + + + + diff --git a/web/satellite/src/components/notifications/UploadNotification.vue b/web/satellite/src/components/notifications/UploadNotification.vue index bb2700b09..999a9f5d9 100644 --- a/web/satellite/src/components/notifications/UploadNotification.vue +++ b/web/satellite/src/components/notifications/UploadNotification.vue @@ -35,7 +35,6 @@ const props = defineProps<{ background-color: #fff; border: 1px solid rgb(56 75 101 / 40%); padding: 16px; - margin-bottom: 48px; font-family: 'font_regular', sans-serif; font-size: 14px; border-radius: 16px; diff --git a/web/satellite/src/views/DashboardArea.vue b/web/satellite/src/views/DashboardArea.vue index ab037d16b..482accff0 100644 --- a/web/satellite/src/views/DashboardArea.vue +++ b/web/satellite/src/views/DashboardArea.vue @@ -15,7 +15,9 @@
-