mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
chore: form standardization (#2425)
This commit is contained in:
@@ -30,7 +30,9 @@ exports[`accepts valid email 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value="hans@test.com"
|
||||
@@ -54,7 +56,9 @@ exports[`accepts valid email 1`] = `
|
||||
disabled={false}
|
||||
id="confirmEmail"
|
||||
name="confirmEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Confirm Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -120,7 +124,9 @@ exports[`checks for invalid email 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value="invalid-email"
|
||||
@@ -157,7 +163,9 @@ exports[`checks for invalid email 1`] = `
|
||||
disabled={false}
|
||||
id="confirmEmail"
|
||||
name="confirmEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Confirm Email Address"
|
||||
type="text"
|
||||
value="invalid-confirmation-email"
|
||||
@@ -252,7 +260,9 @@ exports[`renders addEmailAddress view 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -276,7 +286,9 @@ exports[`renders addEmailAddress view 1`] = `
|
||||
disabled={false}
|
||||
id="confirmEmail"
|
||||
name="confirmEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Confirm Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -334,7 +346,9 @@ exports[`shows error when submitting empty form 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -371,7 +385,9 @@ exports[`shows error when submitting empty form 1`] = `
|
||||
disabled={false}
|
||||
id="confirmEmail"
|
||||
name="confirmEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Confirm Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -451,7 +467,9 @@ GraphQL request (4:3)
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value="hans@test.com"
|
||||
@@ -475,7 +493,9 @@ GraphQL request (4:3)
|
||||
disabled={false}
|
||||
id="confirmEmail"
|
||||
name="confirmEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Confirm Email Address"
|
||||
type="text"
|
||||
value="hans@test.com"
|
||||
@@ -528,7 +548,9 @@ exports[`successfully sets email 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -552,7 +574,9 @@ exports[`successfully sets email 1`] = `
|
||||
disabled={false}
|
||||
id="confirmEmail"
|
||||
name="confirmEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Confirm Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
|
||||
@@ -42,7 +42,9 @@ we require users to create a password.
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -165,7 +167,9 @@ we require users to create a password.
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -251,7 +255,9 @@ we require users to create a password.
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -359,7 +365,9 @@ GraphQL request (4:3)
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -440,7 +448,9 @@ we require users to create a password.
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
|
||||
@@ -35,7 +35,9 @@ exports[`checks for invalid username 1`] = `
|
||||
disabled={false}
|
||||
id="username"
|
||||
name="username"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Username"
|
||||
type="text"
|
||||
value="x"
|
||||
@@ -135,7 +137,9 @@ exports[`renders createUsername view 1`] = `
|
||||
disabled={false}
|
||||
id="username"
|
||||
name="username"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Username"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -198,7 +202,9 @@ exports[`shows error when submitting empty form 1`] = `
|
||||
disabled={false}
|
||||
id="username"
|
||||
name="username"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Username"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -283,7 +289,9 @@ GraphQL request (4:3)
|
||||
disabled={false}
|
||||
id="username"
|
||||
name="username"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Username"
|
||||
type="text"
|
||||
value="hans"
|
||||
@@ -341,7 +349,9 @@ exports[`successfully sets username 1`] = `
|
||||
disabled={false}
|
||||
id="username"
|
||||
name="username"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Username"
|
||||
type="text"
|
||||
value=""
|
||||
|
||||
@@ -25,7 +25,9 @@ exports[`accepts correct password 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -68,7 +70,9 @@ exports[`accepts correct password 1`] = `
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -140,7 +144,9 @@ exports[`accepts valid email 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value="hans@test.com"
|
||||
@@ -170,7 +176,9 @@ exports[`accepts valid email 1`] = `
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -255,7 +263,9 @@ exports[`checks for invalid email 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value="invalid-email"
|
||||
@@ -298,7 +308,9 @@ exports[`checks for invalid email 1`] = `
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -460,7 +472,9 @@ exports[`renders sign in form 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -490,7 +504,9 @@ exports[`renders sign in form 1`] = `
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -576,7 +592,9 @@ exports[`shows error when submitting empty form 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -619,7 +637,9 @@ exports[`shows error when submitting empty form 1`] = `
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -711,7 +731,9 @@ exports[`shows server error 1`] = `
|
||||
disabled={false}
|
||||
id="email"
|
||||
name="email"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Email Address"
|
||||
type="text"
|
||||
value="hans@test.com"
|
||||
@@ -741,7 +763,9 @@ exports[`shows server error 1`] = `
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
|
||||
@@ -149,7 +149,9 @@ exports[`renders community 1`] = `
|
||||
aria-label="Search by username or email address"
|
||||
className="TextField-input TextField-colorRegular TextField-seamlessAdornment"
|
||||
name="search"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Search by username or email address..."
|
||||
type="text"
|
||||
value=""
|
||||
@@ -786,7 +788,9 @@ exports[`renders empty community 1`] = `
|
||||
aria-label="Search by username or email address"
|
||||
className="TextField-input TextField-colorRegular TextField-seamlessAdornment"
|
||||
name="search"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Search by username or email address..."
|
||||
type="text"
|
||||
value=""
|
||||
|
||||
@@ -204,7 +204,9 @@ each of your site’s stories.
|
||||
disabled={false}
|
||||
id="configure-advanced-customCSSURL"
|
||||
name="customCSSURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -312,7 +314,9 @@ yourdomain.com, etc.
|
||||
disabled={false}
|
||||
id="configure-advanced-allowedDomains"
|
||||
name="allowedDomains"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
|
||||
@@ -30,6 +30,7 @@ exports[`change settings: during submit: oidc without errors 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -138,7 +139,9 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.name"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -164,7 +167,9 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -188,12 +193,14 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -243,7 +250,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.issuer"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -284,7 +293,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.authorizationURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -310,7 +321,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.tokenURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -336,7 +349,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.jwksURI"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -370,6 +385,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -395,6 +411,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -439,6 +456,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -488,6 +506,7 @@ exports[`change settings: enable facebook configure box 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -593,7 +612,9 @@ For more information visit:
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.facebook.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -617,12 +638,14 @@ For more information visit:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
name="auth.integrations.facebook.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -671,6 +694,7 @@ For more information visit:
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -696,6 +720,7 @@ For more information visit:
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -740,6 +765,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -789,6 +815,7 @@ exports[`change settings: enable oidc configure box 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -897,7 +924,9 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.name"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -923,7 +952,9 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -947,12 +978,14 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -1002,7 +1035,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.issuer"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1043,7 +1078,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.authorizationURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1069,7 +1106,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.tokenURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1095,7 +1134,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.jwksURI"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1129,6 +1170,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -1154,6 +1196,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -1198,6 +1241,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -1247,6 +1291,7 @@ exports[`change settings: oidc validation errors 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -1352,10 +1397,12 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular"
|
||||
className="TextField-input TextField-colorError"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.name"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1363,7 +1410,7 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
className="Message-root Message-colorError ValidationMessage-root"
|
||||
className="Message-root Message-colorError"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
@@ -1391,10 +1438,12 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular"
|
||||
className="TextField-input TextField-colorError"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1431,12 +1480,14 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -1459,7 +1510,7 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className="Message-root Message-colorError ValidationMessage-root"
|
||||
className="Message-root Message-colorError"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
@@ -1496,10 +1547,12 @@ the remaining fields. You may also enter the information manually.
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular"
|
||||
className="TextField-input TextField-colorError"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.issuer"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1522,7 +1575,7 @@ the remaining fields. You may also enter the information manually.
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
className="Message-root Message-colorError ValidationMessage-root"
|
||||
className="Message-root Message-colorError"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
@@ -1550,10 +1603,12 @@ the remaining fields. You may also enter the information manually.
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular"
|
||||
className="TextField-input TextField-colorError"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.authorizationURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1561,7 +1616,7 @@ the remaining fields. You may also enter the information manually.
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
className="Message-root Message-colorError ValidationMessage-root"
|
||||
className="Message-root Message-colorError"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
@@ -1589,10 +1644,12 @@ the remaining fields. You may also enter the information manually.
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular"
|
||||
className="TextField-input TextField-colorError"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.tokenURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1600,7 +1657,7 @@ the remaining fields. You may also enter the information manually.
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
className="Message-root Message-colorError ValidationMessage-root"
|
||||
className="Message-root Message-colorError"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
@@ -1628,10 +1685,12 @@ the remaining fields. You may also enter the information manually.
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular"
|
||||
className="TextField-input TextField-colorError"
|
||||
disabled={false}
|
||||
name="auth.integrations.oidc.jwksURI"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -1639,7 +1698,7 @@ the remaining fields. You may also enter the information manually.
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
className="Message-root Message-colorError ValidationMessage-root"
|
||||
className="Message-root Message-colorError"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
@@ -1678,6 +1737,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -1703,6 +1763,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -1747,6 +1808,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2018,6 +2080,7 @@ exports[`renders configure auth 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -2065,6 +2128,7 @@ exports[`renders configure auth 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2090,6 +2154,7 @@ exports[`renders configure auth 1`] = `
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2134,6 +2199,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2180,6 +2246,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -2288,7 +2355,9 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.name"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -2314,7 +2383,9 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -2338,12 +2409,14 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -2393,7 +2466,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.issuer"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -2434,7 +2509,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.authorizationURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -2460,7 +2537,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.tokenURL"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -2486,7 +2565,9 @@ the remaining fields. You may also enter the information manually.
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.oidc.jwksURI"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -2520,6 +2601,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2545,6 +2627,7 @@ the remaining fields. You may also enter the information manually.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2589,6 +2672,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2634,6 +2718,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -2764,6 +2849,7 @@ and all signed-in users will be signed out.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2789,6 +2875,7 @@ and all signed-in users will be signed out.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2833,6 +2920,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -2878,6 +2966,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -2983,7 +3072,9 @@ to create and set up a web application. For more information visit:
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.google.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -3007,12 +3098,14 @@ to create and set up a web application. For more information visit:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
name="auth.integrations.google.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -3061,6 +3154,7 @@ to create and set up a web application. For more information visit:
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -3086,6 +3180,7 @@ to create and set up a web application. For more information visit:
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -3130,6 +3225,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -3176,6 +3272,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={false}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label CheckBox-labelLight"
|
||||
@@ -3281,7 +3378,9 @@ For more information visit:
|
||||
className="TextField-input TextField-colorRegular"
|
||||
disabled={true}
|
||||
name="auth.integrations.facebook.clientID"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -3305,12 +3404,14 @@ For more information visit:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
name="auth.integrations.facebook.clientSecret"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -3359,6 +3460,7 @@ For more information visit:
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -3384,6 +3486,7 @@ For more information visit:
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
@@ -3428,6 +3531,7 @@ integration to register for a new account.
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
type="checkbox"
|
||||
value={true}
|
||||
/>
|
||||
<label
|
||||
className="CheckBox-label"
|
||||
|
||||
@@ -212,7 +212,9 @@ shared.
|
||||
<textarea
|
||||
id="configure-general-sitewideCommenting-message"
|
||||
name="disableCommenting.message"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
value="Comments are closed on this story."
|
||||
/>
|
||||
</div>
|
||||
@@ -317,7 +319,9 @@ Markdown can be found
|
||||
<textarea
|
||||
id="configure-general-guidelines-content"
|
||||
name="communityGuidelines.content"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
value=""
|
||||
/>
|
||||
</div>
|
||||
@@ -414,7 +418,9 @@ Markdown can be found
|
||||
disabled={false}
|
||||
id="configure-general-commentLength-min"
|
||||
name="charCount.min"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="No limit"
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -451,7 +457,9 @@ Markdown can be found
|
||||
disabled={false}
|
||||
id="configure-general-commentLength-max"
|
||||
name="charCount.max"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="No limit"
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -722,7 +730,9 @@ moderation panel.
|
||||
<textarea
|
||||
id="configure-general-closedStreamMessage-content"
|
||||
name="closeCommenting.message"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
value="Comments are closed on this story."
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -357,7 +357,9 @@ comment is toxic, according to Perspective API. By default the threshold is set
|
||||
disabled={false}
|
||||
id="configure-moderation-perspective-threshold"
|
||||
name="integrations.perspective.threshold"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="80"
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -408,7 +410,9 @@ comment is toxic, according to Perspective API. By default the threshold is set
|
||||
disabled={false}
|
||||
id="configure-moderation-perspective-model"
|
||||
name="integrations.perspective.model"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="TOXICITY"
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -517,13 +521,15 @@ improve the API over time.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
id="configure-moderation-integrations.perspective.key"
|
||||
name="integrations.perspective.key"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -571,7 +577,9 @@ improve the API over time.
|
||||
disabled={false}
|
||||
id="configure-moderation-perspective-customEndpoint"
|
||||
name="integrations.perspective.endpoint"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="https://commentanalyzer.googleapis.com/v1alpha1"
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -704,13 +712,15 @@ in your Akismet account:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
id="configure-moderation-integrations.akismet.key"
|
||||
name="integrations.akismet.key"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
@@ -753,7 +763,9 @@ in your Akismet account:
|
||||
disabled={false}
|
||||
id="configure-moderation-akismet-site"
|
||||
name="integrations.akismet.site"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
|
||||
@@ -144,7 +144,9 @@ exports[`renders configure organization 1`] = `
|
||||
disabled={false}
|
||||
id="configure-organization-organization.name"
|
||||
name="organization.name"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
@@ -184,7 +186,9 @@ status of their accounts or moderation questions.
|
||||
disabled={false}
|
||||
id="configure-organization-organization.contactEmail"
|
||||
name="organization.contactEmail"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder=""
|
||||
spellCheck={false}
|
||||
type="text"
|
||||
|
||||
@@ -166,7 +166,9 @@ to a new line separated list.
|
||||
disabled={false}
|
||||
id="configure-wordlist-banned"
|
||||
name="wordList.banned"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
spellCheck={false}
|
||||
value="fuck"
|
||||
/>
|
||||
@@ -224,7 +226,9 @@ to a new line separated list.
|
||||
disabled={false}
|
||||
id="configure-wordlist-suspect"
|
||||
name="wordList.suspect"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
spellCheck={false}
|
||||
value="idiot
|
||||
stupid"
|
||||
|
||||
@@ -203,14 +203,6 @@ it("change akismet settings", async () => {
|
||||
// Input valid api key
|
||||
keyField.props.onChange("my api key");
|
||||
|
||||
// Input malformed site.
|
||||
siteField.props.onChange("malformed url");
|
||||
|
||||
expect(
|
||||
within(akismetContainer).queryAllByText("This field is required.").length
|
||||
).toBe(0);
|
||||
expect(within(akismetContainer).queryAllByText("Invalid URL").length).toBe(1);
|
||||
|
||||
// Input correct site.
|
||||
siteField.props.onChange("https://coralproject.net");
|
||||
|
||||
|
||||
@@ -131,7 +131,9 @@ exports[`renders form 1`] = `
|
||||
disabled={false}
|
||||
id="username"
|
||||
name="username"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Username"
|
||||
type="text"
|
||||
value=""
|
||||
@@ -160,13 +162,15 @@ exports[`renders form 1`] = `
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoComplete="new-password"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-fullWidth PasswordField-input"
|
||||
disabled={false}
|
||||
id="password"
|
||||
name="password"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Password"
|
||||
spellCheck={false}
|
||||
type="password"
|
||||
|
||||
@@ -31,7 +31,9 @@ exports[`renders empty stories 1`] = `
|
||||
aria-label="Search by story title or author"
|
||||
className="TextField-input TextField-colorRegular TextField-seamlessAdornment"
|
||||
name="search"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Search by story title or author..."
|
||||
type="text"
|
||||
value=""
|
||||
@@ -334,7 +336,9 @@ exports[`renders stories 1`] = `
|
||||
aria-label="Search by story title or author"
|
||||
className="TextField-input TextField-colorRegular TextField-seamlessAdornment"
|
||||
name="search"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
onFocus={[Function]}
|
||||
placeholder="Search by story title or author..."
|
||||
type="text"
|
||||
value=""
|
||||
|
||||
Reference in New Issue
Block a user