datopian / datahub

🌀 Rapidly build rich data portals using a modern frontend framework
https://www.portaljs.org
MIT License
2.2k stars 328 forks source link

Change the order of files on my sidebar (currently alphabetical) #1241

Closed Daniellappv closed 1 month ago

Daniellappv commented 3 months ago

Acceptance

Image

Eg. i want to put the main docs screen at the top and be able to change the order of the tutorials in a way it makes sense.

Same goes for eg. my blog:

https://datahub.io/@Daniellappv/datahub-cloud-template-pkm

Hello is somewhere in the middle...

devansh-m12 commented 3 months ago

can i work on this issue ?

Daniellappv commented 3 months ago

@devansh-m12 please do

cc @olayway

olayway commented 3 months ago

As discussed yesterday, the sidebar is mostly going to be used by PKM audience, and I don't think there is a better way to display pages in the sidebar other than alphabetically. Of course, it is possible to add support for modifying that order, but is this what we really need? I'd wait until someone reports such a need.

One think worth considering though as raised by @Daniellappv is moving README.md/index.md files to the very top/bottom maybe. But if we stick to alphabetical sorting having some outcast that is out of order (as we'd still display it's title which can be anything) would be weird. We'd end up with sth like this:

olayway commented 1 month ago

WONTFIX