claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

🔴 [BUG] Claude Code UX Improvement - Preview-Before-Commit Workflow

Open victormazzei opened this issue 7 months ago • 7 comments

Hi Anthropic Team,

I'm a Claude Pro subscriber ($100 plan) actively using Claude Code for development. I have critical UX feedback that could significantly improve the developer experience.

🔴 CRITICAL UX ISSUE: Preview-Before-Commit Workflow

Current Problematic Workflow: Claude suggests code changes Developer must approve/reject without seeing live preview Changes are applied immediately upon approval Developer sees results in localhost after changes are committed No easy rollback if changes break the application Major Problems: Blind approval required - Can't see actual impact before committing Irreversible changes - No simple undo mechanism when things break Development friction - Fear of approving changes due to potential breakage Time waste - Must manually revert broken changes through git or manual edits

🟢 PROPOSED SOLUTION: Cursor-Style Preview Workflow

Ideal Workflow (like Cursor): Claude suggests changes and automatically creates preview Developer sees live preview in localhost with proposed changes Developer can test and interact with the preview Developer approves or rejects based on actual results, not speculation Only approved changes are permanently applied Key Benefits: Visual validation before committing Zero-risk experimentation Faster iteration cycles Increased confidence in accepting AI suggestions Professional development experience

💡 TECHNICAL IMPLEMENTATION SUGGESTION:

Use temporary file system overlay or git staging Hot-reload preview environment with proposed changes Simple approve/reject interface after preview testing Automatic cleanup of rejected changes

This workflow improvement would make Claude Code substantially more competitive with tools like Cursor and dramatically improve developer confidence in AI-assisted coding.

Happy to discuss this further or participate in any beta testing for this feature.

victormazzei avatar Jun 24 '25 00:06 victormazzei

I really don't know how you guys can deal with Claude Code without preview the approval of the file edit before it applies the changes and being able to revert/deny beforehand... it's such bad UX.

victormazzei avatar Jun 24 '25 02:06 victormazzei

bump on this is it added? Really tough to have a bunch of changes in your branch and then get tons of changes applied. Love claude code but cursor is better in this area

oscareng avatar Jul 18 '25 14:07 oscareng

+1

samithoughtbot avatar Sep 28 '25 20:09 samithoughtbot

+1 An accept / reject workflow is missing in claude code (both terminal & extension)

I don't know why this issue is not popular.

surjithctly avatar Nov 25 '25 08:11 surjithctly