Enable commenting by default

This commit is contained in:
Tom Moor
2023-04-11 22:42:56 -04:00
parent d6b51f3053
commit 0eef79e6e6
2 changed files with 2 additions and 8 deletions

View File

@@ -3,8 +3,6 @@ import { BeakerIcon } from "outline-icons";
import * as React from "react";
import { Trans, useTranslation } from "react-i18next";
import { TeamPreference } from "@shared/types";
import Badge from "~/components/Badge";
import Flex from "~/components/Flex";
import Heading from "~/components/Heading";
import Scene from "~/components/Scene";
import Switch from "~/components/Switch";
@@ -59,11 +57,7 @@ function Features() {
</SettingRow>
<SettingRow
name={TeamPreference.Commenting}
label={
<Flex align="center">
{t("Commenting")} <Badge>Beta</Badge>
</Flex>
}
label={t("Commenting")}
description={t(
"When enabled team members can add comments to documents."
)}

View File

@@ -13,7 +13,7 @@ export const TeamPreferenceDefaults: TeamPreferences = {
[TeamPreference.SeamlessEdit]: true,
[TeamPreference.ViewersCanExport]: true,
[TeamPreference.PublicBranding]: false,
[TeamPreference.Commenting]: false,
[TeamPreference.Commenting]: true,
[TeamPreference.CustomTheme]: undefined,
};