owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
447 stars 157 forks source link

Allow configuring default file view #11962

Open dwhite5914 opened 4 days ago

dwhite5914 commented 4 days ago

Is your feature request related to a problem? Please describe.

In our lab, we use this product as a file share solution, making heavy use of the "Spaces" tab. In this setup, we find the "List View" to be the most useful option for viewing files of the available options: "List", "Compact List", "Tiles". I wish there was some way to configure this as the default view, which currently defaults to "Tiles" with no option to change it unless set manually by the user.

Describe the solution you'd like

As an admin, I would like to be able to configure the default file view option from the available options: "List", "Compact List", or "Tiles". This could be achieved via configuration file or environment variable. For instance, in docker compose: OCIS_DEFAULT_FILE_VIEW: "List".

Describe alternatives you've considered

N/A

Additional context

This should apply generally, but I am using a three container podman setup with OCIS server, OCIS Collaboration Server, and OnlyOffice Document Server.

micbar commented 3 days ago

@kulmann @JammingBen @AlexAndBear Can you think about this proposal please?

AlexAndBear commented 3 days ago

@micbar We do save this setting(s) in the local storage

image

So, it's a setting; we do persist. I am figuring out the actual use case for having it pre-configured when the user has the free choice.

But technically spoken, quite possible 🤔