Opened 9 years ago
Last modified 9 years ago
#11956 closed enhancement
Replace [trac] mainnav and [trac] metanav with order attributes of the corresponding sections — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.5 |
Component: | general | Version: | |
Severity: | normal | Keywords: | navigation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Since we have [mainnav]
and [metanav]
sections in trac.ini, it seems odd to have the order of the entries still determined through the [trac]
mainnav
and metanav
options. Instead we could add an .order
attribute to each option in the [mainnav]
and [metanav]
section.
This might also give us a way to address the issue of the names of the items being undocumented, particularly for plugins (gmessage:trac-users:rGMQ0XPRsww/8Rm85C0F8wQJ). Perhaps all the items could be written to the section with a .order
attribute. This might somehow be related to #11437.