Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Figure below shows some config dependencies - A effects B and C, each of which effects DE and FG respectively.

 Image Added

Now assume user changes B to B' - a call to /recommendations will only change D and E to D' and E' respectively (AB'CD'E'FG). No other config will be changed. Now assume that C is changed to C' - /recommendations will only change F and G to F' and G' while still keeping the values of B' D' E' intact (AB'C'D'E'F'G'). Now if you change A to A', it will affect all its children (A'B''C''D''E''F''G''). The user will have chance to pick and choose which he wants to apply.

...

Appendix

Appendix A - Widget Non-UI Metadata

...

WidgetMetadata Used
Slider
<value-attributes>
<type>int</type>
<minimum>1073741824</minimum>
<maximum>17179869184</maximum>
<unit>B</unit>
<increment-step>1073741824</increment-step>
</value-attributes>
Combo, List
<value-attributes>
<type>value-list</type>
<entries>
<entry>
<value>2</value>
</entry>
<entry>
<value>4</value>
</entry>
<entry>
<value>8</value>
</entry>
</entries>
<selection-cardinality>1</selection-cardinality>
</value-attributes>
List
<value-attributes>
<type>value-list</type>
<entries>
<entry>
<value>2</value>
</entry>
<entry>
<value>4</value>
</entry>
<entry>
<value>8</value>
</entry>
</entries>
<selection-cardinality>2+</selection-cardinality>
</value-attributes>
Time Interval Spinner
<value-attributes>
<type>int</type>
<minimum>0</minimum>
<maximum>2592000000</maximum>
<unit>milliseconds</unit>
</value-attributes>
Toggle, Checkbox
<value-attributes>
<type>value-list</type>
<entries>
<entry>
<value>true</value>
<label>Native</label>
</entry>
<entry>
<value>false</value>
<label>Off</label>
</entry>
</entries>
<selection-cardinality>1</selection-cardinality>
</value-attributes>
Directory, Directories, Password, Text Field, Text AreaNo value-attributes required
Radio-Buttons
<value-attributes>
<type>value-list</type>
<entries>
<entry>
<value>1</value>
<label>Radio Option 1</label>
</entry>
<entry>
<value>2</value>
<label>Radio Option 2</label>
</entry>
<entry>
<value>3</value>
<label>Radio Option 3</label>
</entry>
</entries>
<selection-cardinality>1</selection-cardinality>
</value-attributes>

...