Enable commenting by default
This commit is contained in:
@@ -3,8 +3,6 @@ import { BeakerIcon } from "outline-icons";
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { Trans, useTranslation } from "react-i18next";
|
import { Trans, useTranslation } from "react-i18next";
|
||||||
import { TeamPreference } from "@shared/types";
|
import { TeamPreference } from "@shared/types";
|
||||||
import Badge from "~/components/Badge";
|
|
||||||
import Flex from "~/components/Flex";
|
|
||||||
import Heading from "~/components/Heading";
|
import Heading from "~/components/Heading";
|
||||||
import Scene from "~/components/Scene";
|
import Scene from "~/components/Scene";
|
||||||
import Switch from "~/components/Switch";
|
import Switch from "~/components/Switch";
|
||||||
@@ -59,11 +57,7 @@ function Features() {
|
|||||||
</SettingRow>
|
</SettingRow>
|
||||||
<SettingRow
|
<SettingRow
|
||||||
name={TeamPreference.Commenting}
|
name={TeamPreference.Commenting}
|
||||||
label={
|
label={t("Commenting")}
|
||||||
<Flex align="center">
|
|
||||||
{t("Commenting")} <Badge>Beta</Badge>
|
|
||||||
</Flex>
|
|
||||||
}
|
|
||||||
description={t(
|
description={t(
|
||||||
"When enabled team members can add comments to documents."
|
"When enabled team members can add comments to documents."
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export const TeamPreferenceDefaults: TeamPreferences = {
|
|||||||
[TeamPreference.SeamlessEdit]: true,
|
[TeamPreference.SeamlessEdit]: true,
|
||||||
[TeamPreference.ViewersCanExport]: true,
|
[TeamPreference.ViewersCanExport]: true,
|
||||||
[TeamPreference.PublicBranding]: false,
|
[TeamPreference.PublicBranding]: false,
|
||||||
[TeamPreference.Commenting]: false,
|
[TeamPreference.Commenting]: true,
|
||||||
[TeamPreference.CustomTheme]: undefined,
|
[TeamPreference.CustomTheme]: undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user