From b4f290f8a269f23116e2ab79bc3bda6d5e8108ce Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 29 Jan 2020 12:35:35 +0100 Subject: [PATCH] Show indirect link shares from parent resources Public link shares from parent resources are now shown in the public link share panel with a "via" link to jump to the parent resource. --- apps/files/src/components/FileLinkSidebar.vue | 101 +++++++++++++++++- apps/files/src/store/actions.js | 50 +++++---- changelog/unreleased/2897 | 6 +- .../shareByPublicLink.feature | 38 +++---- .../FilesPageElement/publicLinksDialog.js | 76 ++++++++++--- .../stepDefinitions/publicLinkContext.js | 56 ++++++---- 6 files changed, 239 insertions(+), 88 deletions(-) diff --git a/apps/files/src/components/FileLinkSidebar.vue b/apps/files/src/components/FileLinkSidebar.vue index cdf8c704355..18eeb5901f2 100644 --- a/apps/files/src/components/FileLinkSidebar.vue +++ b/apps/files/src/components/FileLinkSidebar.vue @@ -45,7 +45,57 @@ {{ link.name }}
- {{ link.description }} + {{ link.description }} + + + + + + + + + + + + + + + + + + +
+
+ Public Links Via Parent +
+ +
  • +
    + + + {{ $_getViaLabel(link) }} + +
    + + + + + + + {{ link.name }} +
    + + {{ link.description }} @@ -83,9 +133,12 @@