Line number commenting on pull request

Gogs Version: 0.11.75.1203, mysql database.

Hi guys,

I was wondering if it is possible to add line number comments to a pull request. Would like to use it to review code and add comments for changes to the code based on line number. Like how git hub allows you to hover over a line number and a blue “+” sign appears to add comments. Ex: https://zellwk.com/images/2018/edit-pr/plus-button.png

Please let me know how this can be done.

Thanks

2 Likes

Hi, currently this is a feature not supported in Gogs.

Hi, im working on this feature.
Today in my branch it worked and i used this for own and my current company purposes.
I try to made it like a github comments.
You can get my branch and try this.
Now it have this features:

  1. Can send comments in 2 modes (split and default)
  2. Can add comments on different sides in split mode
  3. Can view created date time on comment card
  4. Checking access for post request in repo
  5. Supprted markdown syntax

My progress on video here

Link to branch here https://github.com/ivanbogomoloff/gogs/tree/feature/1644/ability-comment-pr

1 Like