MR single-file view does not update "Viewed" checkbox on navigation
Summary
In the Merge Request Changes tab file changes are displayed. In the view settings "Show one file at a time" can be used to view only one file at a time.
In this mode the Next and Previous buttons below the file diff as well as the file tree can be used to navigate between files. The file diff is updated accordingly, but the state of the "Viewed" checkbox is not.
Steps to reproduce
- Create MR with two files changed
- Open MR Changes tab
- Switch to single file view
- Mark first file as viewed
- Navigate to next file with next button
The View checkbox remains checked instead of clearing as the second now displayed file has not been marked as viewed yet.
Verifyable when switching back to multi-file mode, which still shows different Viewed states on the files.
13.9.3-ee (332cf9cc) Firefox 86.0