FLUID-5161: Move the prefs framework code into the framework folder and re-namespace it

Metadata

Source
FLUID-5161
Type
Task
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Anastasia Cheetham
Created
2013-10-01T14:16:10.514-0400
Updated
2013-10-11T12:57:20.929-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Prefs Framework
  2. Sliding Panel
  3. Textfield Slider
  4. UIEnhancer
  5. UI Options

Description

We decided that we will move all of the preferences framework specific code into a subfolder of the framework folder called "preferences" i.e. src/framework/preferences/ and change the namespace from "fluid.uiOptions" to "fluid.prefs"

The prefs framework specific code includes:

Builder
Auxilary builder
Primary Builder
resource loader
model relay (if not moved to framework)
store
cookie store (we should probably consider swapping cookies for local data storage as our default persistence mechanism)
temp store
uiEnhancer (empty) fluid.prefs.uiEnhancer
uiOptions (empty) (renamed to fluid.prefs.prefsEditor)
panel (base grade)
enactor (base grade)
url utilities
fatPanel grade (renamed to separatedPanel)
starter grades/schemas
starter panels (e.g. contrast, textSize...)
starter enactors

Two components will be moved to top-level components:

  • textfieldSlider
  • slidingPanel

The only thing remaining in src/components/uiOptions will be the few lines of code needed to create "our" instance of a prefs editor.

See meeting notes from the Community Workshop where this was discussed at
http://lists.idrc.ocad.ca/pipermail/fluid-work/2013-September/009211.html

Comments

  • Justin Obara commented 2013-10-08T13:38:58.675-0400

    Merged pull request ( https://github.com/fluid-project/infusion/pull/414 ) into the project repo at b4422d732612a84ba429f3866b97786e627d8fb1

  • Justin Obara commented 2013-10-08T15:30:20.858-0400

    Need to revive the uiOptions component. This will simple be done with a call to the builder that uses the fluid.uiOptions namespace. Will also need to reorganize the demos and add back in the dependency file.

  • Justin Obara commented 2013-10-09T10:12:31.876-0400

    Submitted another pull request which adds the UI Options component back in. https://github.com/fluid-project/infusion/pull/415

  • Justin Obara commented 2013-10-11T12:57:20.911-0400

    Pull request ( https://github.com/fluid-project/infusion/pull/415 ) merged into the project repo at 0dfb9c8f3c1c3f5d713b8c1dea78dfa747643d65