From c719dc25793493c23055fca0414e54051791a660 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Thu, 5 Aug 2021 12:15:26 +0200 Subject: [PATCH] added details sidebar for multiple selection --- ...enhancement-add-multiple-selection-sidebar | 7 ++ .../src/components/SideBar/SideBar.vue | 75 ++++++++++++--- packages/web-app-files/src/index.js | 43 +++++++-- .../Details/FileDetailsMultiple.spec.js | 93 +++++++++++++++++++ 4 files changed, 199 insertions(+), 19 deletions(-) create mode 100644 changelog/unreleased/enhancement-add-multiple-selection-sidebar create mode 100644 packages/web-app-files/tests/unit/components/SideBar/Details/FileDetailsMultiple.spec.js diff --git a/changelog/unreleased/enhancement-add-multiple-selection-sidebar b/changelog/unreleased/enhancement-add-multiple-selection-sidebar new file mode 100644 index 00000000000..49b7f609108 --- /dev/null +++ b/changelog/unreleased/enhancement-add-multiple-selection-sidebar @@ -0,0 +1,7 @@ +Enhancement: Add multiple selection Sidebar + +We've changed the sidebar so if a user selects multiple files or folders +he sees a detailed view of his selection in the sidebar. + +https://github.com/owncloud/web/issues/5164 +https://github.com/owncloud/web/pull/5630 \ No newline at end of file diff --git a/packages/web-app-files/src/components/SideBar/SideBar.vue b/packages/web-app-files/src/components/SideBar/SideBar.vue index 8b4a8fc313d..0374697b0ea 100644 --- a/packages/web-app-files/src/components/SideBar/SideBar.vue +++ b/packages/web-app-files/src/components/SideBar/SideBar.vue @@ -16,7 +16,8 @@ :class="{ 'is-active': appSidebarActivePanel === panelMeta.app || (!appSidebarActivePanel && panelMeta.default), - 'sidebar-panel--default': panelMeta.default + 'sidebar-panel--default': panelMeta.default, + 'sidebar-multiple-selected': multipleSelected }" > - +