diff --git a/changelog/unreleased/enhancement-split-sidebar-direct-indirect-linkshares b/changelog/unreleased/enhancement-split-sidebar-direct-indirect-linkshares new file mode 100644 index 00000000000..f1f9b3b8e2b --- /dev/null +++ b/changelog/unreleased/enhancement-split-sidebar-direct-indirect-linkshares @@ -0,0 +1,6 @@ +Enhancement: Separate direct and indirect link shares in sidebar + +We have split the list of link shares into two lists, one with direct (and editable) and another one with read-only indirect link shares of parent folders for better structure in the sidebar. + +https://github.com/owncloud/web/pull/7140 +https://github.com/owncloud/web/issues/7132 diff --git a/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue b/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue index 01447697cfb..a32c84dcaea 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue @@ -53,8 +53,8 @@ :available-role-options="availableRoleOptions" :can-rename="true" :expiration-date="expirationDate" - :is-folder-share="link.indirect || highlightedFile.isFolder" - :is-modifiable="canEdit && !link.indirect" + :is-folder-share="highlightedFile.isFolder" + :is-modifiable="canEdit" :is-password-enforced="isPasswordEnforcedFor(link)" :link="link" @updateLink="checkLinkToUpdate" @@ -63,7 +63,44 @@
https://some-url.com/abc
@@ -13,7 +13,7 @@ exports[`NameAndCopy should show link info component including a copy-to-clipboa exports[`NameAndCopy upon clicking it should copy the private link to the clipboard button, render a success message and change icon for half a second 1`] = `Copied
@@ -24,7 +24,7 @@ exports[`NameAndCopy upon clicking it should copy the private link to the clipbo exports[`NameAndCopy upon clicking it should copy the private link to the clipboard button, render a success message and change icon for half a second 2`] = `https://some-url.com/abc