filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

FR: Customize sidebar menu

Open baur opened this issue 9 months ago • 8 comments

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

I would like the option to hide the share button to keep the interface minimalistic. Currently, there is no way to remove it

Image

Describe the solution you'd like

Please provide a setting to hide the share button, allowing users to customize the interface based on their needs.

Additional context

Ideally, it would be great to have a toggle setting for each function, allowing to customize the interface.

baur avatar Mar 14 '25 04:03 baur

Same for

  • Toggle single click
  • Toggle sticky sidebar
  • Switch view
  • Toggle dark mode
  • Select multiple
  • Whole side bar - allow hide sidebar

But allow set via config default values

baur avatar Mar 14 '25 05:03 baur

But Whole sidebar is not suitable, so here is the source selector.

baur avatar Mar 14 '25 05:03 baur

a very simple approach is to assign a unique class name to each element and hide it using custom CSS.

baur avatar Mar 14 '25 06:03 baur

The "share" view hides a lot of this and has its own style.

Just to help understand, why would you want some users to hide things like switch view, toggle dark mode?

I could see the utility of disabling the sidebar -- and customizing the sidebar's option.

But I think I'll need convincing for disabling "select multiple" and "switch view" which are basic UI functions I don't see a reason to omit.

gtsteffaniak avatar Mar 27 '25 12:03 gtsteffaniak

I'd like to keep the interface minimalistic. In my case, 80% of the time, the app is primarily used for sharing files with users, but not through the "share" button, but via user authorization. Access is controlled based on user roles, which can be centrally managed. These users only need to view and download files, so additional functions may only add unnecessary complexity.

I understand that the app shouldn't be overcomplicated with rarely used features. A better approach would be to allow elements to be hidden using unique CSS class IDs and enabling custom styling. In the original repository, I achieved this in a similar way, but it was quite challenging due to the absence of class IDs.

baur avatar Mar 29 '25 08:03 baur

Here is my related issue on the original repository:

https://github.com/filebrowser/filebrowser/issues/2604

🪦

baur avatar Mar 29 '25 08:03 baur

Pardon, I see that it's possible via Permissions. I think this issue can be closed

baur avatar Mar 29 '25 08:03 baur

I'm going to keep it open as a feature to customize the sidebar and UI more.

It's a good idea! Even separately from permissions

gtsteffaniak avatar Mar 29 '25 13:03 gtsteffaniak