OSC / ondemand

Supercomputing. Seamlessly. Open, Interactive HPC Via the Web
https://openondemand.org/
MIT License
280 stars 104 forks source link

Disable sorting of (files) app links with navbar customizations #3814

Open robinkar opened 1 week ago

robinkar commented 1 week ago

It would be nice to have the possibility of disabling or customizing the sorting of nav_bar entries/subcategories in some cases.

In our case, we have a list of favorite paths for the files app, which we populate in the dashboard initializer in the order we would like them to appear, for example: Screenshot from 2024-09-23 10-06-32

However, after customizing the navbar, this is now automatically sorted to: Screenshot from 2024-09-23 10-06-12

The navbar above is specified as:

nav_bar:
  - files

It seems like #3344 introduced the automatic sorting of the menu entries.