Community
Participate
Working Groups
Consider the "new favorite" icon in the favorites section. We currently don't have a distinctive way to collect parameters from a section. We probably want a slideout/folddown, etc. This is even more necessary in the new section pages like the repo page, preferences, etc. This parameter collector is independent of the global page architecture, so it needs to be implemented in its own file. We are probably going to have to come up with a shared scheme that maps section heading CSS classes, id's etc. so that the collector can recognize a page section and insert the parameter collection in a well known place.
this also means the command framework needs to handle multiple collectors. Most of the infrastructure is there
I don't expect to have mockups from Linda on this issue until after M2. Should be an RC1 item.
while doing this, consider whether there's anything to be gained from making these "panes" <section> elements in HTML and therefore the header/parameter collector would be a <header> for a <section>. I believe that the HTML generated for the settings and repo pages are using sections, but I know for sure that the auxiliary panes (favorites, git status panes, etc.) are creating their own. We could consider changing mUtil.createPaneHeading to be something like mUtil.createSection and then you'd get all the stuff in a common template.
pushed fix. The main changes here are: - main toolbar slideout is now always on left and colored gray (per Linda mockups). There is still some tweaking to do of width, margin, buttons, etc. which is covered in other bugs. - section slideouts can now be used. There is some tweaking of the layout I need to do - if a slideout is not available, a dijit tooltip dialog is used near the command I verified the following: - existing command slideouts are still working for main toolbar - home grown slideouts (text find/replace and search preview) are still working - implemented "Add" on the favorites section heading as a slideout - for commands that appear in toolbars and menus, I verified that the command parameter collector works for both. (for example, New Folder is a slideout in the main toolbar and a tooltip dialog in the rows.) Szymon - the slideout stuff "just works" for favorites, git status, etc. because they use mUtil.createPaneHeading to create common HTML templates for the section heading, commands, and slideouts. Since you are generating your HTML in your own way, we have some work to get your stuff using section slideouts. The command parameter collector is using CSS classes to "find" the appropriate slideout given a dom node. So you need to make sure a template similar to that in mUtil.createPaneHeading is in place. Ideally you would just call createPaneHeading so we can evolve this utility method if it's not right for your needs. I can work with you tomorrow on all this.