Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New skin #57
There's some majors changes besides the visual aspect:
New priority property
It can also be defined from the controller :
public $components = array( 'DebugKit.Toolbar' => array( 'panels' => array('history' => array('priority') => 1) ) );
By default, these panels have a priority greater than
Use Blocks for displaying panels contents
All panels' content are put in a panelContent block, and are displayed with an
Panel can also override the title, by assigning something to panelTitle block. The original title is available in the panel's element, via
Panel priority is also available inside panel's element with
When pertinent, panels should set the
Some panels will always have the same title, regarding of the priority, because there's nothing more to display.
Currently, among the panels with priority 0, only the include panel has a different title when its priority greater than 0 (display the number of included files). Promoting other panels will just move the panel to the right side.
Var panel title doesn't reflect the total number of variables in the views. It does not takes into account the global vars :
I have also split the variables list inside the panel into 2 blocks.
Room for improvement
Panel order issue fixed.
Panels are ordered by priority. Same priority panels keep their order, first declared first displayed.
To resolve the css float right issue that was displaying the panels in the reverse order, I split the
Finally, maybe we could increase the left panels title to 12 px ?