Gitea: Code review button doesn't work on commits.

Created on 6 Aug 2018  路  3Comments  路  Source: go-gitea/gitea

Description

New code-review feature doesn't work. This merged pull request: https://github.com/go-gitea/gitea/pull/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.

kinbug

Most helpful comment

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

All 3 comments

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)

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: https://github.com/go-gitea/gitea/pull/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)

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

Was this page helpful?
0 / 5 - 0 ratings