[zanata/zanata-platform] 231d8a: refactor(reducers): use handleActions for phrase-r...

GitHub noreply at github.com
Fri Sep 29 04:35:41 UTC 2017


  Branch: refs/heads/damason/use-handle-actions
  Home:   https://github.com/zanata/zanata-platform
  Commit: 231d8a1ee2c2659dba6e455236360cb2aebe2e08
      https://github.com/zanata/zanata-platform/commit/231d8a1ee2c2659dba6e455236360cb2aebe2e08
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js

  Log Message:
  -----------
  refactor(reducers): use handleActions for phrase-reducer

Some other refactors are possible, but I purposely left those so that
the structure change is not mixed with other changes.


  Commit: 76fb0612e605a46bd6ec91a395f6c74eededbbf8
      https://github.com/zanata/zanata-platform/commit/76fb0612e605a46bd6ec91a395f6c74eededbbf8
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/context-reducer.js

  Log Message:
  -----------
  refactor(reducers): use handleAction for context-reducer

Also changed the variable name to match the module name.


  Commit: 5d3163d462eeddaa9e63fc2add47ae5813212184
      https://github.com/zanata/zanata-platform/commit/5d3163d462eeddaa9e63fc2add47ae5813212184
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/dropdown-reducer.js

  Log Message:
  -----------
  refactor(reducers): use handleActions for dropdown-reducer

Removes a comment that is no longer true.
Also replaces some Symbol keys with strings so that state is serializable.


  Commit: d0c0ea4ed2fe67e02db1db06ad051491fe523dc7
      https://github.com/zanata/zanata-platform/commit/d0c0ea4ed2fe67e02db1db06ad051491fe523dc7
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/glossary-reducer.js

  Log Message:
  -----------
  refactor(reducers): use handleActions for glossary-reducer


  Commit: 20b8e3b70db1c9cdff05948a92792e5dd32f10b6
      https://github.com/zanata/zanata-platform/commit/20b8e3b70db1c9cdff05948a92792e5dd32f10b6
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/header-data-reducer.js

  Log Message:
  -----------
  refactor(reducers): use handleActions for header-data-reducer


  Commit: f69c7c84c1068ae50763ea5a8ee9beb58a2d78f3
      https://github.com/zanata/zanata-platform/commit/f69c7c84c1068ae50763ea5a8ee9beb58a2d78f3
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/suggestions-reducer.js

  Log Message:
  -----------
  refactor(reducers): use handleActions for suggestions-reducer


  Commit: 42a1f84bf617920eed7415402e3b63128aa6ac1d
      https://github.com/zanata/zanata-platform/commit/42a1f84bf617920eed7415402e3b63128aa6ac1d
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-09-29 (Fri, 29 Sep 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/ui-reducer.js

  Log Message:
  -----------
  refactor(reducers): use handleActions for ui-reducer


Compare: https://github.com/zanata/zanata-platform/compare/231d8a1ee2c2^...42a1f84bf617


More information about the zanata-commits mailing list