favesound-redux icon indicating copy to clipboard operation
favesound-redux copied to clipboard

Add date filtering to browse/KEYWORD view

Open ohadschn opened this issue 6 years ago • 4 comments

SoundCloud's default sorting algorithm, as well as sorting by plays/likes/reposts heavily favor old tracks (since they had a lot of time to gain popularity). For example, the first track on the main favesound page is four years old!

It would be great to have the option to filter by date, like SoundCloud allows ("past year", "past month" and so forth).

This isn't an issue when logging in, because the home feed is sorted by date by default.

ohadschn avatar Nov 26 '17 14:11 ohadschn

Hey @rwieruch , can you assign me to this?

VikasDayananda avatar Oct 20 '18 22:10 VikasDayananda

Sure. Looking forward to your implementation :)

rwieruch avatar Oct 21 '18 00:10 rwieruch

@rwieruch I went ahead and implemented the data sorting. Currently, we can sort by last "6 months", "a year", or "older than that". We can always add more options to it which fits our data best. Did not include "Past Month" because there is very less or almost no tracks for that filter. Currently, it looks like this. Also, the sort functions only works for first set of activities we see. We will have to scroll through entire data for it to work for all. Any way of improving this? Please suggest.

favesound

VikasDayananda avatar Oct 22 '18 04:10 VikasDayananda

@rwieruch Created PR #127

VikasDayananda avatar Oct 28 '18 01:10 VikasDayananda