From e90c0cd89348eac2ae510e6e3760a909723debc3 Mon Sep 17 00:00:00 2001 From: kgough Date: Thu, 18 Jan 2018 15:41:26 +1000 Subject: [PATCH 01/26] fix(ZNTA-2313) WIP: update admin rejection panel --- .../app/components/RejectionsForm/index.js | 11 +----- .../src/app/containers/Admin/Review.js | 37 +------------------ 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/index.js b/server/zanata-frontend/src/app/components/RejectionsForm/index.js index 08cde61aa3..37893f8923 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/index.js +++ b/server/zanata-frontend/src/app/components/RejectionsForm/index.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types' import { Form, FormGroup, ControlLabel, Button, OverlayTrigger, Tooltip } from 'react-bootstrap' import { Icon, TextInput, SelectableDropdown } from '../../components' -import Toggle from 'react-toggle' + /** * Reject Translations Administration panel */ @@ -113,14 +113,6 @@ class RejectionsForm extends Component { ) : DO_NOT_RENDER - const editableToggle = isAdminMode ? ( - - Editable
- -
- ) - : DO_NOT_RENDER const formBtn = isAdminMode ? (  
@@ -152,7 +144,6 @@ class RejectionsForm extends Component { disabled={priorityDisabled} />
- {editableToggle} {formBtn} ) diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index e2a5f75f72..b8e6676686 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -4,47 +4,13 @@ import {connect} from 'react-redux' import RejectionsForm, {MAJOR, MINOR, CRITICAL} from '../../components/RejectionsForm' import Icon from '../../components/Icon' -import {Button, Accordion, Panel, Alert} from 'react-bootstrap' +import {Button, Panel, Alert} from 'react-bootstrap' import { fetchAllCriteria, addNewCriterion, editCriterion, removeCriterion } from '../../actions/review-actions' import {selectors} from '../../reducers/admin-reducer' const DO_NOT_RENDER = undefined - -const exampleHeader = Example criteria: - click to expand -/* eslint-disable max-len */ -const exampleCriteria = - - - - - - - - - /* eslint-enable max-len */ class AdminReview extends Component { @@ -95,7 +61,6 @@ class AdminReview extends Component { {notification} return
{notificationBar} - {exampleCriteria}

Reject translations settings

{criteriaList} {newEntryForm} From 3e55722bb8e024685cde4f1e36911883e27163c2 Mon Sep 17 00:00:00 2001 From: kgough Date: Fri, 19 Jan 2018 11:41:29 +1000 Subject: [PATCH 02/26] WIP: review criteria admin page design updates --- .../app/components/RejectionsForm/index.less | 4 ++++ .../src/app/containers/Admin/Review.js | 23 +++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/index.less b/server/zanata-frontend/src/app/components/RejectionsForm/index.less index 530e3661d4..b092ddc0e5 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/index.less +++ b/server/zanata-frontend/src/app/components/RejectionsForm/index.less @@ -31,6 +31,10 @@ form.rejectionsForm .iconEdit, vertical-align: sub; } +.rejection-btns { + margin-left: @spacing-half-base; +} + form.rejectionsForm button#dropdown-basic { font-weight: 400; padding-left: @spacing-rq; diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index b8e6676686..8fde9c7f8b 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -4,7 +4,7 @@ import {connect} from 'react-redux' import RejectionsForm, {MAJOR, MINOR, CRITICAL} from '../../components/RejectionsForm' import Icon from '../../components/Icon' -import {Button, Panel, Alert} from 'react-bootstrap' +import {Button, Panel, Alert, Breadcrumb, Well} from 'react-bootstrap' import { fetchAllCriteria, addNewCriterion, editCriterion, removeCriterion } from '../../actions/review-actions' @@ -59,9 +59,28 @@ class AdminReview extends Component { const notificationBar = notification && {notification} - return
+ return
+ + + Admin + + {notificationBar}

Reject translations settings

+

Description

+

Example criteria:

+
    +
  • Translation Errors (terminology, mistranslated, addition, + omission, un-localized, do not translate, etc)
  • +
  • Language Quality (grammar, spelling, punctuation, typo, + ambiguous wording, product name, sentence structuring, readability, + word choice, not natural, too literal, style and tone, etc)
  • +
  • Consistency (inconsistent style or vocabulary, brand + inconsistency, etc.)
  • +
  • Format (mismatches, white-spaces, tag error or missing, + special character, numeric format, truncated, etc.)
  • +
+
{criteriaList} {newEntryForm}
From 1b25463cf69a5c37461ad89ae54d459aeb871890 Mon Sep 17 00:00:00 2001 From: kgough Date: Fri, 19 Jan 2018 12:00:25 +1000 Subject: [PATCH 03/26] WIP: review criteria admin page desscription and entry spacing --- .../src/app/components/RejectionsForm/index.less | 2 +- .../src/app/containers/Admin/Review.js | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/index.less b/server/zanata-frontend/src/app/components/RejectionsForm/index.less index b092ddc0e5..8ebb7ce443 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/index.less +++ b/server/zanata-frontend/src/app/components/RejectionsForm/index.less @@ -14,7 +14,7 @@ form.rejectionsForm textarea.textInput::placeholder { } form.rejectionsForm .form-group { - padding-right: @spacing-base; + padding-right: @spacing-xlarge; } form.rejectionsForm .control-label { diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index 8fde9c7f8b..ad80ce6a28 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -67,17 +67,18 @@ class AdminReview extends Component { {notificationBar}

Reject translations settings

-

Description

-

Example criteria:

+

What, why, how, when, blah.

+

Example criteria

    -
  • Translation Errors (terminology, mistranslated, addition, +
  • Translation Errors (terminology, mistranslated, addition, omission, un-localized, do not translate, etc)
  • -
  • Language Quality (grammar, spelling, punctuation, typo, +
  • Language Quality (grammar, spelling, punctuation, typo, ambiguous wording, product name, sentence structuring, readability, word choice, not natural, too literal, style and tone, etc)
  • -
  • Consistency (inconsistent style or vocabulary, brand +
  • Style Guide and Glossary Violations
  • +
  • Consistency (inconsistent style or vocabulary, brand inconsistency, etc.)
  • -
  • Format (mismatches, white-spaces, tag error or missing, +
  • Format (mismatches, white-spaces, tag error or missing, special character, numeric format, truncated, etc.)
@@ -86,7 +87,7 @@ class AdminReview extends Component {
From 753de11eb01c7b87da7652db9cf5fabff3f3a0f5 Mon Sep 17 00:00:00 2001 From: kgough Date: Fri, 19 Jan 2018 12:13:33 +1000 Subject: [PATCH 04/26] fix: linting errors --- .../src/app/containers/Admin/Review.js | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index ad80ce6a28..066766b1b6 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -70,16 +70,18 @@ class AdminReview extends Component {

What, why, how, when, blah.

Example criteria

    -
  • Translation Errors (terminology, mistranslated, addition, - omission, un-localized, do not translate, etc)
  • -
  • Language Quality (grammar, spelling, punctuation, typo, - ambiguous wording, product name, sentence structuring, readability, - word choice, not natural, too literal, style and tone, etc)
  • +
  • Translation Errors (terminology, mistranslated, + addition, omission, un-localized, do not translate, etc)
  • +
  • Language Quality (grammar, spelling, + punctuation, typo, ambiguous wording, product name, + sentence structuring, readability, word choice, not natural, + too literal, style and tone, etc)
  • Style Guide and Glossary Violations
  • -
  • Consistency (inconsistent style or vocabulary, brand - inconsistency, etc.)
  • -
  • Format (mismatches, white-spaces, tag error or missing, - special character, numeric format, truncated, etc.)
  • +
  • Consistency (inconsistent style or vocabulary, + brand inconsistency, etc.)
  • +
  • Format (mismatches, white-spaces, tag error + or missing, special character, numeric format, truncated, + etc.)
{criteriaList} From fd23456a27219e6c0c872cc250fde7201d45d933 Mon Sep 17 00:00:00 2001 From: kgough Date: Fri, 19 Jan 2018 12:24:51 +1000 Subject: [PATCH 05/26] fix(ZNTA-2313) update well deisgn on Reject translations settings page --- .../src/app/containers/Admin/Review.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index 066766b1b6..dc966a2571 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -51,14 +51,14 @@ class AdminReview extends Component { onSave={editEntry} description={c.description} priority={c.priority} />) const newEntryForm = this.state.showNewEntryForm ? ( - + ) : DO_NOT_RENDER const notificationBar = notification && - {notification} + {notification} return
@@ -67,8 +67,9 @@ class AdminReview extends Component { {notificationBar}

Reject translations settings

-

What, why, how, when, blah.

-

Example criteria

+

What, why, how, when, blah.

+

Example criteria

+
  • Translation Errors (terminology, mistranslated, addition, omission, un-localized, do not translate, etc)
  • From d07c0d3264c0c530425fa852c557c95fa54a64d2 Mon Sep 17 00:00:00 2001 From: kgough Date: Fri, 19 Jan 2018 15:55:15 +1000 Subject: [PATCH 06/26] fix(ZNTA-2313) add description to Admin Review page --- server/zanata-frontend/src/app/containers/Admin/Review.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index dc966a2571..5b9474ad21 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -62,12 +62,14 @@ class AdminReview extends Component { return
    - Admin + Administration {notificationBar}

    Reject translations settings

    -

    What, why, how, when, blah.

    +

    Set the translation rejection criteria to be used + in the editor. Start by adding your first 'new rejection criteria + entry' and add as many criteria as you require.

    Example criteria


      From b83170ccd8aeb08f76c3982c41acaf3d0101a891 Mon Sep 17 00:00:00 2001 From: kgough Date: Tue, 23 Jan 2018 16:15:56 +1000 Subject: [PATCH 07/26] fix(ZNTA-2313) WIP: changes to admin review panel and storybook (added examples for successful save of criteria and for confirming deletion of criteria) --- .../RejectionsForm/RejectionsForm.story.js | 155 ++++++++++++------ .../app/components/RejectionsForm/index.js | 103 +++++++----- .../src/app/containers/Admin/Review.js | 17 +- 3 files changed, 173 insertions(+), 102 deletions(-) diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/RejectionsForm.story.js b/server/zanata-frontend/src/app/components/RejectionsForm/RejectionsForm.story.js index 03311cb0a9..32ca4dc2a1 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/RejectionsForm.story.js +++ b/server/zanata-frontend/src/app/components/RejectionsForm/RejectionsForm.story.js @@ -1,61 +1,118 @@ import React from 'react' -import { storiesOf, action } from '@storybook/react' -import { Button } from 'react-bootstrap' -import { Icon, TextInput } from '../../components' +import {storiesOf, action} from '@storybook/react' +import {Button, Alert, OverlayTrigger, Tooltip} from 'react-bootstrap' +import {Icon} from '../../components' import RejectionsForm from '.' -import { MINOR, MAJOR, CRITICAL } from "./index"; +import {MINOR, MAJOR, CRITICAL} from "./index"; + +const tooltipDeleteConfirmation = ( + Are you sure you want to delete this criteria?
      + +
      +
      ) storiesOf('RejectionsForm', module) - .add('read only', () => ( - - )) - .add('editable', () => ( + .add('read only', () => ( + priority={MINOR} textState='text-info'/> )) - .add('Admin screen', () => ( -
      -

      Reject translations settings

      + .add('editable', () => ( - - - - - -
      - - + criteriaPlaceholder='Format (mismatches, white-spaces, tag error or missing, special character, numeric format, truncated, etc.)' + priority={MINOR} textState='text-info'/> + )) + .add('admin screen', () => ( +
      +

      Reject translations settings

      + + + + + + +
      + +
      +
      + )) + .add('**Saved criteria', () => ( +
      + Rejection criteria saved. +

      Reject translations settings

      + + + + + + +
      + +
      -
      - )) + )) + .add('**Confirm delete criteria', () => ( +
      + + + +
      + )) + + + diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/index.js b/server/zanata-frontend/src/app/components/RejectionsForm/index.js index 37893f8923..e30b2caae4 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/index.js +++ b/server/zanata-frontend/src/app/components/RejectionsForm/index.js @@ -1,8 +1,10 @@ -import React, { Component } from 'react' +import React, {Component} from 'react' import PropTypes from 'prop-types' -import { Form, FormGroup, ControlLabel, Button, OverlayTrigger, Tooltip } +import { + Form, FormGroup, ControlLabel, Button, OverlayTrigger, Tooltip +} from 'react-bootstrap' -import { Icon, TextInput, SelectableDropdown } from '../../components' +import {Icon, TextInput, SelectableDropdown} from '../../components' /** * Reject Translations Administration panel @@ -12,9 +14,11 @@ export const MAJOR = 'Major' export const CRITICAL = 'Critical' const DO_NOT_RENDER = undefined -const tooltip = (Save criteria) +const tooltipSave = (Save criteria) + +const tooltipDelete = (Delete criteria) -function priorityToTextState (priority) { +function priorityToTextState(priority) { switch (priority) { case CRITICAL: return 'u-textDanger' @@ -26,7 +30,7 @@ function priorityToTextState (priority) { } const priorityToDisplay = - p => {p} + p => {p} class RejectionsForm extends Component { static propTypes = { @@ -55,11 +59,13 @@ class RejectionsForm extends Component { description: '', isAdminMode: false, displayDelete: true, - onSave: () => {}, - onDelete: () => {} + onSave: () => { + }, + onDelete: () => { + } } - constructor (props) { + constructor(props) { super(props) this.state = { description: this.props.description, @@ -95,7 +101,8 @@ class RejectionsForm extends Component { onDelete = () => { this.props.onDelete(this.props.entityId) } - render () { + + render() { const { editable, className, @@ -108,44 +115,50 @@ class RejectionsForm extends Component { const title = {this.state.priority} const priorityDisabled = !isAdminMode && !editable const deleteBtn = displayDelete - ? ( - - ) : DO_NOT_RENDER + ? ( + + + + ) : DO_NOT_RENDER const formBtn = isAdminMode ? ( - -  
      - - - - {deleteBtn} -
      + +  
      + + + + {deleteBtn} +
      ) : DO_NOT_RENDER return ( -
      - - Criteria
      - -
      - - Priority
      - -
      - {formBtn} -
      +
      + + Criteria
      + +
      + + Priority
      + +
      + {formBtn} +
      ) } } diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index 5b9474ad21..2afb648116 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -13,6 +13,7 @@ import {selectors} from '../../reducers/admin-reducer' const DO_NOT_RENDER = undefined /* eslint-enable max-len */ + class AdminReview extends Component { static propTypes = { criteria: PropType.arrayOf(PropType.shape({ @@ -73,18 +74,18 @@ class AdminReview extends Component {

      Example criteria


        -
      • Translation Errors (terminology, mistranslated, - addition, omission, un-localized, do not translate, etc)
      • -
      • Language Quality (grammar, spelling, +
      • Translation Errors: terminology, mistranslated, + addition, omission, un-localized, do not translate, etc
      • +
      • Language Quality: grammar, spelling, punctuation, typo, ambiguous wording, product name, sentence structuring, readability, word choice, not natural, - too literal, style and tone, etc)
      • + too literal, style and tone, etc
      • Style Guide and Glossary Violations
      • -
      • Consistency (inconsistent style or vocabulary, - brand inconsistency, etc.)
      • -
      • Format (mismatches, white-spaces, tag error +
      • Consistency: inconsistent style or vocabulary, + brand inconsistency, etc.
      • +
      • Format: mismatches, white-spaces, tag error or missing, special character, numeric format, truncated, - etc.)
      • + etc.
      {criteriaList} From 4b0ea3f8134e557d438701c88848e614fc0b9610 Mon Sep 17 00:00:00 2001 From: kgough Date: Tue, 23 Jan 2018 16:17:31 +1000 Subject: [PATCH 08/26] fix(ZNTA-2313) fix linting errors --- server/zanata-frontend/src/app/containers/Admin/Review.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server/zanata-frontend/src/app/containers/Admin/Review.js b/server/zanata-frontend/src/app/containers/Admin/Review.js index 2afb648116..cb8a410351 100644 --- a/server/zanata-frontend/src/app/containers/Admin/Review.js +++ b/server/zanata-frontend/src/app/containers/Admin/Review.js @@ -13,7 +13,6 @@ import {selectors} from '../../reducers/admin-reducer' const DO_NOT_RENDER = undefined /* eslint-enable max-len */ - class AdminReview extends Component { static propTypes = { criteria: PropType.arrayOf(PropType.shape({ From 2875393374871864e53b9f0cbc0996a9ae991bf3 Mon Sep 17 00:00:00 2001 From: kgough Date: Tue, 23 Jan 2018 16:23:37 +1000 Subject: [PATCH 09/26] fix(ZNTA-2313) fix linting errors --- .../app/components/RejectionsForm/index.js | 102 ++++++++---------- 1 file changed, 47 insertions(+), 55 deletions(-) diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/index.js b/server/zanata-frontend/src/app/components/RejectionsForm/index.js index e30b2caae4..6dff18bd52 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/index.js +++ b/server/zanata-frontend/src/app/components/RejectionsForm/index.js @@ -1,10 +1,8 @@ -import React, {Component} from 'react' +import React, { Component } from 'react' import PropTypes from 'prop-types' -import { - Form, FormGroup, ControlLabel, Button, OverlayTrigger, Tooltip -} +import { Form, FormGroup, ControlLabel, Button, OverlayTrigger, Tooltip } from 'react-bootstrap' -import {Icon, TextInput, SelectableDropdown} from '../../components' +import { Icon, TextInput, SelectableDropdown } from '../../components' /** * Reject Translations Administration panel @@ -18,7 +16,7 @@ const tooltipSave = (Save criteria) const tooltipDelete = (Delete criteria) -function priorityToTextState(priority) { +function priorityToTextState (priority) { switch (priority) { case CRITICAL: return 'u-textDanger' @@ -30,7 +28,7 @@ function priorityToTextState(priority) { } const priorityToDisplay = - p => {p} + p => {p} class RejectionsForm extends Component { static propTypes = { @@ -59,13 +57,11 @@ class RejectionsForm extends Component { description: '', isAdminMode: false, displayDelete: true, - onSave: () => { - }, - onDelete: () => { - } + onSave: () => {}, + onDelete: () => {} } - constructor(props) { + constructor (props) { super(props) this.state = { description: this.props.description, @@ -101,8 +97,7 @@ class RejectionsForm extends Component { onDelete = () => { this.props.onDelete(this.props.entityId) } - - render() { + render () { const { editable, className, @@ -115,50 +110,47 @@ class RejectionsForm extends Component { const title = {this.state.priority} const priorityDisabled = !isAdminMode && !editable const deleteBtn = displayDelete - ? ( - - - - ) : DO_NOT_RENDER + ? ( + + + + ) : DO_NOT_RENDER const formBtn = isAdminMode ? ( - -  
      - - - - {deleteBtn} -
      + +  
      + + + + {deleteBtn} +
      ) : DO_NOT_RENDER return ( -
      - - Criteria
      - -
      - - Priority
      - -
      - {formBtn} -
      +
      + + Criteria
      + +
      + + Priority
      + +
      + {formBtn} +
      ) } } From fe3e26dedc4ce7be5cc86ced7dc425fa222541f9 Mon Sep 17 00:00:00 2001 From: kgough Date: Wed, 24 Jan 2018 09:43:05 +1000 Subject: [PATCH 10/26] fix(ZNTA-2313) remove unused import statement from RejectionsForm --- .../zanata-frontend/src/app/components/RejectionsForm/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server/zanata-frontend/src/app/components/RejectionsForm/index.js b/server/zanata-frontend/src/app/components/RejectionsForm/index.js index 40175a12c9..481ceb69a0 100644 --- a/server/zanata-frontend/src/app/components/RejectionsForm/index.js +++ b/server/zanata-frontend/src/app/components/RejectionsForm/index.js @@ -4,7 +4,6 @@ import * as PropTypes from 'prop-types' import { Form, FormGroup, ControlLabel, Button, OverlayTrigger, Tooltip } from 'react-bootstrap' import { Icon, TextInput, SelectableDropdown } from '../../components' -import Toggle from 'react-toggle' import { isEmpty } from 'lodash' /** From 5e387aad8c86149c9523e42c81d0361e8629e752 Mon Sep 17 00:00:00 2001 From: kgough Date: Wed, 24 Jan 2018 10:42:32 +1000 Subject: [PATCH 11/26] fix(ZNTA-2313) update snapshots --- .../storyshots-frontend.test.js.snap | 905 +++++++++++++++++- 1 file changed, 873 insertions(+), 32 deletions(-) diff --git a/server/zanata-frontend/src/.storybook-frontend/__snapshots__/storyshots-frontend.test.js.snap b/server/zanata-frontend/src/.storybook-frontend/__snapshots__/storyshots-frontend.test.js.snap index df0b573fec..418b691ea8 100644 --- a/server/zanata-frontend/src/.storybook-frontend/__snapshots__/storyshots-frontend.test.js.snap +++ b/server/zanata-frontend/src/.storybook-frontend/__snapshots__/storyshots-frontend.test.js.snap @@ -18213,10 +18213,51 @@ exports[`Frontend Storyshots ProgressBar translation states 1`] = ` `; -exports[`Frontend Storyshots RejectionsForm Admin screen 1`] = ` +exports[`Frontend Storyshots RejectionsForm **Confirm delete criteria 1`] = ` +
      + +
      +`; + +exports[`Frontend Storyshots RejectionsForm **Saved criteria 1`] = `
      +
      + Rejection criteria saved. +

      Reject translations settings

      @@ -18245,7 +18286,7 @@ exports[`Frontend Storyshots RejectionsForm Admin screen 1`] = ` onKeyDown={undefined} onSelect={undefined} placeholder="Translation Errors (terminology, mistranslated, addition, omission, un-localized, do not translate, etc)" - readOnly={true} + readOnly={false} style={ Object { "height": 0, @@ -18265,13 +18306,13 @@ exports[`Frontend Storyshots RejectionsForm Admin screen 1`] = `
      -
      +`; + +exports[`Frontend Storyshots RejectionsForm admin screen 1`] = ` +
      +

      + Reject translations settings +

      +
      +
      - - ", - } + Criteria + +
      +