FLUID-4531: Refactor UIOptions to aggregate individual options handlers as "ants"

Metadata

Source
FLUID-4531
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Antranig Basman
Created
2011-10-31T02:50:38.662-0400
Updated
2013-10-04T09:31:20.405-0400
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. UI Options

Description

UIOptions is currently extremely hard to configure in order to handle different options. Anastasia has explored some of the requirements and it has been found that we require to touch the codebase in upwards of 6 places in order to successfully integrate a new option. Some of these problems were also seen in the work on the "content simplification demo".
An "ant" (so named after a discussion in Toronto during July) encompasses all of the aspects necessary to deal with a new option in one "component". These are, presentation, persistence, and activity.
Presentation governs an interaction with the user to configure the option.
Persistence enables the user's set value to be persisted to a profile.
Activity honours the option's value in a particular context (for example, transforms a web page).

This work is necessary for further embedding of UIOptions in other contexts (FLOE content) as well as GPII profiles/preferences work

Comments

  • Michelle D'Souza commented 2012-05-03T04:16:02.260-0400

    Branch merged into project repo at 6933c19d8dbc8ed6272d6d78b11f6f09a4030c64