Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c445668

Browse files
committed
Move diff editability questions to "answered during implementation"
1 parent 2750281 commit c445668

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/rfcs/XXX-pull-request-review.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Each `PullRequestDetailItem` opened on a pull request displays the full, multi-f
3838

3939
> :construction: Update mock to have "Start review button" and "Add single comment"
4040
41-
Diffs are editable ONLY if the pull request branch is checked out and the local branch history has not diverged from the remote branch history. Otherwise diffs are not editable. Details of this will be fleshed out in a separate RFC specifically for editable diffs.
41+
Diffs are editable _only_ if the pull request branch is checked out and the local branch history has not diverged from the remote branch history.
4242

4343
A panel at the bottom of the pane offers various options for sorting and filtering the diff. It also has a "Review Changes" button.
4444

@@ -218,6 +218,11 @@ The GraphQL API paths we need to interact with all involve multiple levels of pa
218218

219219
How do we handle comment threads?
220220

221+
When editing diffs:
222+
223+
* Do we edit the underlying buffer or file directly, or do we mark the `PullRequestDetailItem` as "modified" and require a "save" action to persist changes?
224+
* Do we disallow edits of removed lines, or do we re-introduce the removed line as an addition on modification?
225+
221226
### Questions I consider out of scope of this RFC
222227

223228
What other pull request information can we add to the GitHub pane item?
@@ -230,5 +235,4 @@ How can we notify users when new information, including reviews, is available, p
230235

231236
## Related features out of scope of this RFC
232237

233-
* Inline review comments
234238
* "Find" input field for filtering based on search term (which could be a file name, an author, a variable name, etc)

0 commit comments

Comments
 (0)