-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFE] quads-web ordered links on dynamic navbar #525
Comments
I think the ordering prefix is cleaner because we don't need to manage another file. Also, behavior-wise if items don't have it then they can just land where they land. |
sadsfae
pushed a commit
that referenced
this issue
Sep 26, 2024
The order of menu elements is builtins, followed by submenus, followed by html and direct link files. For submenus, you can name them using numerical prefixes. For example, if you have in /opt/quads/web: 1_Tickets 2_Docs Foo Bar The submenus will be named: Tickets Docs Bar Foo with the numbered elements listed first, sorted and numbers stripped off, followed by the unnumbered elements also sorted but being listed after the numbered submenus Within each menu, the same logic is used to sort the html and direct links. Fixes: #525 Change-Id: I1d9c22969531ad44b68f796852c6d313a4ab6c4f
This is resolved in 28613db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
There is no ordering on the way that the links are displayed when being picked up by the dynamic navbar generation.
Describe the solution you'd like
Add some logic to the dynamic navbar generation to expect an integer prefix on the file names with the index for the order like:
Describe alternatives you've considered
Alternatively we can keep the file names as are and have the dynamic bar generation look for a
.order
file with the required order for the links.The text was updated successfully, but these errors were encountered: