From eff2afea69667c7c44f2f9a11cee3bd7a548691c Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Wed, 19 Jul 2023 02:11:27 +0100 Subject: [PATCH] Improve sharing flow Resolves: https://github.com/nextcloud/server/issues/26691 Signed-off-by: fenn-cs --- .../src/components/SharingEntry.vue | 240 +---- .../src/components/SharingEntryLink.vue | 202 +--- .../SharingEntryQuickShareSelect.vue | 184 ++++ .../src/components/SharingEntrySimple.vue | 4 +- .../src/components/SharingInput.vue | 10 +- .../src/lib/SharePermissionsToolBox.js | 1 + apps/files_sharing/src/mixins/ShareDetails.js | 23 + .../files_sharing/src/mixins/ShareRequests.js | 18 +- apps/files_sharing/src/mixins/SharesMixin.js | 26 +- apps/files_sharing/src/utils/SharedWithMe.js | 10 +- .../src/views/SharingDetailsTab.vue | 938 ++++++++++++++++++ .../src/views/SharingLinkList.vue | 6 +- apps/files_sharing/src/views/SharingList.vue | 22 +- apps/files_sharing/src/views/SharingTab.vue | 47 +- 14 files changed, 1325 insertions(+), 406 deletions(-) create mode 100644 apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue create mode 100644 apps/files_sharing/src/mixins/ShareDetails.js create mode 100644 apps/files_sharing/src/views/SharingDetailsTab.vue diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 46b65c695eede..8e73f530e0919 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -29,139 +29,62 @@ :menu-position="'left'" :url="share.shareWithAvatar" /> - -