FLUID-4904: Determine the schema for preferences that are new to the latest UIO wireframes

Metadata

Source
FLUID-4904
Type
Sub-task
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
y z
Created
2013-01-18T11:43:19.665-0500
Updated
2013-10-04T09:19:05.187-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. UI Options

Description

Latest wireframes can be found here: http://wiki.fluidproject.org/display/fluid/User+Interface+Options+design+high+fidelity%2C+C.1
This is similar to FLUID-4903 but deals specifically with the settings which have yet to be implemented in UIO/UIE.

A UIO builder (FLUID-4907) will make use of a primary schema, in json schema format, and an "auxiliary schema" (FLUID-5061) to construct grades used by UIO to determine the settings panels, enactors, and etc. used.

Goals of the schema:
1 enable entire work of constructing a UIO component with completely declarative information
2 harmonize with work in GPII - Common Terms Registry - create a stable and global identity for every pref in a UIO panel

The schema will contain information describing the setting(s). The primary schema will be the version used by UIO/UIE and will not necessarily be identical to that of the one stored in the GPII - Common Terms Registry. Any discrepancies between the two is assumed to be handled by transformations through the "ontology manager". An "ontology transformation document" will be provided to facilitate the transformation. This means that the values and formats of the primary schema should not require any further transformations to be used by the UIO builder. All other information required to construct a component will be provided in the "auxiliary schema". This "auxiliary schema" is not required to be in json schema format nor will it be in a typcial IoC structure. It will be a json structure that is flate, easily transformable, and easily written.

The grade(s) created by the UIO builder will likely resemble those already created for the various starter grades used by UIE and UIO.

Example of the schema:
{
"type": "object",
"properties": {
"fluid.uiOptions.textSizer": {
"type": "number",
"default": 1,
"minimum": 1,
"maximum": 2,
"divisibleBy": 0.1
}
}
}

More info on the mailing list:
http://lists.idrc.ocad.ca/pipermail/fluid-work/2013-June/009115.html

Comments