Commit Graph

6 Commits (9d7a431b711ff8b07be3401df0c118ed3574f7f9)

Author SHA1 Message Date
Jimmy Praet f424862cbb
Fix previous/next button size ()
Jimmy Praet fe66b612b5
Add previous/next buttons to review comments ()
Co-authored-by: Norwin <noerw@users.noreply.github.com>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
silverwind 2a9b8d173a
Code comments improvements ()
- Right-align the Reply and Resolve buttons
- Center Resolved text and add some padding
- Add padding to inline comments
- Indent the comment content to align with author name
- Re-parent form to allow better button layout space.

Co-authored-by: zeripath <art27@cantab.net>
silverwind aee5ef0051
Diff box fixes ()
- Fix misaligned "Show Outdated" buttons via flexbox
- Add hover effect to "Show Outdated" buttons
- Remove overreaching margin from selector .diff-file-box and handle
  cases individually.

Fixes: https://github.com/go-gitea/gitea/issues/15097

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Jimmy Praet bcb7f35221
Do not reload page after adding comments in Pull Request reviews ()
Fixed  
* use ajax on PR review page

* handle review comments

* extract duplicate code

FetchCodeCommentsByLine was initially more or less copied from fetchCodeCommentsByReview. Now they both use a common findCodeComments function instead

* use the Engine that was passed into the method

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Jimmy Praet 47e4d1a4e2
Reply button is not removed when deleting a code review comment ()
Co-authored-by: mrsdizzie <info@mrsdizzie.com>