rssguard icon indicating copy to clipboard operation
rssguard copied to clipboard

[feature request] mark read/unread based on age

Open pcause opened this issue 4 years ago • 4 comments

It would be very useful to have a capability to mark all items in a feed/category/account read/unread based on being older (for mark read) or newer (for mark unread) hours/days/weeks.

a pop up to get the specific count and type (hours/days/weeks) could be used. allow the user to set a default or better just use the last value entered as a default.

pcause avatar Jun 18 '20 18:06 pcause

a pop up to get the specific count and type (hours/days/weeks) could be used

@pcause Could you elaborate, what exactyl "a pop up to get the specific count" means?

martinrotter avatar Jul 26 '20 05:07 martinrotter

You could say

Mark items read [x]/ unread [x] Older/newer than [nn] [hours/days/weeks/months]

user read/undread are checkboxes older than [for read] / new than [for unread] and then the number of hours/days/weeks/months

So, for example, lets [ick an interval of 12 hours. For mark read items, marks all items that are unread and received/updated more than 12 hours ago read. For marking unread, you would mark any items that are read as unread of they were recieved/updated less than 12 hours ago. Think it is a pretty straight forward SQL statement. something like

update table set read_state - new value where feed is XX and read_state is not_new_value and ( received > interval or updated > interval)

but I am not a sql person

pcause avatar Jul 26 '20 13:07 pcause

For the UI I think the best location would be an icon on the Messages List toolbar with options for "Older than one day" and "Older than one week". Perhaps an option in the settings to define custom timetables? Having these two cover most of the use cases, I think.

nullrend avatar Dec 05 '20 15:12 nullrend

yes, although if you had something to set a value (in days) and then a single to execute subsequnet use. so button to set interval (default can be one day) and then a second to mark read/unread where mouse over shows interval.

pcause avatar Dec 06 '20 14:12 pcause