[zanata/zanata-platform] c1cd6c: fix(ZNTA-2396): TM suggestion highlighting shows m...

GitHub noreply at github.com
Mon Mar 19 06:27:32 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/zanata/zanata-platform
  Commit: c1cd6c7e5e75dc17706614d9d65ecd492ec61086
      https://github.com/zanata/zanata-platform/commit/c1cd6c7e5e75dc17706614d9d65ecd492ec61086
  Author: Earl Floden <efloden at redhat.com>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M server/gwt-editor/src/main/java/org/zanata/webtrans/client/ui/DiffColorLegendPanel.ui.xml
    M server/gwt-editor/src/main/java/org/zanata/webtrans/client/ui/Highlighting.java
    M server/gwt-editor/src/main/java/org/zanata/webtrans/client/view/TransMemoryView.java
    M server/gwt-editor/src/main/java/org/zanata/webtrans/client/view/TransMemoryView.ui.xml
    M server/gwt-editor/src/main/webapp/webtrans/Application.xhtml
    M server/services/pom.xml
    A server/services/src/main/java/org/zanata/util/Webjars.kt
    M server/zanata-frontend/src/.storybook-editor/__snapshots__/storyshots-editor.test.js.snap
    M server/zanata-frontend/src/app/editor/components/TextDiff/TextDiff.test.js
    M server/zanata-frontend/src/app/editor/components/TextDiff/index.js
    M server/zanata-frontend/src/package.json
    M server/zanata-frontend/src/yarn.lock

  Log Message:
  -----------
  fix(ZNTA-2396): TM suggestion highlighting shows mismatched diff  (#747)

* feat(ZNTA-2396): use jsdiff library worddiff in react editor
* chore(ZNTA-2396): remove old text-diff module
* test(ZNTA-2396): reflect wordDiff in tests
* feat(ZNTA-2396): also use JsDiff library as webjar for GWT editor diff, highlight matching in simple diff mode and swap added and removed highlighting for TM only and Search only
* fix(ZNTA-2396): fix GWT matching and show added part instead of removed in alpha editor
* fix(ZNTA-2396): update highlighting description modal
* fix(ZNTA-2396): satisfy checkstyle no trailing comments




More information about the zanata-commits mailing list