Skip to content
TypeScript

feat(web): new design is on by default (#25324)

Theo Brownef40c7c6435e3
diff --git a/apps/web/src/components/settings/BetaSettingsPanel.tsx b/apps/web/src/components/settings/BetaSettingsPanel.tsx
index 2614072c1d3..5724bd61466 100644
--- a/apps/web/src/components/settings/BetaSettingsPanel.tsx
+++ b/apps/web/src/components/settings/BetaSettingsPanel.tsx
@@ -16,7 +16,7 @@ import {
import { searchableSetting } from "./settingsSearch";
import { useScopedSettings, useUpdateScopedSettings } from "./useScopedSettings";
-/** Features that are still settling in. Each is off until turned on here. */
+/** Features that are still settling in. Some are on by default; each can be turned off here. */
export function BetaSettingsPanel() {
const settings = useScopedSettings();
const updateSettings = useUpdateScopedSettings();
@@ -25,7 +25,7 @@ export function BetaSettingsPanel() {
<SettingsSection id="beta" title="Beta">
<SettingsRow
{...searchableSetting("new-design")}
- description="Try the new design: a true black dark mode, dimmer read threads, and simpler composer controls."
+ description="A true black dark mode, dimmer read threads, and simpler composer controls. Turn it off for the classic look."
resetAction={
settings.redesignEnabled !== DEFAULT_UNIFIED_SETTINGS.redesignEnabled ? (
<SettingResetButton
diff --git a/packages/contracts/src/settings.ts b/packages/contracts/src/settings.ts
index f2ec54ba7d5..88460d06bcd 100644
--- a/packages/contracts/src/settings.ts
+++ b/packages/contracts/src/settings.ts
@@ -473,8 +473,8 @@ export const ClientSettingsSchema = Schema.Struct({
// Opt-in TeX typesetting in rendered Markdown. Off keeps math parsing and
// KaTeX out of the render path entirely.
mathRenderingEnabled: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
- // Beta: the quieter sidebar, composer and panel design. Off keeps the current look.
- redesignEnabled: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
+ // The quieter sidebar, composer and panel design. Off keeps the classic look.
+ redesignEnabled: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(true))),
});
export type ClientSettings = typeof ClientSettingsSchema.Type;