Skip to content

feat(code): disable editing in diff viewer#1395

Merged
jonathanlab merged 1 commit intomainfrom
03-31-feat_code_disable_editing_in_diff_viewer
Apr 1, 2026
Merged

feat(code): disable editing in diff viewer#1395
jonathanlab merged 1 commit intomainfrom
03-31-feat_code_disable_editing_in_diff_viewer

Conversation

@adboio
Copy link
Copy Markdown
Contributor

@adboio adboio commented Mar 31, 2026

Problem

files can be "edited" in the diff viewer (b side or unified view). the changes are not persisted, but users shouldn't be able to manually edit these in the first place

phc-editing-bug.mp4 (uploaded via Graphite)

Changes

updates diff viewer to disable editing, keeps 'revert' functionality working but removes ability to click/type

notes

i think we probably should allow editing, but since nothing persists right now, it's just confusing so i'm disabling it for now

How did you test this?

manually

Copy link
Copy Markdown
Contributor Author

adboio commented Mar 31, 2026

@adboio adboio requested a review from a team March 31, 2026 19:26
@adboio adboio marked this pull request as ready for review March 31, 2026 19:33
@adboio adboio force-pushed the 03-31-feat_code_disable_editing_in_diff_viewer branch from d40becd to f143548 Compare March 31, 2026 21:33
@adboio adboio force-pushed the 03-30-feat_code_unified_pr_creation_workflow branch from 9e220cd to 4f07e7f Compare March 31, 2026 21:33
@adboio adboio mentioned this pull request Mar 31, 2026
@adboio adboio force-pushed the 03-30-feat_code_unified_pr_creation_workflow branch from 4f07e7f to 87bd942 Compare March 31, 2026 22:15
@adboio adboio force-pushed the 03-31-feat_code_disable_editing_in_diff_viewer branch 2 times, most recently from 5a41b00 to 04929ec Compare April 1, 2026 02:18
@adboio adboio force-pushed the 03-30-feat_code_unified_pr_creation_workflow branch from 87bd942 to 01efafa Compare April 1, 2026 02:18
@adboio adboio force-pushed the 03-30-feat_code_unified_pr_creation_workflow branch 2 times, most recently from c723cc5 to c91debf Compare April 1, 2026 07:08
@adboio adboio force-pushed the 03-31-feat_code_disable_editing_in_diff_viewer branch from 04929ec to fabf75a Compare April 1, 2026 07:09
@graphite-app graphite-app bot changed the base branch from 03-30-feat_code_unified_pr_creation_workflow to graphite-base/1395 April 1, 2026 10:19
@jonathanlab jonathanlab force-pushed the 03-31-feat_code_disable_editing_in_diff_viewer branch from fabf75a to 93e1f08 Compare April 1, 2026 10:28
@jonathanlab jonathanlab changed the base branch from graphite-base/1395 to 03-30-feat_code_unified_pr_creation_workflow April 1, 2026 10:28
@jonathanlab jonathanlab force-pushed the 03-30-feat_code_unified_pr_creation_workflow branch from c010a92 to bfeebce Compare April 1, 2026 10:36
@jonathanlab jonathanlab force-pushed the 03-31-feat_code_disable_editing_in_diff_viewer branch from 93e1f08 to 05181fa Compare April 1, 2026 10:36
Copy link
Copy Markdown
Contributor

jonathanlab commented Apr 1, 2026

Merge activity

  • Apr 1, 10:51 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 1, 10:53 AM UTC: Graphite rebased this pull request as part of a merge.
  • Apr 1, 10:57 AM UTC: @jonathanlab merged this pull request with Graphite.

@jonathanlab jonathanlab changed the base branch from 03-30-feat_code_unified_pr_creation_workflow to graphite-base/1395 April 1, 2026 10:51
@jonathanlab jonathanlab changed the base branch from graphite-base/1395 to main April 1, 2026 10:52
@jonathanlab jonathanlab force-pushed the 03-31-feat_code_disable_editing_in_diff_viewer branch from 05181fa to 949273e Compare April 1, 2026 10:52
@jonathanlab jonathanlab merged commit bc1ab8e into main Apr 1, 2026
16 checks passed
@jonathanlab jonathanlab deleted the 03-31-feat_code_disable_editing_in_diff_viewer branch April 1, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants