From 0eef79e6e64606630d431fc76a6c19ff2fabde21 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 11 Apr 2023 22:42:56 -0400 Subject: [PATCH] Enable commenting by default --- app/scenes/Settings/Features.tsx | 8 +------- shared/constants.ts | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/scenes/Settings/Features.tsx b/app/scenes/Settings/Features.tsx index 2a76a74ac5..24317e4bd7 100644 --- a/app/scenes/Settings/Features.tsx +++ b/app/scenes/Settings/Features.tsx @@ -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() { - {t("Commenting")} Beta - - } + label={t("Commenting")} description={t( "When enabled team members can add comments to documents." )} diff --git a/shared/constants.ts b/shared/constants.ts index 09572c72bc..89b73e8fd3 100644 --- a/shared/constants.ts +++ b/shared/constants.ts @@ -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, };