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

GitHub noreply at github.com
Thu Oct 12 01:18:55 UTC 2017


  Branch: refs/heads/damason/use-handle-actions
  Home:   https://github.com/zanata/zanata-platform
  Commit: 8a08ba1e2ba9b88c17e97e68ccd39cfcb4d80cfe
      https://github.com/zanata/zanata-platform/commit/8a08ba1e2ba9b88c17e97e68ccd39cfcb4d80cfe
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 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: 9145fa9f8727f2b7b333c165158c3a6fc643c54e
      https://github.com/zanata/zanata-platform/commit/9145fa9f8727f2b7b333c165158c3a6fc643c54e
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 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: babd661035275cddc19e7929f114bb5b901b6f31
      https://github.com/zanata/zanata-platform/commit/babd661035275cddc19e7929f114bb5b901b6f31
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 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: f98020dc56b6fc1b55e540db3cd74420f8aae2f5
      https://github.com/zanata/zanata-platform/commit/f98020dc56b6fc1b55e540db3cd74420f8aae2f5
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 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: 665aea43af364b58f2cb3b45badeaf4aa2819690
      https://github.com/zanata/zanata-platform/commit/665aea43af364b58f2cb3b45badeaf4aa2819690
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 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: 30211ca195677af2788ec41e9c9110d2a188918a
      https://github.com/zanata/zanata-platform/commit/30211ca195677af2788ec41e9c9110d2a188918a
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 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: e1cad903070382f858537649a131f5113793857d
      https://github.com/zanata/zanata-platform/commit/e1cad903070382f858537649a131f5113793857d
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 2017)

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

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


  Commit: 92ae86d9e5572dd4e5170e7c4d20629b43ee8c12
      https://github.com/zanata/zanata-platform/commit/92ae86d9e5572dd4e5170e7c4d20629b43ee8c12
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-10-12 (Thu, 12 Oct 2017)

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

  Log Message:
  -----------
  fix: remove excess newline (fixes lint error)


Compare: https://github.com/zanata/zanata-platform/compare/be2bfd10290e...92ae86d9e557


More information about the zanata-commits mailing list