mirror of
https://github.com/wassname/talk.git
synced 2026-07-31 12:50:48 +08:00
5.4.0 Release Bug Fixes (#2789)
* fix: addresses CORL-848 Fixed copy for new commenters feature. * fix: address CORL-847 Revert the line hight changes on select fields for now. * fix: addressed CORL-851 Changed copy on CSS field. * fix: addressed CORL-840 Changed deletion window to 24 hours. Refactored durations to use TIME enum.
This commit is contained in:
@@ -234,7 +234,7 @@ each of your site’s stories.
|
||||
<p
|
||||
className="FormFieldDescription-root"
|
||||
>
|
||||
URL of a CSS stylesheet that will override default Embed Stream styles. Can be internal or external.
|
||||
URL of a CSS stylesheet that will override default Embed Stream styles.
|
||||
</p>
|
||||
<div
|
||||
className="Box-root HorizontalGutter-root HorizontalGutter-spacing-2"
|
||||
|
||||
@@ -367,7 +367,7 @@ for moderator approval before publication.
|
||||
<label
|
||||
className="Label-root"
|
||||
>
|
||||
Number of first comments sent for approval
|
||||
Number of comments that must be approved
|
||||
</label>
|
||||
<div
|
||||
className="TextField-root"
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import {
|
||||
DEFAULT_SESSION_LENGTH,
|
||||
DEFAULT_SESSION_DURATION,
|
||||
TOXICITY_THRESHOLD_DEFAULT,
|
||||
} from "coral-common/constants";
|
||||
import TIME from "coral-common/time";
|
||||
import { pureMerge } from "coral-common/utils";
|
||||
import {
|
||||
GQLComment,
|
||||
@@ -77,8 +78,7 @@ export const settings = createFixture<GQLSettings>({
|
||||
},
|
||||
recentCommentHistory: {
|
||||
enabled: false,
|
||||
// 7 days in seconds.
|
||||
timeFrame: 604800,
|
||||
timeFrame: 7 * TIME.DAY,
|
||||
// Rejection rate defaulting to 30%, once exceeded, comments will be
|
||||
// pre-moderated.
|
||||
triggerRejectionRate: 0.3,
|
||||
@@ -94,7 +94,7 @@ export const settings = createFixture<GQLSettings>({
|
||||
},
|
||||
},
|
||||
auth: {
|
||||
sessionDuration: DEFAULT_SESSION_LENGTH,
|
||||
sessionDuration: DEFAULT_SESSION_DURATION,
|
||||
integrations: {
|
||||
local: {
|
||||
enabled: true,
|
||||
@@ -175,7 +175,7 @@ export const settingsWithEmptyAuth = createFixture<GQLSettings>(
|
||||
{
|
||||
id: "settings",
|
||||
auth: {
|
||||
sessionDuration: DEFAULT_SESSION_LENGTH,
|
||||
sessionDuration: DEFAULT_SESSION_DURATION,
|
||||
integrations: {
|
||||
local: {
|
||||
enabled: true,
|
||||
|
||||
Reference in New Issue
Block a user