W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 2013

ReSpec UI, for the curious

From: Robin Berjon <robin@w3.org>
Date: Fri, 27 Sep 2013 18:51:48 +0200
Message-ID: <5245B7A4.8000807@w3.org>
To: "spec-prod@w3.org" <spec-prod@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:19 UTC