mirror of
https://github.com/wassname/talk.git
synced 2026-08-01 13:00:55 +08:00
[CORL-516] forgot password flow in admin (#2558)
* add forgot password page and link to admin * add translations * update snaps * fix: install patch * fix: adapted localizations * fix: added email type to email field * fix: updated snapshots
This commit is contained in:
committed by
Wyatt Johnson
parent
2559d1c0e8
commit
a89dc4675a
@@ -94,6 +94,21 @@ exports[`accepts correct password 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className="Box-root Flex-root Flex-flex Flex-justifyFlexEnd"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
<a
|
||||
className="SignInWithEmail-textLink"
|
||||
href="/admin/forgot-password"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Forgot your password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className="BaseButton-root Button-root Button-sizeLarge Button-colorBrand Button-variantFilled Button-fullWidth"
|
||||
@@ -215,6 +230,21 @@ exports[`accepts valid email 1`] = `
|
||||
This field is required.
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="Box-root Flex-root Flex-flex Flex-justifyFlexEnd"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
<a
|
||||
className="SignInWithEmail-textLink"
|
||||
href="/admin/forgot-password"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Forgot your password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className="BaseButton-root Button-root Button-sizeLarge Button-colorBrand Button-variantFilled Button-fullWidth"
|
||||
@@ -349,6 +379,21 @@ exports[`checks for invalid email 1`] = `
|
||||
This field is required.
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="Box-root Flex-root Flex-flex Flex-justifyFlexEnd"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
<a
|
||||
className="SignInWithEmail-textLink"
|
||||
href="/admin/forgot-password"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Forgot your password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className="BaseButton-root Button-root Button-sizeLarge Button-colorBrand Button-variantFilled Button-fullWidth"
|
||||
@@ -504,6 +549,21 @@ exports[`renders sign in form 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className="Box-root Flex-root Flex-flex Flex-justifyFlexEnd"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
<a
|
||||
className="SignInWithEmail-textLink"
|
||||
href="/admin/forgot-password"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Forgot your password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className="BaseButton-root Button-root Button-sizeLarge Button-colorBrand Button-variantFilled Button-fullWidth"
|
||||
@@ -652,6 +712,21 @@ exports[`shows error when submitting empty form 1`] = `
|
||||
This field is required.
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="Box-root Flex-root Flex-flex Flex-justifyFlexEnd"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
<a
|
||||
className="SignInWithEmail-textLink"
|
||||
href="/admin/forgot-password"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Forgot your password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className="BaseButton-root Button-root Button-sizeLarge Button-colorBrand Button-variantFilled Button-fullWidth"
|
||||
@@ -767,6 +842,21 @@ exports[`shows server error 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className="Box-root Flex-root Flex-flex Flex-justifyFlexEnd"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
<a
|
||||
className="SignInWithEmail-textLink"
|
||||
href="/admin/forgot-password"
|
||||
onClick={[Function]}
|
||||
>
|
||||
Forgot your password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className="BaseButton-root Button-root Button-sizeLarge Button-colorBrand Button-variantFilled Button-fullWidth"
|
||||
|
||||
@@ -245,7 +245,7 @@ each of your site’s stories.
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyShort Typography-colorTextPrimary"
|
||||
>
|
||||
When enabled, there will be real-time loading and updating of comments.
|
||||
When enabled, there will be real-time loading and updating of comments.
|
||||
When disabled, users will have to refresh the page to see new comments.
|
||||
</p>
|
||||
<div>
|
||||
|
||||
@@ -211,9 +211,9 @@ exports[`renders configure general 1`] = `
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyShort Typography-colorTextPrimary"
|
||||
>
|
||||
Open or close comment streams for new comments sitewide.
|
||||
When new comments are turned off, new comments cannot be
|
||||
submitted, but existing comments can continue to receive
|
||||
Open or close comment streams for new comments sitewide.
|
||||
When new comments are turned off, new comments cannot be
|
||||
submitted, but existing comments can continue to receive
|
||||
reactions, be reported, and be shared.
|
||||
</p>
|
||||
<fieldset
|
||||
@@ -386,9 +386,9 @@ reactions, be reported, and be shared.
|
||||
<p
|
||||
className="Box-root Typography-root Typography-fieldDescription Typography-colorTextSecondary"
|
||||
>
|
||||
This will appear above the comments sitewide.
|
||||
You can format the text using Markdown.
|
||||
More information on how to use Markdown
|
||||
This will appear above the comments sitewide.
|
||||
You can format the text using Markdown.
|
||||
More information on how to use Markdown
|
||||
|
||||
<a
|
||||
className="ExternalLink-root"
|
||||
@@ -858,7 +858,7 @@ moderation panel.
|
||||
className="Box-root Typography-root Typography-bodyShort Typography-colorTextPrimary"
|
||||
>
|
||||
Allow your community to engage with one another and express themselves
|
||||
with one-click reactions. By default, Coral allows commenters to "Respect"
|
||||
with one-click reactions. By default, Coral allows commenters to "Respect"
|
||||
each other's comments.
|
||||
</p>
|
||||
<div
|
||||
|
||||
@@ -318,9 +318,9 @@ approved by a moderator.
|
||||
<p
|
||||
className="Box-root Typography-root Typography-fieldDescription Typography-colorTextSecondary"
|
||||
>
|
||||
Prevents repeat offenders from publishing comments without approval.
|
||||
When a commenter's rejection rate is above the threshold, their
|
||||
comments are sent to Pending for moderator approval. This does not
|
||||
Prevents repeat offenders from publishing comments without approval.
|
||||
When a commenter's rejection rate is above the threshold, their
|
||||
comments are sent to Pending for moderator approval. This does not
|
||||
apply to Staff comments.
|
||||
</p>
|
||||
<div>
|
||||
@@ -385,8 +385,8 @@ apply to Staff comments.
|
||||
<p
|
||||
className="Box-root Typography-root Typography-fieldDescription Typography-colorTextSecondary"
|
||||
>
|
||||
Rejected comments ÷ (rejected comments + published comments)
|
||||
over the timeframe above, as a percentage. It does not include
|
||||
Rejected comments ÷ (rejected comments + published comments)
|
||||
over the timeframe above, as a percentage. It does not include
|
||||
comments pending for toxicity, spam or pre-moderation.
|
||||
</p>
|
||||
<div
|
||||
@@ -435,9 +435,9 @@ comments pending for toxicity, spam or pre-moderation.
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyShort Typography-colorTextPrimary"
|
||||
>
|
||||
Using the Perspective API, the Toxic Comment filter warns users
|
||||
when comments exceed the predefined toxicity threshold.
|
||||
Comments with a toxicity score above the threshold
|
||||
Using the Perspective API, the Toxic Comment filter warns users
|
||||
when comments exceed the predefined toxicity threshold.
|
||||
Comments with a toxicity score above the threshold
|
||||
|
||||
<strong>
|
||||
will not be published
|
||||
@@ -447,7 +447,7 @@ the
|
||||
<strong>
|
||||
Pending Queue for review by a moderator
|
||||
</strong>
|
||||
.
|
||||
.
|
||||
If approved by a moderator, the comment will be published.
|
||||
</p>
|
||||
<fieldset
|
||||
@@ -566,7 +566,7 @@ comment is toxic, according to Perspective API. By default the threshold is set
|
||||
<p
|
||||
className="Box-root Typography-root Typography-fieldDescription Typography-colorTextSecondary"
|
||||
>
|
||||
Choose your Perspective Model. The default is TOXICITY.
|
||||
Choose your Perspective Model. The default is TOXICITY.
|
||||
You can find out more about model choices
|
||||
<a
|
||||
className="ExternalLink-root"
|
||||
@@ -783,9 +783,9 @@ improve the API over time.
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyShort Typography-colorTextPrimary"
|
||||
>
|
||||
The Akismet API filter warns users when a comment is determined likely
|
||||
to be spam. Comments that Akismet thinks are spam will not be published
|
||||
and are placed in the Pending Queue for review by a moderator.
|
||||
The Akismet API filter warns users when a comment is determined likely
|
||||
to be spam. Comments that Akismet thinks are spam will not be published
|
||||
and are placed in the Pending Queue for review by a moderator.
|
||||
If approved by a moderator, the comment will be published.
|
||||
</p>
|
||||
<fieldset
|
||||
|
||||
Reference in New Issue
Block a user