Hi all,
as indicated in my previous post, I have created the first client application for the JSON API: a new UI for the test framework. You can visit it at:
http://w3c-test.org/framework/app/
This is a completely client-side Web application: once you've loaded the assets on any page you visit, it only interacts with the network in order to talk to the backend's API.
You can do the usual stuff: explore suites and specs, run tests, see results. If you're logged in you can edit and create stuff too.
The design is pretty much stock Bootstrap. It can be easily tweaked. Before anyone screams: I am not a designer and there probably are a multitude of issues with this look. If there's anything you don't like â€” be it trivial or serious â€” just tell me, explain the issue, and I'll fix it.
It doesn't have absolutely complete feature-parity with the previous UI, but the only thing missing is the ability to see results details â€” and adding that is a small task. The code is a fair bit less clean than I'd like it to, but I know how to clean it up and will be doing so.
A number of improvements are in the pipeline for this, most notably the ability to run test suites in either object or iframe at direct choice and mobile-compatibility.
People who wish to build their own system on the HTTP JSON API that the TF now exposes can look at the api.js file which wraps it in a simple programmable API (and can be reused).
Feedback much welcome!
--
Robin Berjon - http://berjon.com/ - @robinberjon