Problem
There are quite a few structured display groups (such as menu's) in Open Social. An example is the group local tasks that lets users switch between the group about page and group content (among others). Currently a lot of these menu's have no explicit ordering (using the #weight property). This can cause the order of the menu items to change between releases and makes it difficult to add your own menu item in a specific spot.
Solution
Ensure that any menu's (or render arrays where order could be important) that are introduced or managed by Open Social provide their items with a #weight property that is sufficiently spaced for other modules or projects to add their own items.
Tasks
- #3010778: Ensure group local tasks have proper weights
- #3010780: Ensure user menu local tasks have proper weighting
- #3010782: Ensure search menu local tasks have proper weights
If you find more places where this occurs (e.g. a menu or a specific form) then please create an issue with this issue as parent and add them to the list above.
Comments
Comment #2
kingdutchAdded the tasks that I have found so far.
Comment #3
kingdutch