[next] Implement configuration panes (#2173)

* feat: moderation config

* feat: configure banned and suspect words

* chore: upgrade react and test libs to the newest version <3

* chore: upgrade typescript + some refactor

* feat: general, organization and advanced configuration panes

* fix: translation

* feat: speedup fetching markdown editor

* feat: localize markdown editor

* chore: refactor container names

* chore: rename infobox to communityGuidelines

* feat: closing comment streams duration config

* test: add feature tests for configurations

* fix: mock only console.error

* chore: upgrade node

* chore: require node >= 10

* fix: better validation and default values

* feat: Make DurationField a general purpose component and reuse for Edit Comment Timeframe

* test: add unit test for duration field

* fix: patch for bug when built in production

* chore: bump npm version to latest

* fix: adapted Dockerfile to new version of node

* refactor: harmonized seconds/milliseconds to seconds

* fix: resolve bug from merge conflict
This commit is contained in:
Kiwi
2019-02-07 01:10:51 +01:00
committed by GitHub
parent 9fa5900acc
commit 53e168ae93
228 changed files with 10582 additions and 2774 deletions
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders correctly 1`] = `
<withPropsOnChange(Flex)
<ForwardRef(forwardRef)
alignItems="center"
className="Bar-root"
justifyContent="center"
@@ -9,5 +9,5 @@ exports[`renders correctly 1`] = `
<div>
Hello World
</div>
</withPropsOnChange(Flex)>
</ForwardRef(forwardRef)>
`;
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders correctly 1`] = `
<withPropsOnChange(Flex)
<ForwardRef(forwardRef)
alignItems="center"
className="SubBar-root"
justifyContent="center"
@@ -9,5 +9,5 @@ exports[`renders correctly 1`] = `
<div>
Hello World
</div>
</withPropsOnChange(Flex)>
</ForwardRef(forwardRef)>
`;
@@ -1,11 +1,11 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders correctly 1`] = `
<withPropsOnChange(Typography)
<ForwardRef(forwardRef)
align="center"
className="Subtitle-root"
variant="heading4"
>
Hello World
</withPropsOnChange(Typography)>
</ForwardRef(forwardRef)>
`;
@@ -1,11 +1,11 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders correctly 1`] = `
<withPropsOnChange(Typography)
<ForwardRef(forwardRef)
align="center"
className="Title-root"
variant="heading2"
>
Hello World
</withPropsOnChange(Typography)>
</ForwardRef(forwardRef)>
`;