Ashinch / ReadYou

An Android RSS reader presented in Material You style.
GNU General Public License v3.0
5.13k stars 202 forks source link

Swipe to delete feed item #208

Open M7amma opened 2 years ago

M7amma commented 2 years ago

1. Environment

Everything is awesome about this app but can you also add an option: 'swipe to delete' item from the feed list? Pleaaaaaase. Thank you

nvllz commented 1 year ago

I think it'd be a great enhancement. When you check the app after some time with even not many feeds subscribed it may show you tens of entries with maybe only few gaining your attention. In the case you don't have much time you either skip these articles or add one-by-one to favouries which takes you more time. Swipe to delete would be a real improvement for the feed view. I'd also like to see an option to add to readlist/favourites when swiped from right to left, and ability to set actions for the gestures in settings.

candideu commented 1 year ago

I like this idea! I'd also like to be able to clear/delete/dismiss an article from the article reading view.

nvllz commented 1 year ago

@Ashinch Would it really be that hard to make swipe actions? You actually made functions to mark an article as read (when you open it) and to add it to 'starred' when you tap a star icon. So it's just a matter of making the feed cards swipeable with some smooth animation, and allowing the user to assign one of those two options (and possibly more in the future) depending on the swipe direction.

Why is this important? Imagine following dozens of feeds and loading articles from the past few days. You get hundreds of unread articles, but you only have a little while and you want to somehow separate the uninteresting ones from the ones you might want to read. In this situation it would be really handy to delete the unwanted ones and even if you don't have much time you can save the interesting ones for later by simply clearing the feed list. This is the feature that's most lacking in this great RSS feed application. Don't take it personally, because we all appreciate the work you've done with ReadYou. We just want to make it better. A lot of users don't understand this account stuff and you keep pushing it when people keep asking for this useful swipe thing. I hope you will reconsider this feature because we will all use it and we all really need it. Thanks for making such a great app!

Liquid-Aristocracy commented 1 year ago

This sounds a weird feature. RSS is different from newsletter, and I haven't seen this types of features in other RSS reader except in like thunderbird, which already is an email client and organize articles as files. There seems no such action in my FreshRSS web interface.

I'm not the dev and I have questions out of curiosity: Where will the deleted articles go? What if I mis-deleted something, as this swipe action is easy to trigger? Will they come back in the next sync when the source is still available? If not, where will these information be stored? If there's a trash can, what will the difference between this level and the level of favorite?

Is there other RSS client implemented this feature? Maybe I'll try to learn it from them.

candideu commented 1 year ago

This sounds a weird feature. RSS is different from newsletter, and I haven't seen this types of features in other RSS reader except in like thunderbird, which already is an email client and organize articles as files.

@Liquid-Aristocracy Assuming you're talking about being able to "delete" as a feature: It is already possible to dismiss/delete/clear articles that are archived:

https://user-images.githubusercontent.com/55474996/223893094-fffa668d-484c-4561-9baf-67addd34588a.mp4

The problem is, it'll remove all the articles, even the ones that are favourited... I'm not sure where the articles "go", in that sense... I assume it's the same as how the reader only keeps archived articles up to a certain amount of time.

The other RSS Client I've tried is Feeder, which automatically removes an article from the feed after you read it, unless you pin/favourite it.

Liquid-Aristocracy commented 1 year ago

The problem is, it'll remove all the articles, even the ones that are favourited... I'm not sure where the articles "go", in that sense... I assume it's the same as how the reader only keeps archived articles up to a certain amount of time.

I tried it to delete articles from a feed, and these recent articles come back after a sync. So in this case the local articles are simply deleted but not "marked as deleted", as the client treat them as "new" when sync from source. I guess it's supposed to used to clean old articles, instead of deleting articles that one doesn't want to see. Though I'm not sure about the favorite part.

The other RSS Client I've tried is Feeder, which automatically removes an article from the feed after you read it, unless you pin/favourite it.

I used Feeder before, and I guess you are talking about the feature of auto hiding read item. This could be toggled by the eye icon in Feeder, and by switching between tabs in Read You. Though I don't use it a lot so maybe they still have some differences.

Thank you.

nvllz commented 1 year ago

As I said in my message, it's about marking an article as read, and we're talking about swipe actions in the unread tab. I've talked to some people about the application and they mark all articles as read from time to time because there's no way to read them all if you subscribe to a lot of RSS feeds. And this gesture could help people sort through the unread list.

So it's basically the same as in Feeder, but we expect the animation to be faster and smoother in ReadYou.

Ashinch commented 1 year ago

@nvllz I will do it.

candideu commented 1 year ago

I tried it to delete articles from a feed, and these recent articles come back after a sync. So in this case the local articles are simply deleted but not "marked as deleted", as the client treat them as "new" when sync from source.

I spoke too soon, and noticed this too... It would be great if those articles didn't come back once they are cleared.

I used Feeder before, and I guess you are talking about the feature of auto hiding read item. This could be toggled by the eye icon in Feeder

WOW, you just solved my main problem with Feeder! 😆 I thought the articles got deleted just because I clicked on them, and went looking for other alternatives, which is how I found Read You. Thanks for this insight!

M7amma commented 1 year ago

OP here. I'm using Feedbro for Firefox on Windows and that's where I use this option. It's really good when the feed item you read and don't need to see anymore is just gone for good by a simple swipe to the right or the left. The option should delete the unwanted feed item totally from the program loaded cache and when I re-sync the feeds list it supposed to not appear again. Thanks in advance.

nvllz commented 1 year ago

Unless you clear the app data, marking an article as read should keep it from showing up in the Unread tab the next time you sync. That's why I said it's not that hard to implement, because we already have such functions (to mark articles as read or starred) and just need the slide action for these article items and some customization options. Reallt worth the effort and I hope it will make the app soon.