[Cosmo-dev] More Cosmo UI Status

Matthew Eernisse mde at osafoundation.org
Thu May 17 16:50:22 PDT 2007


Cosmo folks,

I'll chime in here with my status too. I've been refactoring the 
hairball of code that loads events and renders the UI.

My cleanup work will allow us to do the toggling between calendar and 
dash view, and will have the added benefit of making the UI re-render 
properly when you resize the browser window.

After I'm done, UI rendering will happen in three phases:

1. Set up the base UI layout -- the three columns that all the UI 
widgets sit in.
2. Load the needed data from the server -- e.g., fetch events for the 
cal view.
3. Populate the base layout with widgets using the data from the server.

The new rendering code does recursive composition, meaning the base 
layout knows what components it contains, and rendering it will trigger 
rendering of all its subcomponents, and so on, out to all of the 
branches of the layout tree.

I've got the UI loading again, and the cal canvas rendering. Everything 
reflows now when you resize the browser window.

Here's what's left for me to do:
1. Pull the go-to date out of the old detail-view form code, and either 
bundle it in with minical, or make it its own little widget.
2. Hook the collection selector up so that it actually changes collections.
3. The top menubar. (This should also fix that pesky bug where the 
signup graphic keeps showing up under the subscription selector.)

After that I'll move on to building out the new stamped detail-view form.


Matthew




More information about the cosmo-dev mailing list