-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi line review comments like github #12640
Comments
Also works using click on first line + shift-click on last line, it's what I use. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
As #21150, which I found originally is now closed, here are my thoughts again: I've already gathered some implementation thoughts on this as I think GitHub's approach has some major drawbacks: My proposal is to limit multi-line comments to one side: Either you mark multiple lines on the old side, or multiple lines on the new side, but no mixture in between.
|
Maybe we can refer to gitlab's multi line review comments:https://github.com/gitlabhq/gitlabhq/blob/897fe87f08c8819ba6b7baa8024c8141acf290f5/app/assets/javascripts/diffs/components/diff_view.vue |
On a sidenote, I like how these vue files are ordered with |
first step of go-gitea#12640 - add `side` and `line` to replace `new/old_position` in api like github - add `start_line` in api like github for `multi-line comment` creating - for multi-line comment, will cut all lines in range [start_line, line] for patch generate, then user can view all lines in this range on commnet list ui. - not suport `start_side` now, `line` and `start_line` should in same side todos: - [ ] suport creating multi-line comments by ui & incomming mail - [ ] more ui updates Signed-off-by: a1012112796 <1012112796@qq.com>
Description
As title, I think it's usefull for code review. thanks.
It's also usefull for #10007
example in gh:
...
TODO List:
start_line
andend_line
to API param (add multi-line comment support in api #25523)The text was updated successfully, but these errors were encountered: