From b2c9a1eee8289129c88ff672d30505bf1ec047d8 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Fri, 20 Sep 2024 09:30:21 +0200 Subject: [PATCH] feat: move permanent link to top right of sharing sidebar panel --- .../src/components/Shares/CopyPrivateLink.vue | 9 ++++--- .../Shares/Collaborators/EditDropdown.vue | 6 ++--- .../SideBar/Shares/Collaborators/ListItem.vue | 6 +---- .../components/SideBar/Shares/FileShares.vue | 19 ++++++++------- .../SideBar/Shares/SpaceMembers.vue | 6 +---- .../CopyPrivateLink.spec.ts.snap | 24 +------------------ .../__snapshots__/FileShares.spec.ts.snap | 21 +++++++++------- 7 files changed, 32 insertions(+), 59 deletions(-) diff --git a/packages/web-app-files/src/components/Shares/CopyPrivateLink.vue b/packages/web-app-files/src/components/Shares/CopyPrivateLink.vue index eeb320c672c..4653b38f955 100644 --- a/packages/web-app-files/src/components/Shares/CopyPrivateLink.vue +++ b/packages/web-app-files/src/components/Shares/CopyPrivateLink.vue @@ -1,10 +1,9 @@ @@ -35,13 +34,13 @@ export default defineComponent({ }) } - const helperText = computed(() => { + const tooltip = computed(() => { return $gettext( 'Copy the link to point your team to this item. Works only for people with existing access.' ) }) - return { copied, helperText, copyLinkToClipboard } + return { copied, tooltip, copyLinkToClipboard } } }) diff --git a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditDropdown.vue b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditDropdown.vue index 312050ef4ae..b8ce30483ba 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditDropdown.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditDropdown.vue @@ -1,6 +1,6 @@