Skip to content

Commit 06d2c9c

Browse files
author
Test
committed
🤖 feat: consolidate run settings in chat screen
- Remove standalone workspace settings route and menu entry - Expand run settings pill to show mode and reasoning level summary - Keep RunSettingsSheet as the single place to adjust per-workspace configuration Generated with Change-Id: Ie424deb12dff3f5829f2225801dc60a241c32e44 Signed-off-by: Test <test@example.com>
1 parent 0f0030e commit 06d2c9c

File tree

3 files changed

+7
-325
lines changed

3 files changed

+7
-325
lines changed

apps/mobile/app/workspace/[id].tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ function WorkspaceContent(): JSX.Element {
7272
},
7373
]
7474
: []),
75-
{
76-
id: "settings",
77-
label: "Workspace Settings",
78-
icon: "settings-outline" as const,
79-
onPress: () => router.push(`/workspace/${id}/settings`),
80-
},
8175
];
8276

8377
if (!id) {

apps/mobile/app/workspace/[id]/settings.tsx

Lines changed: 0 additions & 319 deletions
This file was deleted.

apps/mobile/src/screens/WorkspaceScreen.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ function WorkspaceScreenInner({
328328
() => sanitizeModelSequence([model, ...recentModels]),
329329
[model, recentModels]
330330
);
331+
const runSettingsDetails = useMemo(() => {
332+
const modeLabel = mode === "plan" ? "Plan" : "Exec";
333+
return `${modeLabel}${thinkingLevel.toUpperCase()}`;
334+
}, [mode, thinkingLevel]);
331335
const modelSummary = useMemo(() => formatModelSummary(model), [model]);
332336
const [input, setInput] = useState("");
333337

@@ -1158,6 +1162,9 @@ function WorkspaceScreenInner({
11581162
Run settings
11591163
</ThemedText>
11601164
<ThemedText weight="semibold">{modelSummary}</ThemedText>
1165+
<ThemedText variant="caption" style={{ color: theme.colors.foregroundMuted, marginTop: 2 }}>
1166+
{runSettingsDetails}
1167+
</ThemedText>
11611168
</View>
11621169
<Ionicons name="chevron-up" size={16} color={theme.colors.foregroundPrimary} />
11631170
</Pressable>

0 commit comments

Comments
 (0)