VersionThreeDotO/UI/Conversion

Not logged in - Log In / Register

Revision 1 as of 2009-08-03 15:52:35

Clear message

===================== UI 3.0 implementation =====================

A primer about the 3.0 UI and how we go about doing it.

NOTE. this is not the time to start template conversion. This is the time to start proposing designs (images or screencaps) to get approval to change templates.

There are some bugs that must be fixed before layouts changes can start:

We want to minimise the number of developers writing HTML and CSS until there are more HTML examples and CSS rules in place.

======= Layouts


locationless: A page without tabs, search, or side portlets

searchless: A page without global search or side portlets

main_only: A page without side portlets

main_side: A page with everything

========================= Estimate conversion table


256 context/@@main_template/master main_?? 158 onecolumn main_??

================================= Converting a template to a layout


* Choose the layout

* Mechanical changes

* Design changes

* Implementation changes

* Test changes.

======= 3.0 CSS


Launchpad is using classes for styling, ids are used for testing and scripts. YUI is doing layout, Launchpad is decorating the layout, so many divs will have a yui and a launchpad class.

YUI (layout)

Launchpad (decoration)

There are may css classes we have not written yet because we have not discovered all the kinds of html structures we need to make the layout consistent.

============== Example layout


A common layout will be an intro on top of two columns of content. You can see examples of the four layouts in lib/lp/app/browser/tests/testfiles/

<html

</html>

=========================== Infrastructure improvements


The MenuAPI needs performance fixing. Once we start rendering, link states should never be re-calculated. There should be no cost to using a menu in three templates to render a page.