Skip to content

Allow Mark as read to move to the next peer on Labels #6867

@mtalexan

Description

@mtalexan

Describe the bug

Unlike categories and feeds, marking everything in a Label as read isn't moving to the next peer Label.

To Reproduce

  1. Go to the first label with unread articles in it
  2. Have a second label following it with its own unique unread articles in it
  3. Scroll to the bottom of the article list and click the "mark all as read" checkbox
  4. Notice the view doesn't move to the next label with unread articles

Expected behavior

The mark all as read moves to the next peer label just like how it moves to the next unread feed when marking a feed as read, or to the next category when marking a category as read.

FreshRSS version

1.25.0-dev (current edge)

Environment information

  • Database version: SQLite
  • PHP version: 8.3.10
  • Installation type: Docker (using official Alpine Dockerfile from edge)
    -Web server type: Apache
  • Device: Android Pixel Fold
  • OS: OpenSUSE MicroOS Server
  • Browser: Firefox 131.0

Additional context

This is the same when using the Mark as Read button from the top bar.

Maybe there's some worry about knowing what the next peer label is with unread articles in it since the same articles can appear in multiple labels and if you justarked those as read in the current label, the next peer label with unread articles can change after the "mark as read"?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions