@@ -233,7 +233,7 @@ export default {
}
},
methods: {
- ...mapActions('Files', ['setHighlightedFile', 'loadPreview', 'loadVersions']),
+ ...mapActions('Files', ['loadPreview', 'loadVersions']),
...mapMutations('Files', ['SET_APP_SIDEBAR_ACTIVE_PANEL']),
expandPeoplesAccordion() {
this.SET_APP_SIDEBAR_ACTIVE_PANEL('sharing-item')
diff --git a/packages/web-app-files/src/components/SideBar/Details/FileDetailsMultiple.vue b/packages/web-app-files/src/components/SideBar/Details/FileDetailsMultiple.vue
new file mode 100644
index 00000000000..b0f29cf47cd
--- /dev/null
+++ b/packages/web-app-files/src/components/SideBar/Details/FileDetailsMultiple.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
diff --git a/packages/web-app-files/src/components/SideBar/SideBar.vue b/packages/web-app-files/src/components/SideBar/SideBar.vue
index 345ed543b8e..b3eafe0b1de 100644
--- a/packages/web-app-files/src/components/SideBar/SideBar.vue
+++ b/packages/web-app-files/src/components/SideBar/SideBar.vue
@@ -1,6 +1,5 @@
+
+
+
+
+
+
@@ -44,7 +44,11 @@
-
-
diff --git a/packages/web-app-files/src/views/Personal.vue b/packages/web-app-files/src/views/Personal.vue
index dd0662eea9e..65cd7e6927e 100644
--- a/packages/web-app-files/src/views/Personal.vue
+++ b/packages/web-app-files/src/views/Personal.vue
@@ -25,9 +25,8 @@
:are-thumbnails-displayed="displayThumbnails"
:resources="activeFiles"
:target-route="targetRoute"
- :highlighted="highlightedFile ? highlightedFile.id : null"
:header-position="headerPosition"
- @showDetails="$_mountSideBar_showDetails"
+ @showDetails="$_mountSideBar_showDefaultPanel"
@fileClick="$_fileActions_triggerDefaultAction"
@rowMounted="rowMounted"
>
@@ -271,7 +270,8 @@ export default {
const resource = this.activeFiles.find(r => r.name === resourceName)
if (resource) {
- this.$_mountSideBar_showDetails(resource)
+ this.selected = [resource]
+ this.$_mountSideBar_showDefaultPanel(resource)
this.scrollToResource(resource)
}
})
diff --git a/packages/web-app-files/src/views/PublicFiles.vue b/packages/web-app-files/src/views/PublicFiles.vue
index 6ecc0fce021..40ee033674d 100644
--- a/packages/web-app-files/src/views/PublicFiles.vue
+++ b/packages/web-app-files/src/views/PublicFiles.vue
@@ -25,9 +25,8 @@
:are-thumbnails-displayed="displayThumbnails"
:resources="activeFiles"
:target-route="targetRoute"
- :highlighted="highlightedFile ? highlightedFile.id : null"
:header-position="headerPosition"
- @showDetails="$_mountSideBar_showDetails"
+ @showDetails="$_mountSideBar_showDefaultPanel"
@fileClick="$_fileActions_triggerDefaultAction"
@rowMounted="rowMounted"
>
diff --git a/packages/web-app-files/src/views/SharedViaLink.vue b/packages/web-app-files/src/views/SharedViaLink.vue
index d0a3fa46ec8..dd401fd7450 100644
--- a/packages/web-app-files/src/views/SharedViaLink.vue
+++ b/packages/web-app-files/src/views/SharedViaLink.vue
@@ -21,9 +21,8 @@
:are-thumbnails-displayed="displayThumbnails"
:resources="activeFiles"
:target-route="targetRoute"
- :highlighted="highlightedFile ? highlightedFile.id : null"
:header-position="headerPosition"
- @showDetails="$_mountSideBar_showDetails"
+ @showDetails="$_mountSideBar_showDefaultPanel"
@fileClick="$_fileActions_triggerDefaultAction"
@rowMounted="rowMounted"
>
diff --git a/packages/web-app-files/src/views/SharedWithMe.vue b/packages/web-app-files/src/views/SharedWithMe.vue
index e8f85483f6c..05b7036f4b6 100644
--- a/packages/web-app-files/src/views/SharedWithMe.vue
+++ b/packages/web-app-files/src/views/SharedWithMe.vue
@@ -23,9 +23,8 @@
:are-thumbnails-displayed="displayThumbnails"
:resources="activeFiles"
:target-route="targetRoute"
- :highlighted="highlightedFile ? highlightedFile.id : null"
:header-position="headerPosition"
- @showDetails="$_mountSideBar_showDetails"
+ @showDetails="$_mountSideBar_showDefaultPanel"
@fileClick="$_fileActions_triggerDefaultAction"
@rowMounted="rowMounted"
>
diff --git a/packages/web-app-files/src/views/SharedWithOthers.vue b/packages/web-app-files/src/views/SharedWithOthers.vue
index fb307e3d37e..b8064be9ef8 100644
--- a/packages/web-app-files/src/views/SharedWithOthers.vue
+++ b/packages/web-app-files/src/views/SharedWithOthers.vue
@@ -23,9 +23,8 @@
:are-thumbnails-displayed="displayThumbnails"
:resources="activeFiles"
:target-route="targetRoute"
- :highlighted="highlightedFile ? highlightedFile.id : null"
:header-position="headerPosition"
- @showDetails="$_mountSideBar_showDetails"
+ @showDetails="$_mountSideBar_showDefaultPanel"
@fileClick="$_fileActions_triggerDefaultAction"
@rowMounted="rowMounted"
>
diff --git a/packages/web-app-files/src/views/Trashbin.vue b/packages/web-app-files/src/views/Trashbin.vue
index 4d96b632e21..73670b59193 100644
--- a/packages/web-app-files/src/views/Trashbin.vue
+++ b/packages/web-app-files/src/views/Trashbin.vue
@@ -21,10 +21,9 @@
:are-paths-displayed="true"
:are-thumbnails-displayed="false"
:resources="activeFiles"
- :highlighted="highlightedFile ? highlightedFile.id : null"
:are-resources-clickable="false"
:header-position="headerPosition"
- @showDetails="$_mountSideBar_showDetails"
+ @showDetails="$_mountSideBar_showDefaultPanel"
>
|