Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: Now, the upper bar of the inforcenter only contains one section for searching. Right side of this bar is empty. One extension point will be added, which will allow additional section to be added to the bar upside. Reproducible: Always
Would this be in the form of an extra frame?
(In reply to comment #1) > Would this be in the form of an extra frame? Yes, I think it's better to place it in an extra frame.
In that case we could use the extra frame extension point. AbstractFrame has a getLocation() method which can currently only take one value, BELOW_CONTENT. We could allow it to return a different value to indicate this new location.
I see, that's a good idea to reuse the extra frame extension point. And I also think in basic UI, it's useless to allow additional section in upside bar. So, shall we just support this function in advanced UI?
Just supporting it in advanced UI is fine.
Created attachment 152370 [details] Patch V1 I reuse the extra frame extension point to realize this function. A new frameset called 'HelpToolbarFrame' is added, which include 'SearchFrame' by default, and the additional section will also be included in 'HelpToolbarFrame'. Considering of the layout and size of helptoolbar frame, only one additional frame is allowed to add to helptoolbar frame. And one limitation of this patch is that, when content is too long in one frame, it will be truncated.
Patch is good in every respect. Committed to HEAD.