claude-code - 💡(How to fix) Fix [FEATURE] Mobile app: Edit/Write tool prompts don’t let user preview the diff before approving [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54758Fetched 2026-04-30 06:36:50
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×3commented ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Description: When the agent invokes the Edit or Write tool, the permission prompt on mobile shows the file path and an “output” section, but the output section stays at “running…” until I approve, and there’s no way to expand/view the actual proposed diff before deciding. Steps to reproduce: 1. Use Claude Code on the mobile app 2. Have the agent propose an Edit to an existing file 3. Tap into the pending tool call to review Expected: I should be able to see exactly what old_string → new_string change is being proposed before approving.

Actual: The preview area stays “running…” with no way to see the proposed change. I have to either approve blind or rely on the agent’s chat-message description of the diff.

Impact: This forces approve-blind behavior on mobile and undermines the value of the permission prompt (which exists so I can verify before changes land). The agent’s chat-message description and the actual tool call may not always match exactly, so the prompt should be the source of truth, not the chat.

Environment: Claude Code mobile app, [iOS / Android — fill in], app version [check Settings].

Proposed Solution

Render the proposed old_string and new_string (or a unified diff between them) inside the permission prompt on mobile, the same way the desktop/web UI does.

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

Interactive mode (TUI)

Use Case Example

No response

Additional Context

No response

extent analysis

TL;DR

Display the proposed changes, such as a unified diff between old_string and new_string, within the permission prompt on the mobile app to allow users to review before approving.

Guidance

  • Review the current implementation of the permission prompt on mobile to identify why the "output" section remains at "running..." and does not display the proposed diff.
  • Consider modifying the mobile app to render the proposed old_string and new_string (or a unified diff between them) inside the permission prompt, similar to the desktop/web UI.
  • Investigate potential differences in how the agent's proposed changes are handled between the mobile app and desktop/web UI to ensure consistency.
  • Test any changes to the permission prompt to ensure that the proposed diff is accurately displayed and can be reviewed before approval.

Example

No specific code example can be provided without more context on the current implementation, but the goal would be to modify the mobile app's UI to include a display of the proposed changes, such as:

--- old_string
+++ new_string

or a unified diff format.

Notes

The solution may require updates to the mobile app's UI and potentially the backend to ensure that the proposed changes are correctly passed to the mobile app for display.

Recommendation

Apply a workaround by modifying the mobile app to display the proposed changes within the permission prompt, as this directly addresses the issue of not being able to review changes before approval.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Mobile app: Edit/Write tool prompts don’t let user preview the diff before approving [1 comments, 2 participants]