šŸ”“ [BUG] Claude Code UX Improvement - Preview-Before-Commit Workflow

Status Closed — not planned
Maintainer reply None cached
Activity 10 comments Ā· opened Jun 24, 2025 Ā· closed Feb 3, 2026

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.

View original on GitHub ↗

10 Comments

victormazzei Ā· 1 year ago

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.

oscareng Ā· 1 year ago

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

samithoughtbot Ā· 1 year ago

+1

surjithctly Ā· 10 months ago

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

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

github-actions[bot] Ā· 9 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

deiansp Ā· 9 months ago

+1

samithoughtbot Ā· 9 months ago

+1

github-actions[bot] Ā· 8 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

marcindulak Ā· 8 months ago

This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.

github-actions[bot] Ā· 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.