From e5f6be2f0296095b61ed7caf28f13268849bac0e Mon Sep 17 00:00:00 2001 From: Jeremy Wharton Date: Wed, 27 Sep 2023 02:02:09 -0500 Subject: [PATCH] web/satellite/vuetify-poc: prepend icons to dashboard card titles This change adds icons before the titles of cards in the project dashboard. Resolves #6294 Change-Id: I65a0e3be5433bd156568a76a875552ace8905a91 --- .../vuetify-poc/src/assets/icon-card.svg | 3 -- .../vuetify-poc/src/assets/icon-file.svg | 3 -- .../vuetify-poc/src/assets/icon-satellite.svg | 3 -- .../src/components/CardStatsComponent.vue | 31 +++++++++++++++++-- .../src/components/ProjectCard.vue | 2 +- .../src/components/ProjectsTableComponent.vue | 2 +- .../src/components/UsageProgressComponent.vue | 21 ++++++++++++- .../src/components/icons/IconAccess.vue | 11 ++++--- .../src/components/icons/IconArrowDown.vue | 8 +++++ .../src/components/icons/IconBucket.vue | 7 +++-- .../src/components/icons/IconCard.vue | 16 ++++++++++ .../src/components/icons/IconCircleCheck.vue | 8 +++++ .../src/components/icons/IconCloud.vue | 8 +++++ .../src/components/icons/IconFile.vue | 8 ++--- .../src/components/icons/IconGlobe.vue | 16 ++++++++++ .../src/components/icons/IconTeam.vue | 11 ++++--- .../src/layouts/default/AppBar.vue | 7 +++-- .../src/layouts/default/ProjectNav.vue | 4 +-- .../vuetify-poc/src/views/Bucket.vue | 2 +- .../vuetify-poc/src/views/Dashboard.vue | 20 ++++++------ 20 files changed, 147 insertions(+), 44 deletions(-) delete mode 100644 web/satellite/vuetify-poc/src/assets/icon-card.svg delete mode 100644 web/satellite/vuetify-poc/src/assets/icon-file.svg delete mode 100644 web/satellite/vuetify-poc/src/assets/icon-satellite.svg create mode 100644 web/satellite/vuetify-poc/src/components/icons/IconArrowDown.vue create mode 100644 web/satellite/vuetify-poc/src/components/icons/IconCard.vue create mode 100644 web/satellite/vuetify-poc/src/components/icons/IconCircleCheck.vue create mode 100644 web/satellite/vuetify-poc/src/components/icons/IconCloud.vue create mode 100644 web/satellite/vuetify-poc/src/components/icons/IconGlobe.vue diff --git a/web/satellite/vuetify-poc/src/assets/icon-card.svg b/web/satellite/vuetify-poc/src/assets/icon-card.svg deleted file mode 100644 index 0c4fab266..000000000 --- a/web/satellite/vuetify-poc/src/assets/icon-card.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/satellite/vuetify-poc/src/assets/icon-file.svg b/web/satellite/vuetify-poc/src/assets/icon-file.svg deleted file mode 100644 index 39a78dd66..000000000 --- a/web/satellite/vuetify-poc/src/assets/icon-file.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/satellite/vuetify-poc/src/assets/icon-satellite.svg b/web/satellite/vuetify-poc/src/assets/icon-satellite.svg deleted file mode 100644 index 2734e333f..000000000 --- a/web/satellite/vuetify-poc/src/assets/icon-satellite.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/satellite/vuetify-poc/src/components/CardStatsComponent.vue b/web/satellite/vuetify-poc/src/components/CardStatsComponent.vue index ff65ab503..72f217543 100644 --- a/web/satellite/vuetify-poc/src/components/CardStatsComponent.vue +++ b/web/satellite/vuetify-poc/src/components/CardStatsComponent.vue @@ -2,7 +2,13 @@ // See LICENSE for copying information. diff --git a/web/satellite/vuetify-poc/src/components/ProjectCard.vue b/web/satellite/vuetify-poc/src/components/ProjectCard.vue index 311f693ea..0e4cc293f 100644 --- a/web/satellite/vuetify-poc/src/components/ProjectCard.vue +++ b/web/satellite/vuetify-poc/src/components/ProjectCard.vue @@ -29,7 +29,7 @@ Invite Members diff --git a/web/satellite/vuetify-poc/src/components/ProjectsTableComponent.vue b/web/satellite/vuetify-poc/src/components/ProjectsTableComponent.vue index 73aaac606..54e647b02 100644 --- a/web/satellite/vuetify-poc/src/components/ProjectsTableComponent.vue +++ b/web/satellite/vuetify-poc/src/components/ProjectsTableComponent.vue @@ -95,7 +95,7 @@ Invite Members diff --git a/web/satellite/vuetify-poc/src/components/UsageProgressComponent.vue b/web/satellite/vuetify-poc/src/components/UsageProgressComponent.vue index 611c7340e..2e8d91ec8 100644 --- a/web/satellite/vuetify-poc/src/components/UsageProgressComponent.vue +++ b/web/satellite/vuetify-poc/src/components/UsageProgressComponent.vue @@ -3,6 +3,12 @@ diff --git a/web/satellite/vuetify-poc/src/components/icons/IconAccess.vue b/web/satellite/vuetify-poc/src/components/icons/IconAccess.vue index 8b5b3ad67..6e7dbde6c 100644 --- a/web/satellite/vuetify-poc/src/components/icons/IconAccess.vue +++ b/web/satellite/vuetify-poc/src/components/icons/IconAccess.vue @@ -3,15 +3,18 @@ diff --git a/web/satellite/vuetify-poc/src/components/icons/IconArrowDown.vue b/web/satellite/vuetify-poc/src/components/icons/IconArrowDown.vue new file mode 100644 index 000000000..201123689 --- /dev/null +++ b/web/satellite/vuetify-poc/src/components/icons/IconArrowDown.vue @@ -0,0 +1,8 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + diff --git a/web/satellite/vuetify-poc/src/components/icons/IconBucket.vue b/web/satellite/vuetify-poc/src/components/icons/IconBucket.vue index 33446ac20..be120c1f2 100644 --- a/web/satellite/vuetify-poc/src/components/icons/IconBucket.vue +++ b/web/satellite/vuetify-poc/src/components/icons/IconBucket.vue @@ -4,14 +4,15 @@ diff --git a/web/satellite/vuetify-poc/src/components/icons/IconCard.vue b/web/satellite/vuetify-poc/src/components/icons/IconCard.vue new file mode 100644 index 000000000..86f120d98 --- /dev/null +++ b/web/satellite/vuetify-poc/src/components/icons/IconCard.vue @@ -0,0 +1,16 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + + + diff --git a/web/satellite/vuetify-poc/src/components/icons/IconCircleCheck.vue b/web/satellite/vuetify-poc/src/components/icons/IconCircleCheck.vue new file mode 100644 index 000000000..b3a96d73b --- /dev/null +++ b/web/satellite/vuetify-poc/src/components/icons/IconCircleCheck.vue @@ -0,0 +1,8 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + diff --git a/web/satellite/vuetify-poc/src/components/icons/IconCloud.vue b/web/satellite/vuetify-poc/src/components/icons/IconCloud.vue new file mode 100644 index 000000000..8887b0691 --- /dev/null +++ b/web/satellite/vuetify-poc/src/components/icons/IconCloud.vue @@ -0,0 +1,8 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + diff --git a/web/satellite/vuetify-poc/src/components/icons/IconFile.vue b/web/satellite/vuetify-poc/src/components/icons/IconFile.vue index c1c309ea8..0e110b753 100644 --- a/web/satellite/vuetify-poc/src/components/icons/IconFile.vue +++ b/web/satellite/vuetify-poc/src/components/icons/IconFile.vue @@ -3,15 +3,15 @@ diff --git a/web/satellite/vuetify-poc/src/components/icons/IconGlobe.vue b/web/satellite/vuetify-poc/src/components/icons/IconGlobe.vue new file mode 100644 index 000000000..599f47912 --- /dev/null +++ b/web/satellite/vuetify-poc/src/components/icons/IconGlobe.vue @@ -0,0 +1,16 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + + + diff --git a/web/satellite/vuetify-poc/src/components/icons/IconTeam.vue b/web/satellite/vuetify-poc/src/components/icons/IconTeam.vue index 163383983..f4d05a50e 100644 --- a/web/satellite/vuetify-poc/src/components/icons/IconTeam.vue +++ b/web/satellite/vuetify-poc/src/components/icons/IconTeam.vue @@ -3,15 +3,18 @@ diff --git a/web/satellite/vuetify-poc/src/layouts/default/AppBar.vue b/web/satellite/vuetify-poc/src/layouts/default/AppBar.vue index 5f9dcf8f1..b0cfc91de 100644 --- a/web/satellite/vuetify-poc/src/layouts/default/AppBar.vue +++ b/web/satellite/vuetify-poc/src/layouts/default/AppBar.vue @@ -96,7 +96,7 @@ Region @@ -117,7 +117,7 @@ Billing @@ -183,6 +183,9 @@ import { useObjectBrowserStore } from '@/store/modules/objectBrowserStore'; import { useAnalyticsStore } from '@/store/modules/analyticsStore'; import { useConfigStore } from '@/store/modules/configStore'; +import IconCard from '@poc/components/icons/IconCard.vue'; +import IconGlobe from '@poc/components/icons/IconGlobe.vue'; + const activeTheme = ref(0); const theme = useTheme(); diff --git a/web/satellite/vuetify-poc/src/layouts/default/ProjectNav.vue b/web/satellite/vuetify-poc/src/layouts/default/ProjectNav.vue index 72bb01539..81563b9ba 100644 --- a/web/satellite/vuetify-poc/src/layouts/default/ProjectNav.vue +++ b/web/satellite/vuetify-poc/src/layouts/default/ProjectNav.vue @@ -156,7 +156,7 @@ Access @@ -165,7 +165,7 @@ Team diff --git a/web/satellite/vuetify-poc/src/views/Bucket.vue b/web/satellite/vuetify-poc/src/views/Bucket.vue index 83b49794d..1b3a95d01 100644 --- a/web/satellite/vuetify-poc/src/views/Bucket.vue +++ b/web/satellite/vuetify-poc/src/views/Bucket.vue @@ -28,7 +28,7 @@ Upload File diff --git a/web/satellite/vuetify-poc/src/views/Dashboard.vue b/web/satellite/vuetify-poc/src/views/Dashboard.vue index 35cceb25a..48fd78e74 100644 --- a/web/satellite/vuetify-poc/src/views/Dashboard.vue +++ b/web/satellite/vuetify-poc/src/views/Dashboard.vue @@ -47,37 +47,37 @@ - + - + - + - + - + - + - + - + - + - +