InseeFrLab / onyxia

🔬 Data science environment for k8s
https://onyxia.sh
MIT License
441 stars 79 forks source link

Provide the ability to show or hide items in the LeftBar (dashboard) #860

Open mickaelbaron opened 2 hours ago

mickaelbaron commented 2 hours ago

Hi,

Our current on-premise instance of Onyxia does not yet use Files (S3) feature. There is a '/my-files' shortcut on the LeftBar that leads to a dialog box indicating that S3 is not configured. It would be cool to offer the possibility of adding an entry here (https://github.com/InseeFrLab/onyxia/blob/main/web/.env) to toggle its display.

I believe this feature could be apply to both the 'My Files' and 'Data Explorer' shortcuts.

What do you think about this feature?

garronej commented 2 hours ago

Yes I'm ok with the idea, it has been requested already.

In the meantime you can do:

a[href="/my-files"] {
    display: none;
}

https://youtu.be/NrVuVXsbloA?si=gP0q41vwINL3iWVB&t=1072