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

GitHub noreply at github.com
Tue Aug 8 00:41:28 UTC 2017


  Branch: refs/heads/damason/advanced-search/ZNTA-975
  Home:   https://github.com/zanata/zanata-platform
  Commit: 7c4510ae3d92fdd8d282cbd2803fb3fc05c1c905
      https://github.com/zanata/zanata-platform/commit/7c4510ae3d92fdd8d282cbd2803fb3fc05c1c905
  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: 20ce7d92b856e8421224240668ffe3039197f6a5
      https://github.com/zanata/zanata-platform/commit/20ce7d92b856e8421224240668ffe3039197f6a5
  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: 587ddf9e53947be8f1953610518635a28682ff7f
      https://github.com/zanata/zanata-platform/commit/587ddf9e53947be8f1953610518635a28682ff7f
  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: b3d921889357d977fd865a6311be24ad9cbad59d
      https://github.com/zanata/zanata-platform/commit/b3d921889357d977fd865a6311be24ad9cbad59d
  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: cf8de8f4b563da109d0cdf964c34ea8538bb3d15
      https://github.com/zanata/zanata-platform/commit/cf8de8f4b563da109d0cdf964c34ea8538bb3d15
  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: d4dd4b3cfdd3a5586cb3c320c84a99bdbb85c1ae
      https://github.com/zanata/zanata-platform/commit/d4dd4b3cfdd3a5586cb3c320c84a99bdbb85c1ae
  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: 74f7b5df9ab5007d00cbcea933176002c529a3a8
      https://github.com/zanata/zanata-platform/commit/74f7b5df9ab5007d00cbcea933176002c529a3a8
  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: 9307dc083101f2c6ca933432c6de8553d08fbb93
      https://github.com/zanata/zanata-platform/commit/9307dc083101f2c6ca933432c6de8553d08fbb93
  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: 55bb6e4685c87fc7a5abedb2c18857c44e61099d
      https://github.com/zanata/zanata-platform/commit/55bb6e4685c87fc7a5abedb2c18857c44e61099d
  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: 8989a7b89ecfde01fe99288eeaeb2d84c3d642ce
      https://github.com/zanata/zanata-platform/commit/8989a7b89ecfde01fe99288eeaeb2d84c3d642ce
  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: bc5be2320b7326896a96683da2ce45340ca0c24f
      https://github.com/zanata/zanata-platform/commit/bc5be2320b7326896a96683da2ce45340ca0c24f
  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: e903efe3bdd8e06cbed1a1ab24420a745db151d7
      https://github.com/zanata/zanata-platform/commit/e903efe3bdd8e06cbed1a1ab24420a745db151d7
  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: fbede4c0f6fa3e57a0a141fa9cb7d123a6b2f43b
      https://github.com/zanata/zanata-platform/commit/fbede4c0f6fa3e57a0a141fa9cb7d123a6b2f43b
  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: 391a33e8823b47ce3791403d344c91c2af16467b
      https://github.com/zanata/zanata-platform/commit/391a33e8823b47ce3791403d344c91c2af16467b
  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: e3be21ed81df3852d060ea536a2d536dc7fe9726
      https://github.com/zanata/zanata-platform/commit/e3be21ed81df3852d060ea536a2d536dc7fe9726
  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: d19f18f5a5d8dd1aa13c4e7d2fe9c872e2b8fe5c
      https://github.com/zanata/zanata-platform/commit/d19f18f5a5d8dd1aa13c4e7d2fe9c872e2b8fe5c
  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: 2c2797ad197cb84a969f8b5aebebf7d8d6a21c3d
      https://github.com/zanata/zanata-platform/commit/2c2797ad197cb84a969f8b5aebebf7d8d6a21c3d
  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: e584da718c582011a1ce08e46b5dc64c8edda83d
      https://github.com/zanata/zanata-platform/commit/e584da718c582011a1ce08e46b5dc64c8edda83d
  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: 51c5399b2da6553555296f402217fd2591d2f55c
      https://github.com/zanata/zanata-platform/commit/51c5399b2da6553555296f402217fd2591d2f55c
  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: dba935155cf92a690bbff5a0b2fd4e4eb228f077
      https://github.com/zanata/zanata-platform/commit/dba935155cf92a690bbff5a0b2fd4e4eb228f077
  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: 60aeb77bbf92c3fe309bd51fa4f8af1dd4cc7061
      https://github.com/zanata/zanata-platform/commit/60aeb77bbf92c3fe309bd51fa4f8af1dd4cc7061
  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: 9f8c37f5b86ad55558fcf7857b2ba6eab312e835
      https://github.com/zanata/zanata-platform/commit/9f8c37f5b86ad55558fcf7857b2ba6eab312e835
  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: 7516bf24977487b52353249e828a28ee0afa8915
      https://github.com/zanata/zanata-platform/commit/7516bf24977487b52353249e828a28ee0afa8915
  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: 19c368ef62f70aaf2ef2ed7ae3921fe9b974c2b4
      https://github.com/zanata/zanata-platform/commit/19c368ef62f70aaf2ef2ed7ae3921fe9b974c2b4
  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: 392ba392551f3a21722358a99c259a8446ee0d8b
      https://github.com/zanata/zanata-platform/commit/392ba392551f3a21722358a99c259a8446ee0d8b
  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: d85c948cae8c2fbf9fcf41a00b0a2bfd829a9e25
      https://github.com/zanata/zanata-platform/commit/d85c948cae8c2fbf9fcf41a00b0a2bfd829a9e25
  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: 4238d1d947fcd7dfeef89d5a8283be2abd3ba9b7
      https://github.com/zanata/zanata-platform/commit/4238d1d947fcd7dfeef89d5a8283be2abd3ba9b7
  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: 628b6b78ed4d3aad2153290c5c78f813c284e175
      https://github.com/zanata/zanata-platform/commit/628b6b78ed4d3aad2153290c5c78f813c284e175
  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: 5aad9d22ef5c7e12da702db88e5876d6023c9422
      https://github.com/zanata/zanata-platform/commit/5aad9d22ef5c7e12da702db88e5876d6023c9422
  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: 5d7d19aef4cd7ba84c684f256cce4a5766c8bdbd
      https://github.com/zanata/zanata-platform/commit/5d7d19aef4cd7ba84c684f256cce4a5766c8bdbd
  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: 2f8f2a32a6287cfa8f383bce7cc9f4a5ca2b9d9e
      https://github.com/zanata/zanata-platform/commit/2f8f2a32a6287cfa8f383bce7cc9f4a5ca2b9d9e
  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: 2c83beb964d5441e64c3f263d3de0fc5e441d652
      https://github.com/zanata/zanata-platform/commit/2c83beb964d5441e64c3f263d3de0fc5e441d652
  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: 7051ef32c03d9d0f845af01622f5d2c45cef0b2c
      https://github.com/zanata/zanata-platform/commit/7051ef32c03d9d0f845af01622f5d2c45cef0b2c
  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: f9737e95a25d49a22041f6d58b680b98ba9ed36b
      https://github.com/zanata/zanata-platform/commit/f9737e95a25d49a22041f6d58b680b98ba9ed36b
  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: 9c536b3074b89234cae927e127e69c84f6b90d58
      https://github.com/zanata/zanata-platform/commit/9c536b3074b89234cae927e127e69c84f6b90d58
  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: e2ab82a4540b8c8b2ba78a44cb67b41107ba865b
      https://github.com/zanata/zanata-platform/commit/e2ab82a4540b8c8b2ba78a44cb67b41107ba865b
  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: c74d47470ea1bb3842d4b4f72ae7e42d85a7ec09
      https://github.com/zanata/zanata-platform/commit/c74d47470ea1bb3842d4b4f72ae7e42d85a7ec09
  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: c5276190165bd134a9f691f07edc116b4d06dea6
      https://github.com/zanata/zanata-platform/commit/c5276190165bd134a9f691f07edc116b4d06dea6
  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: 3e4e368010845aa5754cbca2278338baa54f58bd
      https://github.com/zanata/zanata-platform/commit/3e4e368010845aa5754cbca2278338baa54f58bd
  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: fb89c26cbe4e13b07f8aabea4b260c82707190b5
      https://github.com/zanata/zanata-platform/commit/fb89c26cbe4e13b07f8aabea4b260c82707190b5
  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: 60b1ccc62a52629b57f004b533b5831c2fbf5500
      https://github.com/zanata/zanata-platform/commit/60b1ccc62a52629b57f004b533b5831c2fbf5500
  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/0e3a361fc888...60b1ccc62a52


More information about the zanata-commits mailing list