ReSpec UI, for the curious

Hi all,

a number of folks here were interested in the ReSpec UI idea. It's not 
currently finished, but I've started work on it in the "ui" branch. If 
you want to check it out and play with the notion, switch to that branch 
and load up examples/basic.html.

You get a pill for errors and warnings which opens a modal when clicked. 
You also have a menu to save (which doesn't do anything useful yet).

All the wiring is there to support adding arbitrary numbers of 
UI-related modules. The idea is that they all go under the ui/* module 
namespace, and so do not get integrated into the build. Instead of that, 
they are loaded at runtime only when needed (from the repo you're using 
if in dev mode, from darobin.github.io if in a build). This allows us to 
go wild with features there without making the script any heavier — in 
fact it will soon lead to the removal of all the tree serialisation 
code, which removes something like 12K of the source.

The core/ui module has some notes about the next steps. I hope to get 
some time next week to finish this up since I'm travelling.

In the meantime, feel free to start going wild :)

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Friday, 27 September 2013 16:51:56 UTC