Edgewall Software

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 Version 1

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 (last modified by Ryan J Ollos)

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 navigation items provided by plugins could be written to the section with a .order attribute. This might somehow be related to #11437.

Change History (1)

comment:1 by Ryan J Ollos, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.