[Commits] [fluid-project/infusion] 1c84ef: FLUID-5180: Making string lookup easier.

GitHub noreply at github.com
Fri Oct 25 15:21:38 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/fluid-project/infusion
  Commit: 1c84ef1ba3d10adc2d0fceeba1d76131b2dd55c2
      https://github.com/fluid-project/infusion/commit/1c84ef1ba3d10adc2d0fceeba1d76131b2dd55c2
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-17 (Thu, 17 Oct 2013)

  Changed paths:
    M src/framework/preferences/js/Panels.js
    M src/framework/preferences/messages/contrast.json
    M src/framework/preferences/messages/textFont.json
    M src/tests/framework-tests/preferences/js/PanelsTests.js

  Log Message:
  -----------
  FLUID-5180: Making string lookup easier.

Simplified the process of looking up strings from a message resolver by providing an IoC mechanism for resolving the string from {that}.stringBundles.stringKey. There is also a way to return an array of strings by providing a stringArrayIndex option to the component, which contains an array of stringKeys that should be resolved. One major change that was required for this is to change the prefix separator used for grouping strings in a messageBundle.


  Commit: 4191df6497bcbba7766da26ce9de804734065838
      https://github.com/fluid-project/infusion/commit/4191df6497bcbba7766da26ce9de804734065838
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M src/framework/preferences/js/Panels.js

  Log Message:
  -----------
  FLUID-5180: minor refactoring

Simplifying the multiLookup function by using fluid.transform


  Commit: 117a87fc4c8b7eee62f39ec7e90765af0372ff1e
      https://github.com/fluid-project/infusion/commit/117a87fc4c8b7eee62f39ec7e90765af0372ff1e
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js
    M src/framework/preferences/js/Panels.js
    M src/framework/preferences/js/SeparatedPanelPrefsEditor.js

  Log Message:
  -----------
  FLUID-5180: Moved stringBundle lookup to a grade

Moved the stringBundle lookup functionality to a grade which is used by the panels, as well as the sliding panel in the seperatedPanelPrefsEditor.


  Commit: ff141f85f1c6e082925fceef34179520ddbd41a5
      https://github.com/fluid-project/infusion/commit/ff141f85f1c6e082925fceef34179520ddbd41a5
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js

  Log Message:
  -----------
  FLUID-5180, FLUID-5119: Removed lookup function

Removed message bundle lookup function from sliding panel. It did not have it's own message resolver. This functionality has been replaced by the stringBundle grade which is used in the instance of slidingPanel found in the separatedPanelPrefsEditor.


  Commit: 3259aef2d52ba79f2ef281d817a12b00df8b62c3
      https://github.com/fluid-project/infusion/commit/3259aef2d52ba79f2ef281d817a12b00df8b62c3
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js
    M src/framework/preferences/js/SeparatedPanelPrefsEditor.js

  Log Message:
  -----------
  FLUID-5177, FLUID-5020, FLUID-4569, FLUID-4410:

Refactored the slidingPanel to make it more declarative and inline with current code style.

FLUID-5177: DOM events are not directly passed down, but the DOM event is bound declaratively. To modify the DOM event object an integrator could either declaratively bind an additional click event, or override the current click handler function.

FLUID-5020, FLUID-4410: By adding a separate selector for the toggleButtonLabel, an integrator can use more complex markup inside of the toggle button. By default the button and the label point at the same element.

FLUID-4569: The slidingPanel is model bound, and has been for some time. Steps have been taken to ensure that the initial state is set to the value specified by the model.


  Commit: c6e45b0c412a3e2a5d5280d967ad02d26399d262
      https://github.com/fluid-project/infusion/commit/c6e45b0c412a3e2a5d5280d967ad02d26399d262
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M src/framework/preferences/js/Panels.js

  Log Message:
  -----------
  FLUID-5180: removed duplicate object

Accidentally left in some old code when refactoring. This duplication has now been removed.


  Commit: 25f7a96c9259158cbf54b9c4d503993d7fd597b8
      https://github.com/fluid-project/infusion/commit/25f7a96c9259158cbf54b9c4d503993d7fd597b8
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js
    M src/framework/preferences/js/SeparatedPanelPrefsEditor.js

  Log Message:
  -----------
  FLUID-4569: operate functions made declarative

Refactored to make the default operate functions declarative. Provided the necessary overrides in the SeparatePanelPrefsEditor's instance of slidingPanel.


  Commit: f67aecd24e0ed2bdbac55e5128e3f02138858b95
      https://github.com/fluid-project/infusion/commit/f67aecd24e0ed2bdbac55e5128e3f02138858b95
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-24 (Thu, 24 Oct 2013)

  Changed paths:
    R src/components/uiOptions/UIOptions.js
    A src/components/uiOptions/js/UIOptions.js
    M src/components/uiOptions/uiOptionsDependencies.json
    M src/demos/uiOptions/html/uiOptions.html

  Log Message:
  -----------
  Merge branch 'master' into FLUID-5180


  Commit: 8116f9b87e4b5a420496d2c711a71b38c5c34c34
      https://github.com/fluid-project/infusion/commit/8116f9b87e4b5a420496d2c711a71b38c5c34c34
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-24 (Thu, 24 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js

  Log Message:
  -----------
  FLUID-5180: state changes model based.

Rather than having the state changes trigger the model change, the model change now triggers the state change.


  Commit: cf993be96d883175890a6408181218408e232f83
      https://github.com/fluid-project/infusion/commit/cf993be96d883175890a6408181218408e232f83
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-25 (Fri, 25 Oct 2013)

  Changed paths:
    M src/demos/keyboard-a11y/js/five-star.js

  Log Message:
  -----------
  Merge branch 'master' into FLUID-5180


  Commit: a6521da5b63462838499da9e218f1650c77f18a1
      https://github.com/fluid-project/infusion/commit/a6521da5b63462838499da9e218f1650c77f18a1
  Author: Justin Obara <obarajustin at gmail.com>
  Date:   2013-10-25 (Fri, 25 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js

  Log Message:
  -----------
  FLUID-5180: top level option for animation times.


  Commit: 861d635d56c7546c764d23cf40e7f96e85516b17
      https://github.com/fluid-project/infusion/commit/861d635d56c7546c764d23cf40e7f96e85516b17
  Author: Antranig Basman <antranig.basman at colorado.edu>
  Date:   2013-10-25 (Fri, 25 Oct 2013)

  Changed paths:
    M src/components/slidingPanel/js/SlidingPanel.js
    M src/framework/preferences/js/Panels.js
    M src/framework/preferences/js/SeparatedPanelPrefsEditor.js
    M src/framework/preferences/messages/contrast.json
    M src/framework/preferences/messages/textFont.json
    M src/tests/framework-tests/preferences/js/PanelsTests.js

  Log Message:
  -----------
  Merge branch 'FLUID-5180'

* FLUID-5180:
  FLUID-5180: top level option for animation times.
  FLUID-5180: state changes model based.
  FLUID-4569: operate functions made declarative
  FLUID-5180: removed duplicate object
  FLUID-5177, FLUID-5020, FLUID-4569, FLUID-4410:
  FLUID-5180, FLUID-5119: Removed lookup function
  FLUID-5180: Moved stringBundle lookup to a grade
  FLUID-5180: minor refactoring
  FLUID-5180: Making string lookup easier.


Compare: https://github.com/fluid-project/infusion/compare/55a837920692...861d635d56c7


More information about the Commits mailing list