Closed
Description
Description
Steps to reproduce:
- Create a repo
- Create a PR with a lot of changed files (in my case 193)
- Start reviewing the PR, marking each reviewed file as "viewed" with the checkbox
- Once the first 100 files are marked as viewed, click the "load more" button at the end of the page to load the rest of the files
- Mark the 101st file as viewed
Expected behavior:
101 files are marked as viewed
Actual behavior:
99 files are marked as viewed
The very first file is un-marked as viewed when marking the 101st file as viewed. When I mark it as viewed again, 100 files are marked as viewed again. When I then try to mark another of the newly loaded files as viewed, it unmarks the first file again, resulting in 99 files are marked as viewed.
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
Probably (on the go right now, will try to reproduce it later)
How are you running Gitea?
Official docker image.
Database
MySQL