[zanata/zanata-platform] 608f90: feat(ZNTA-2635): editor validators error behavior ...

GitHub noreply at github.com
Tue Jul 10 02:17:30 UTC 2018


  Branch: refs/heads/MTMerge-UI
  Home:   https://github.com/zanata/zanata-platform
  Commit: 608f90779dccaf75eeb7d7ae2423105a3eba9de2
      https://github.com/zanata/zanata-platform/commit/608f90779dccaf75eeb7d7ae2423105a3eba9de2
  Author: Earl Floden <efloden at redhat.com>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M server/zanata-frontend/src/.storybook-editor/__snapshots__/storyshots-editor.test.js.snap
    M server/zanata-frontend/src/app/editor/actions/key-shortcuts-actions.js
    M server/zanata-frontend/src/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/app/editor/actions/phrases-actions.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationFooter.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationHeader.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationPanel.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationPanel.test.js
    M server/zanata-frontend/src/app/editor/components/Validation/Validation.test.js
    M server/zanata-frontend/src/app/editor/components/Validation/index.tsx
    A server/zanata-frontend/src/app/editor/components/ValidationErrorsModal/index.tsx
    M server/zanata-frontend/src/app/editor/containers/TranslationInfoPanel/index.js
    M server/zanata-frontend/src/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/app/editor/utils/phrase-util.ts
    M server/zanata-frontend/src/app/editor/utils/phrase.ts
    M server/zanata-frontend/src/app/editor/utils/status-util.ts
    M server/zanata-frontend/src/app/editor/watchers/phrase-detail.js
    M server/zanata-frontend/src/app/validators/AbstractValidationAction.ts
    M server/zanata-frontend/src/app/validators/ValidationMessages.ts
    M server/zanata-frontend/src/app/validators/impl/JavaVariablesValidation.ts
    M server/zanata-frontend/src/app/validators/impl/PrintfVariablesValidation.ts
    M server/zanata-frontend/src/app/validators/impl/PrintfXSIExtensionValidation.test.js
    M server/zanata-frontend/src/app/validators/impl/XmlEntityValidation.test.js

  Log Message:
  -----------
  feat(ZNTA-2635): editor validators error behavior (#924)

* feat: editor behavior on validation errors detected

* feat: track validation error detections for transunits,
display error notification icon in status area, hide validation messages panel when not selected

* refactor: retrieve phrases errors status from redux store

* test: update jest tests, snapshots

* fix: unstage vscode settings

* refactor: remove unneeded let

* fix: typescript errors

* chore: fix typescript strict warnings

* feat: use modal to confirm saving with validation errors

* fix: typescript strict checks, tests

* refactor: save with validation errors modal to SFC component

* refactor: remove Errors detected message

* fix: typo, clarify move to next row logic


  Commit: 90307bdada96bdd2fa56ecc994c5a38a34e594b5
      https://github.com/zanata/zanata-platform/commit/90307bdada96bdd2fa56ecc994c5a38a34e594b5
  Author: Sean Flanigan <sflaniga at redhat.com>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M server/zanata-frontend/src/.eslintrc
    M server/zanata-frontend/src/app/actions/common-actions.ts
    M server/zanata-frontend/src/app/actions/glossary-actions.js
    M server/zanata-frontend/src/app/actions/tmx-actions.js
    M server/zanata-frontend/src/app/reducers/admin-reducer.js
    M server/zanata-frontend/src/app/reducers/common-reducer.js
    M server/zanata-frontend/src/app/reducers/explore-reducer.js
    M server/zanata-frontend/src/app/reducers/glossary-reducer.js
    M server/zanata-frontend/src/app/reducers/languages-reducer.js
    M server/zanata-frontend/src/app/reducers/profile-reducer.js
    A server/zanata-frontend/src/app/reducers/state.ts
    M server/zanata-frontend/src/app/reducers/tmx-reducer.js
    M server/zanata-frontend/src/app/utils/DateHelper.ts
    A server/zanata-frontend/src/app/utils/DeepReadonly.d.ts
    M server/zanata-frontend/src/app/utils/prop-types-util.ts
    M server/zanata-frontend/src/tslint.json

  Log Message:
  -----------
  Add incomplete types for Redux state (#945)

* Add incomplete types for Redux state
* Update eslintrc
* Fix accidental state mutation of state.importFile


  Commit: 38921c037f77cbd4063ade93b314b775e60ab449
      https://github.com/zanata/zanata-platform/commit/38921c037f77cbd4063ade93b314b775e60ab449
  Author: efloden <efloden at redhat.com>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M server/zanata-frontend/src/.storybook-editor/__snapshots__/storyshots-editor.test.js.snap
    M server/zanata-frontend/src/app/actions/common-actions.ts
    M server/zanata-frontend/src/app/actions/glossary-actions.js
    M server/zanata-frontend/src/app/actions/tmx-actions.js
    M server/zanata-frontend/src/app/components/MTMerge/MTMerge.story.tsx
    M server/zanata-frontend/src/app/containers/ProjectVersion/MTMergeContainer.ts
    M server/zanata-frontend/src/app/editor/actions/key-shortcuts-actions.js
    M server/zanata-frontend/src/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/app/editor/actions/phrases-actions.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationFooter.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationHeader.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationPanel.js
    M server/zanata-frontend/src/app/editor/components/TransUnitTranslationPanel.test.js
    M server/zanata-frontend/src/app/editor/components/Validation/Validation.test.js
    M server/zanata-frontend/src/app/editor/components/Validation/index.tsx
    A server/zanata-frontend/src/app/editor/components/ValidationErrorsModal/index.tsx
    M server/zanata-frontend/src/app/editor/containers/TranslationInfoPanel/index.js
    M server/zanata-frontend/src/app/editor/reducers/phrase-reducer/index.js
    M server/zanata-frontend/src/app/editor/utils/phrase-util.ts
    M server/zanata-frontend/src/app/editor/utils/phrase.ts
    M server/zanata-frontend/src/app/editor/utils/status-util.ts
    M server/zanata-frontend/src/app/editor/watchers/phrase-detail.js
    M server/zanata-frontend/src/app/reducers/admin-reducer.js
    M server/zanata-frontend/src/app/reducers/common-reducer.js
    M server/zanata-frontend/src/app/reducers/explore-reducer.js
    M server/zanata-frontend/src/app/reducers/glossary-reducer.js
    M server/zanata-frontend/src/app/reducers/languages-reducer.js
    M server/zanata-frontend/src/app/reducers/profile-reducer.js
    M server/zanata-frontend/src/app/reducers/state.ts
    M server/zanata-frontend/src/app/reducers/tmx-reducer.js
    M server/zanata-frontend/src/app/utils/DateHelper.ts
    M server/zanata-frontend/src/app/validators/AbstractValidationAction.ts
    M server/zanata-frontend/src/app/validators/ValidationMessages.ts
    M server/zanata-frontend/src/app/validators/impl/JavaVariablesValidation.ts
    M server/zanata-frontend/src/app/validators/impl/PrintfVariablesValidation.ts
    M server/zanata-frontend/src/app/validators/impl/PrintfXSIExtensionValidation.test.js
    M server/zanata-frontend/src/app/validators/impl/XmlEntityValidation.test.js
    M server/zanata-frontend/src/tslint.json

  Log Message:
  -----------
  Merge branch 'master' of github.com:zanata/zanata-platform into MTMerge-UI


  Commit: e857cf48bc96283248ed625eb013db707656ff70
      https://github.com/zanata/zanata-platform/commit/e857cf48bc96283248ed625eb013db707656ff70
  Author: efloden <efloden at redhat.com>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M server/zanata-frontend/src/.storybook-frontend/__snapshots__/storyshots-frontend.test.js.snap
    M server/zanata-frontend/src/.storybook-frontend/storyshots-frontend.test.js
    M server/zanata-frontend/src/app/components/MTMerge/MTMerge.story.tsx
    M server/zanata-frontend/src/app/components/MTMerge/MTMergeModal.tsx

  Log Message:
  -----------
  chore: update storyshots, disable multiple locale story


Compare: https://github.com/zanata/zanata-platform/compare/d270f82c7edf...e857cf48bc96
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the zanata-commits mailing list