Skip to content

Commit 24b3e7b

Browse files
committed
fix(mobile): warn that saving a plan replaces an existing file
1 parent 1fdc22a commit 24b3e7b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/mobile/src/features/threads/ProposedPlanCard.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ export function ProposedPlanCard(props: {
7070
onPress={() =>
7171
Dialog.prompt({
7272
title: "Save plan to workspace",
73-
message: "Enter a path relative to the thread's workspace.",
73+
// The write replaces an existing file, and the RPC has no create-only mode.
74+
message:
75+
"Enter a path relative to the thread's workspace. A file already at that path is replaced.",
7476
initialValue: lastPath,
7577
confirmText: "Save",
7678
onConfirm: (path) => void save(path),

0 commit comments

Comments
 (0)