Skip to content
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

Code review button doesn't work on commits. #4625

Closed
2 of 7 tasks
wyattoday opened this issue Aug 6, 2018 · 3 comments · Fixed by #4636
Closed
2 of 7 tasks

Code review button doesn't work on commits. #4625

wyattoday opened this issue Aug 6, 2018 · 3 comments · Fixed by #4636
Labels
Milestone

Comments

@wyattoday
Copy link

Description

New code-review feature doesn't work. This merged pull request: #3748

Click the "Review" button and nothing comes up. Neither does clicking the the lines to make code comments.

Presumably this is an issue with the JavaScript.

@jonasfranz
Copy link
Member

You mean the '+' button at the diff view, doesn't you? The button shouldn't be shown at all. We currently donnot provide comments on commits at all. (Just comments on pulls)

@wyattoday
Copy link
Author

wyattoday commented Aug 6, 2018

If you're logged in (and presumably have permission for the repository) then on a commit there's a green "Review" button. That button doesn't do anything.

My impression was that this commit added commenting on commits: #3748

(Because it shows comment on commits).

So, either the "Review" button shouldn't be visible because that functionality hasn't been added yet, or the functionality has been added but the "Review" button is broken.

I was able to reproduce this with the latest Gitea commits and on try.gitea.io (see the above link, or view a commit you have permission to and see the green non-functional "Review" button)

@lunny lunny added the type/bug label Aug 7, 2018
@lunny lunny added this to the 1.6.0 milestone Aug 7, 2018
@lunny
Copy link
Member

lunny commented Aug 7, 2018

Yes, the button should be hide when it is not in a pull request.
image

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants