[zanata/zanata-platform] abb650: feat(ZNTA-975): add middleware to include meta.tim...

GitHub noreply at github.com
Mon Jul 31 01:00:04 UTC 2017


  Branch: refs/heads/damason/advanced-search/ZNTA-975
  Home:   https://github.com/zanata/zanata-platform
  Commit: abb650082326480123dce86069faefa92676c6a6
      https://github.com/zanata/zanata-platform/commit/abb650082326480123dce86069faefa92676c6a6
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-07-28 (Fri, 28 Jul 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/glossary-actions.js
    A server/zanata-frontend/src/frontend/app/editor/middlewares/call-api.js
    M server/zanata-frontend/src/frontend/app/editor/middlewares/index.js
    R server/zanata-frontend/src/frontend/app/editor/utils/api-util.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/phrase-detail.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/phrase-list.js

  Log Message:
  -----------
  feat(ZNTA-975): add middleware to include meta.timestamp in all API calls

The middleware also adds some repeated defaults such as credentials and
JSON headers, which avoids the need to wrap calls in a helper function.
I chose a distinct type rather than reusing CALL_API so that there is a
way to skip the new behaviour if that is ever needed.


  Commit: 0c23080dbbc7dc6b7304365b6d8f184f6bc9cc3b
      https://github.com/zanata/zanata-platform/commit/0c23080dbbc7dc6b7304365b6d8f184f6bc9cc3b
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-07-30 (Sun, 30 Jul 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975): use timestamp to ignore stale advanced search results


  Commit: 51b81411cd8c95e66915b2790afa1b8ba9eb6ac8
      https://github.com/zanata/zanata-platform/commit/51b81411cd8c95e66915b2790afa1b8ba9eb6ac8
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975): correctly select visible phrase when phrases load


  Commit: 746422d81d35262cb7141399d7a64fa672a19a92
      https://github.com/zanata/zanata-platform/commit/746422d81d35262cb7141399d7a64fa672a19a92
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/phrase-detail.js

  Log Message:
  -----------
  feat(ZNTA-975): limit to a single phrase detail request at a time

Also only fetches phrases that do not yet have detail present.


  Commit: a861c50c19d8891818a23e7f499131687e5eb38c
      https://github.com/zanata/zanata-platform/commit/a861c50c19d8891818a23e7f499131687e5eb38c
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/app.css

  Log Message:
  -----------
  feat(ZNTA-975): remove some unused css


  Commit: 6593b7db3ed87e56b1b78daa510016db4771e6bc
      https://github.com/zanata/zanata-platform/commit/6593b7db3ed87e56b1b78daa510016db4771e6bc
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/index.css
    M server/zanata-frontend/src/frontend/app/editor/containers/Root/index.css

  Log Message:
  -----------
  feat(ZNTA-975): move styles for EditorSearchInput to its css file

They were in the root css file. There is still duplication and
rules conflicting/competing with other rules so more cleanup is
needed.


Compare: https://github.com/zanata/zanata-platform/compare/c8a801f75faa...6593b7db3ed8


More information about the zanata-commits mailing list