[Cosmo-dev] [contribution]patch for bug 7767, library to support
resizing, splitters, and moveable dialogs.
Matthew Eernisse
mde at osafoundation.org
Wed May 16 07:35:07 PDT 2007
Jeremy,
I've had a look at the patch, and it's solid.
The UI-reflow when the window resizes (which we have that open bug for)
and resizing splitters are extremely critical long-term needs for the
the Web UI. Your code fills those feature holes nicely, and does it in
an extremely modular and non-intrusive way.
It's optimal timing, because I currently have the UI-rendering code
jacked up to implement the switching between calendar and list view.
You've already done most of the integration work -- I'll converge your
patch with all the work I've done to get the last of the calendar-canvas
code out of cal_main.js, and commit it.
Excellent work, and thank you very, very much for this contribution.
Matthew
Jeremy Epstein wrote:
> Hello everyone.
>
> Attached you will find a Subversion patch file to trunk. This patch
> provides a simple library to cleanly handle dynamic resizing of DOM
> elements. It allows developers to introduce splitters, and create things
> such as moveable, resizable windows from any block level primitive. The
> library follows OSAF coding standards and minimally integrates with the
> dojo package system (it does not depend on any dojo framework
> components). I took the liberty of integrating into the current trunk (
> obviously not committing) for integration testing etc...
> This library can create resizeable elements from special attributes in
> mark up (declaratively) and also via javascript calls (procedurally)
>
> Incorporating this patch specifically addresses bug 7767,
> "Resize/re-flow UI when window is resized.".
> Matthew briefly evaluated this code yesterday to see if there are any
> major issues. If anyone has detailed questions about any of the inner
> workings, I'd be happy to explain. You will find a test/prototype in
> resize.zip. Open the HTML file to see an example showing a live sketch
> of how the major parts of the current UI might use this library.
>
> Jeremy
More information about the cosmo-dev
mailing list