The top nav of a project is built using
project.sitemap() which calls
sitemap() for all the tools, which frequently call their
sidebar_menu methods. Those may do a lot of unnecessary extra work, since all that is needed is the top menu.
Each app should also define a
main_menu() method. Let's make sure all of those are defined properly in our apps, and then make the top nav render only use those. Consider if
Project.sitemap is used elsewhere - maybe it can be simplified or maybe a new method needs to be created. Also see how
Project.menus is used.
Log in to post a comment.