-
- Thinking Display
-
-
-
- How thinking blocks should be displayed by default. 'Auto' fully
- expands during streaming, then auto-collapses when done. 'Preview'
- auto-expands with a height constraint during streaming. 'Always
- Expanded' shows full content. 'Always Collapsed' keeps them collapsed.
-
-
{
- if (!query.data) return;
- mutation.mutate({
- ...query.data,
- thinking_display_mode: value as ThinkingDisplayMode,
- });
- }}
- >
-
-
-
-
- {options.map((opt) => (
-
- {opt.label}
-
- ))}
-
-
-
- {mutation.isError && (
-
- Failed to save your thinking display preference.
-
- )}
-
- );
-};
diff --git a/site/src/pages/UserSettingsPage/NotificationsPage/NotificationsPage.stories.tsx b/site/src/pages/UserSettingsPage/NotificationsPage/NotificationsPage.stories.tsx
index b3098464d6..1c35286761 100644
--- a/site/src/pages/UserSettingsPage/NotificationsPage/NotificationsPage.stories.tsx
+++ b/site/src/pages/UserSettingsPage/NotificationsPage/NotificationsPage.stories.tsx
@@ -215,6 +215,7 @@ export const EnablingTaskNotificationClearsAlertDismissal: Story = {
data: {
task_notification_alert_dismissed: true,
thinking_display_mode: "auto" as const,
+ code_diff_display_mode: "auto" as const,
},
},
],
@@ -238,6 +239,7 @@ export const EnablingTaskNotificationClearsAlertDismissal: Story = {
).mockResolvedValue({
task_notification_alert_dismissed: false,
thinking_display_mode: "auto",
+ code_diff_display_mode: "auto",
});
await step("Enable Task Idle notification", async () => {