Skip to content

Viewed files counter is reset when performing a review #28239

Closed
@saneks222

Description

@saneks222

Description

Familiarized with the issue
#26854 ,
#20681

Looks like the problem persists

Gitea Version: 1.21.0

Steps to Replay:

Create a repo
Create a PR with a large number of modified files
Start viewing the PR, marking each viewed file as "viewed" using the checkboxes
Once the first 100 files are marked as viewed, click the "load more" button at the end of the page to load the remaining files

Expected behavior:

100 files are marked as viewed
Viewed files counter at the top of the page displays 100

Actual behavior:

100 files marked as viewed
the viewed files counter at the top of the page displays 0

image

Gitea Version

1.21.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

1.21.0

Operating System

No response

How are you running Gitea?

Official docker image.

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions