Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Facilitate navigation #133

Open
meshy opened this issue May 21, 2018 · 0 comments
Open

Facilitate navigation #133

meshy opened this issue May 21, 2018 · 0 comments

Comments

@meshy
Copy link
Owner

meshy commented May 21, 2018

Currently, the data model doesn't allow for routes within a level of a hierarchy to be organised. They will always be output in alphabetical order. We could switch over to using MPTT on the Route model for this, but I'd rather not. Perhaps I'm just being stubborn.

Separating the navigation from the Route model would allow us to represent nav structures that differ from the URL hierarchy. For example, "Home" (/) may be presented alongside "About" (/about/), and "News" (/news/) despite being on a different level.

MPTT may be a good fit for this (on a separate model, perhaps Navigation), but if there are alternative (ideally simpler) algorithms, I'd love to know about them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant