diff --git a/changelog/unreleased/enhancement-tiles-view b/changelog/unreleased/enhancement-tiles-view new file mode 100644 index 00000000000..05fb5c1335c --- /dev/null +++ b/changelog/unreleased/enhancement-tiles-view @@ -0,0 +1,7 @@ +Enhancement: Add tiles view for resource display + +We've added a switch to change from the known resource table to a tiles view. +The change gets saved to the route and persisted across resource navigation. + +https://github.com/owncloud/web/pull/7991 +https://github.com/owncloud/web/issues/6378 diff --git a/packages/web-app-files/src/components/AppBar/AppBar.vue b/packages/web-app-files/src/components/AppBar/AppBar.vue index e5851394794..ce25f4b0aec 100644 --- a/packages/web-app-files/src/components/AppBar/AppBar.vue +++ b/packages/web-app-files/src/components/AppBar/AppBar.vue @@ -142,7 +142,11 @@ export default defineComponent({ if (!this.displayViewModeSwitch) { return [] } - return [ViewModeConstants.condensedTable, ViewModeConstants.default] + return [ + ViewModeConstants.tilesView, + ViewModeConstants.condensedTable, + ViewModeConstants.default + ] } }, mounted() { diff --git a/packages/web-app-files/src/components/FilesList/ResourceTable.vue b/packages/web-app-files/src/components/FilesList/ResourceTable.vue index 2f78d707014..c04549ee66a 100644 --- a/packages/web-app-files/src/components/FilesList/ResourceTable.vue +++ b/packages/web-app-files/src/components/FilesList/ResourceTable.vue @@ -1,5 +1,6 @@ - +