From dd3779a623bc4076cdcd05abe1df36286e8cc415 Mon Sep 17 00:00:00 2001 From: Jeremy Wharton Date: Sat, 7 Oct 2023 23:01:05 -0500 Subject: [PATCH] web/satellite/vuetify-poc: invite through all projects dashboard This change allows project owners to invite members through the all projects dashboard. Resolves #6394 Change-Id: Id36d21432ab7b18532679e900d3e00c52fa21fc9 --- .../src/components/ProjectCard.vue | 7 +- .../dialogs/AddTeamMemberDialog.vue | 162 ++++++++++++++++++ .../vuetify-poc/src/views/Projects.vue | 31 ++-- web/satellite/vuetify-poc/src/views/Team.vue | 157 +---------------- 4 files changed, 185 insertions(+), 172 deletions(-) create mode 100644 web/satellite/vuetify-poc/src/components/dialogs/AddTeamMemberDialog.vue diff --git a/web/satellite/vuetify-poc/src/components/ProjectCard.vue b/web/satellite/vuetify-poc/src/components/ProjectCard.vue index 4dcb26d37..cfb8bcf95 100644 --- a/web/satellite/vuetify-poc/src/components/ProjectCard.vue +++ b/web/satellite/vuetify-poc/src/components/ProjectCard.vue @@ -60,7 +60,7 @@ - + @@ -112,8 +112,9 @@ const props = defineProps<{ }>(); const emit = defineEmits<{ - 'joinClick': []; - 'createClick': []; + joinClick: []; + createClick: []; + inviteClick: []; }>(); const analyticsStore = useAnalyticsStore(); diff --git a/web/satellite/vuetify-poc/src/components/dialogs/AddTeamMemberDialog.vue b/web/satellite/vuetify-poc/src/components/dialogs/AddTeamMemberDialog.vue new file mode 100644 index 000000000..aa8cc162b --- /dev/null +++ b/web/satellite/vuetify-poc/src/components/dialogs/AddTeamMemberDialog.vue @@ -0,0 +1,162 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + + + diff --git a/web/satellite/vuetify-poc/src/views/Projects.vue b/web/satellite/vuetify-poc/src/views/Projects.vue index 571a4a05f..eea3f14c5 100644 --- a/web/satellite/vuetify-poc/src/views/Projects.vue +++ b/web/satellite/vuetify-poc/src/views/Projects.vue @@ -91,7 +91,7 @@ - + @@ -103,6 +103,7 @@ :name="joiningItem.name" /> +