[zanata/zanata-platform] af5cfa: refactor(TransUnitFilter): linting fixes

GitHub noreply at github.com
Tue Aug 8 06:11:37 UTC 2017


  Branch: refs/heads/damason/advanced-search/ZNTA-975
  Home:   https://github.com/zanata/zanata-platform
  Commit: af5cfa936f2025ed48e3ddb415dc09ec9c6da952
      https://github.com/zanata/zanata-platform/commit/af5cfa936f2025ed48e3ddb415dc09ec9c6da952
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  refactor(TransUnitFilter): linting fixes


  Commit: bc29d58da79dc8b892c23e15e3e47a4b5a9b895d
      https://github.com/zanata/zanata-platform/commit/bc29d58da79dc8b892c23e15e3e47a4b5a9b895d
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/TransUnitFilter.test.js
    M server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js
    R server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer.test.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.test.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/ui-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/ui-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/utils/filter-paging-util.js
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  refactor(editor filter): move status filter data to state.phrases.filter

The status filtering is all about filtering the list of phrases, so
it belongs in the phrase section with advanced search filter data which
will soon be added.
This change will help reduce the amount of distant data that reducers need
to access.


  Commit: 0774271f494380a458c286261df347b4a323d9d1
      https://github.com/zanata/zanata-platform/commit/0774271f494380a458c286261df347b4a323d9d1
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/controls-header-actions.js
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    A server/zanata-frontend/src/frontend/app/editor/actions/phrases-filter-actions.js
    M server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.test.js

  Log Message:
  -----------
  refactor(editor filter): move phrase status filter actions to phrases-filter-actions

This includes making the TransUnitFilter component a completely connected
component deriving all its props from mapStateToProps and mapDispatchToProps.
All the components in the headers should move in this direction, so that
the header components can stick to the single responsibility of defining
the layout of the other components.


  Commit: 2391da36b7e4fe48097bad48e5849709feb2d347
      https://github.com/zanata/zanata-platform/commit/2391da36b7e4fe48097bad48e5849709feb2d347
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-filter-actions.js
    M server/zanata-frontend/src/frontend/app/editor/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.js

  Log Message:
  -----------
  refactor(phrase filter): use flux standard actions for status filter

All the actions will be updated to be flux standard actions (FSAs), and
I have edited these actions, so this is an appropriate time to update
them.
This also removes the warning for using a non-symbol as an action type,
since all action types will be changed to strings so that they are
serializable (required for advanced development tools such as time-travel
debugging).


  Commit: 00e872c3a88f818d78c543de66ead247ee06b41b
      https://github.com/zanata/zanata-platform/commit/00e872c3a88f818d78c543de66ead247ee06b41b
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    A server/zanata-frontend/src/frontend/app/editor/components/PhraseStatusFilter/PhraseStatusFilter.test.js
    A server/zanata-frontend/src/frontend/app/editor/components/PhraseStatusFilter/index.js
    R server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/TransUnitFilter.test.js
    R server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js

  Log Message:
  -----------
  refactor: rename TransUnitFilter to PhraseStatusFilter


  Commit: 72e5b747185289ec18b20ea5104e719e39d592a5
      https://github.com/zanata/zanata-platform/commit/72e5b747185289ec18b20ea5104e719e39d592a5
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/components/PhraseStatusFilter/PhraseStatusFilter.test.js
    R server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.test.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-reducer.test.js

  Log Message:
  -----------
  feat(ZNTA-975): add advanced search state, actions and reducer


  Commit: 6cd86942a8bebdaa0bb6357cf85ae0622835eeed
      https://github.com/zanata/zanata-platform/commit/6cd86942a8bebdaa0bb6357cf85ae0622835eeed
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.test.js

  Log Message:
  -----------
  test: fix linting warnings in EditorSearchInput.test.js


  Commit: 328b4185eead1df95a655e840145202fe5b78757
      https://github.com/zanata/zanata-platform/commit/328b4185eead1df95a655e840145202fe5b78757
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-filter-actions.js
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.story.js
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.test.js
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/index.js
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js

  Log Message:
  -----------
  feat(ZNTA-975): connect EditorSearchInput to app and state


  Commit: a2578a934f07475d1dfd32b800742c623efd8f03
      https://github.com/zanata/zanata-platform/commit/a2578a934f07475d1dfd32b800742c623efd8f03
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M api/zanata-common-api/src/main/java/org/zanata/rest/service/ProjectVersionResource.java
    M server/services/src/main/java/org/zanata/rest/service/ProjectVersionService.java
    M server/services/src/main/java/org/zanata/util/DateUtil.java
    M server/services/src/main/java/org/zanata/webtrans/server/rpc/GetTransUnitListHandler.java
    M server/services/src/test/java/org/zanata/rest/service/ProjectVersionServiceUnitTest.java

  Log Message:
  -----------
  feat(ZNTA-975): add filter fields to status list endpoint


  Commit: 9acbf559cd0b02069ec58de90a40b331ac68549b
      https://github.com/zanata/zanata-platform/commit/9acbf559cd0b02069ec58de90a40b331ac68549b
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js

  Log Message:
  -----------
  feat(ZNTA-975): apply style class to input component

Includes a FIXME comment because the css classes need to be moved for
maintainability.


  Commit: 149d9d9f9bbdfc92ab9c6187049ef1b202e766ee
      https://github.com/zanata/zanata-platform/commit/149d9d9f9bbdfc92ab9c6187049ef1b202e766ee
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/index.js
    A server/zanata-frontend/src/frontend/app/editor/setup-middlewares.js

  Log Message:
  -----------
  refactor(editor): move middleware config to separate module


  Commit: 2e2711606bbb9df536d613a3fe83de162900202d
      https://github.com/zanata/zanata-platform/commit/2e2711606bbb9df536d613a3fe83de162900202d
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    A server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    M server/zanata-frontend/src/frontend/package.json
    M server/zanata-frontend/src/frontend/yarn.lock

  Log Message:
  -----------
  feat(ZNTA-975): add selectors for current page of phrases

These are not used yet, but selectors should replace most places that we
are manually pulling out or calculating pieces of state from the store.
They will allow changing in one place if we move some state, and will
be more efficient for calculated state since they memoize the input selectors.


  Commit: e9f7e6abc0700d346ed58efd7b31965cf7174f0b
      https://github.com/zanata/zanata-platform/commit/e9f7e6abc0700d346ed58efd7b31965cf7174f0b
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/api/index.js

  Log Message:
  -----------
  feat(ZNTA-975): allow filter parameters in phrase fetch request


  Commit: 94de518f97bd25fb07babe0ce7a49c7e2184c9f5
      https://github.com/zanata/zanata-platform/commit/94de518f97bd25fb07babe0ce7a49c7e2184c9f5
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-actions.js
    M server/zanata-frontend/src/frontend/app/editor/api/index.js
    M server/zanata-frontend/src/frontend/app/editor/index.js
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/filtered-phrases.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/index.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/visible-phrases.js

  Log Message:
  -----------
  WIP: fetch filter phrases from server (NOT USED YET)


  Commit: 35bb74e049066bdc786fcd03ad0dc7df2b26a2a1
      https://github.com/zanata/zanata-platform/commit/35bb74e049066bdc786fcd03ad0dc7df2b26a2a1
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/filtered-phrases.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/watch.js

  Log Message:
  -----------
  WIP: add logging wrapper around redux-watch


  Commit: 2badffbc6dade18e5a05a277ddb40685a40a80d6
      https://github.com/zanata/zanata-platform/commit/2badffbc6dade18e5a05a277ddb40685a40a80d6
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-actions.js
    M server/zanata-frontend/src/frontend/app/editor/middlewares/new-context-fetch.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    A server/zanata-frontend/src/frontend/app/editor/utils/log-todo.js
    M server/zanata-frontend/src/frontend/app/editor/utils/status-util.js
    R server/zanata-frontend/src/frontend/app/editor/watchers/filtered-phrases.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/index.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/page-number.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/phrase-detail.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/phrase-list.js
    R server/zanata-frontend/src/frontend/app/editor/watchers/visible-phrases.js

  Log Message:
  -----------
  feat(ZNTA-975): fetch and store server-filtered phrase list

Does not yet display the fetched list.


  Commit: d388912c803db4045b2fd3a9ed75cd24a64b9650
      https://github.com/zanata/zanata-platform/commit/d388912c803db4045b2fd3a9ed75cd24a64b9650
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975): add selector for hasAdvancedFilter


  Commit: 57d08b24529316b2b9c9efa45b63469a749f2387
      https://github.com/zanata/zanata-platform/commit/57d08b24529316b2b9c9efa45b63469a749f2387
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/containers/MainContent.js
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    M server/zanata-frontend/src/frontend/app/editor/utils/filter-paging-util.js

  Log Message:
  -----------
  feat(ZNTA-975): display filtered phrases when filter is present


  Commit: 3b66767327b874c6cf8e32a1160fd0ea0317bb7c
      https://github.com/zanata/zanata-platform/commit/3b66767327b874c6cf8e32a1160fd0ea0317bb7c
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/controls-header-actions.js
    M server/zanata-frontend/src/frontend/app/editor/containers/ControlsHeader.js
    M server/zanata-frontend/src/frontend/app/editor/containers/Root/index.js
    M server/zanata-frontend/src/frontend/app/editor/middlewares/new-context-fetch.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    R server/zanata-frontend/src/frontend/app/editor/utils/filter-paging-util.js

  Log Message:
  -----------
  feat(ZNTA-975): WIP fixing all phrase list refs for filter, fixed paging

Paging was using old location, changed to use selectors to it will adapt
when selectors change next time.


  Commit: 0199dee75ed1201021d294255bfd39619e2e3085
      https://github.com/zanata/zanata-platform/commit/0199dee75ed1201021d294255bfd39619e2e3085
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/index.js
    A server/zanata-frontend/src/frontend/app/editor/middlewares/index.js
    R server/zanata-frontend/src/frontend/app/editor/middlewares/selected-phrase-searches.js
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    R server/zanata-frontend/src/frontend/app/editor/setup-middlewares.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/index.js
    A server/zanata-frontend/src/frontend/app/editor/watchers/selected-phrase-searches.js

  Log Message:
  -----------
  feat(ZNTA-975): use watcher for glossary and suggestion searches

Includes moving middleware setup to middlewares/index.js since that
makes more sense and keeps the top level cleaner.


  Commit: b6c62ee5bdcba725d00818d1cb6c388d0bb78fe2
      https://github.com/zanata/zanata-platform/commit/b6c62ee5bdcba725d00818d1cb6c388d0bb78fe2
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.story.js

  Log Message:
  -----------
  fix(setState): use callback form of setState for search input

The other form has a theoretical state-clobbering bug.


  Commit: 59cea78160b683f054485d1ee90f4ce53a04292a
      https://github.com/zanata/zanata-platform/commit/59cea78160b683f054485d1ee90f4ce53a04292a
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975): only select first row when unfiltered list is loaded


  Commit: def43b6f1daa810ee5d3e08d72cfe1674bdd5c95
      https://github.com/zanata/zanata-platform/commit/def43b6f1daa810ee5d3e08d72cfe1674bdd5c95
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/filter-status-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-reducer.test.js

  Log Message:
  -----------
  test(ZNTA-975): update tests to work with plain/filtered status lists


  Commit: 197896569f0235095b67414a58eab2a5b4c13f4b
      https://github.com/zanata/zanata-platform/commit/197896569f0235095b67414a58eab2a5b4c13f4b
  Author: kgough <kgough at redhat.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975) fix advanced search icon alignment


  Commit: 6bef6f058f6d87f0455d9a10394683ebf81e7e6d
      https://github.com/zanata/zanata-platform/commit/6bef6f058f6d87f0455d9a10394683ebf81e7e6d
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-actions.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-reducer.test.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): use standard action names for phrase list and detail


  Commit: aa63e5dbbe92ea5d9706949c13e1249f19084266
      https://github.com/zanata/zanata-platform/commit/aa63e5dbbe92ea5d9706949c13e1249f19084266
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/api/index.js
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.test.js
    M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/phrase-filter-reducer.test.js

  Log Message:
  -----------
  feat(ZNTA-975): use consistent names for search fields between server and editor


  Commit: bbce5bc33eca7a602bd55063b58685ca97710019
      https://github.com/zanata/zanata-platform/commit/bbce5bc33eca7a602bd55063b58685ca97710019
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/middlewares/new-context-fetch.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/phrase-list.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/selected-phrase-searches.js

  Log Message:
  -----------
  feat(ZNTA-975): clean up some comments


  Commit: ac11cfd99ac7f1844bbc8a0dec0b98c1c14d4fa6
      https://github.com/zanata/zanata-platform/commit/ac11cfd99ac7f1844bbc8a0dec0b98c1c14d4fa6
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/frontend/app/editor/selectors/index.js
    A server/zanata-frontend/src/frontend/app/editor/utils/filter-util.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/phrase-list.js

  Log Message:
  -----------
  feat(ZNTA-975): prevent network request for empty filter search


  Commit: f1504fabae55a117caa71216006f09aedea3052d
      https://github.com/zanata/zanata-platform/commit/f1504fabae55a117caa71216006f09aedea3052d
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    A api/zanata-common-api/src/main/java/org/zanata/rest/dto/FilterFields.java
    M api/zanata-common-api/src/main/java/org/zanata/rest/service/ProjectVersionResource.java
    M server/services/src/main/java/org/zanata/rest/service/ProjectVersionService.java
    M server/services/src/test/java/org/zanata/rest/service/ProjectVersionServiceUnitTest.java
    M server/zanata-frontend/src/frontend/app/editor/utils/api-util.js
    M server/zanata-frontend/src/frontend/app/editor/watchers/phrase-list.js

  Log Message:
  -----------
  feat(ZNTA-975): use request body for phrase filter fields


  Commit: 7b6ce400d0cf6a13da1b3b102384fc39efd31e55
      https://github.com/zanata/zanata-platform/commit/7b6ce400d0cf6a13da1b3b102384fc39efd31e55
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 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: f494821b3d1b1335ab648cacfe133da0f9b1d648
      https://github.com/zanata/zanata-platform/commit/f494821b3d1b1335ab648cacfe133da0f9b1d648
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 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: 5f6c8bb4838662edd5dbb607323ca3793eba8fa8
      https://github.com/zanata/zanata-platform/commit/5f6c8bb4838662edd5dbb607323ca3793eba8fa8
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 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: 4d8a98b5568913120edd0ecbf2635a3a9c92f4f6
      https://github.com/zanata/zanata-platform/commit/4d8a98b5568913120edd0ecbf2635a3a9c92f4f6
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 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: 59552dd7a570ba2dc2fddfbb2298956fc55808a1
      https://github.com/zanata/zanata-platform/commit/59552dd7a570ba2dc2fddfbb2298956fc55808a1
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

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


  Commit: 234a3be0bbdbb454ba23612ccd4e2c2a17b88606
      https://github.com/zanata/zanata-platform/commit/234a3be0bbdbb454ba23612ccd4e2c2a17b88606
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 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.


  Commit: 1b2849fdaacb6eef371f49eeb53c0d5410501928
      https://github.com/zanata/zanata-platform/commit/1b2849fdaacb6eef371f49eeb53c0d5410501928
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/editor/api/index.js

  Log Message:
  -----------
  feat(ZNTA-975): remove unused functions

These are replaced by new functions in the watchers, since that is
the only place they are used.


  Commit: c68c929625cc530760da104e7e9e3e49e9f1dd25
      https://github.com/zanata/zanata-platform/commit/c68c929625cc530760da104e7e9e3e49e9f1dd25
  Author: kgough <kgough at redhat.com>
  Date:   2017-08-08 (Tue, 08 Aug 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) added media queries for EditorSearchInput


  Commit: 96185f37b7971c19a612534cf6dc1a81435e43b6
      https://github.com/zanata/zanata-platform/commit/96185f37b7971c19a612534cf6dc1a81435e43b6
  Author: kgough <kgough at redhat.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975) improved width of advanced search panel in editor


  Commit: 9705ad7689d8b571ac23ad3d81479ccbd16187cb
      https://github.com/zanata/zanata-platform/commit/9705ad7689d8b571ac23ad3d81479ccbd16187cb
  Author: kgough <kgough at redhat.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  feat(ZNTA-975) css formatting


  Commit: 27830a8e049119c17bd4ff3a59962ed85e89cfba
      https://github.com/zanata/zanata-platform/commit/27830a8e049119c17bd4ff3a59962ed85e89cfba
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  refactor: add FIXME comment for fragile css rule

I forgot to edit my reminder comment before and it was removed. This
replaces it with a more useful comment.


  Commit: 6002b5afbd19cd58132af42fca8fb452ee6fa79b
      https://github.com/zanata/zanata-platform/commit/6002b5afbd19cd58132af42fca8fb452ee6fa79b
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-08-08 (Tue, 08 Aug 2017)

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

  Log Message:
  -----------
  test(ZNTA-975): update some tests to factor in request timestamps


Compare: https://github.com/zanata/zanata-platform/compare/60b1ccc62a52...6002b5afbd19


More information about the zanata-commits mailing list