Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "times played" slider filter #612

Merged
merged 1 commit into from
Feb 6, 2021
Merged

Add "times played" slider filter #612

merged 1 commit into from
Feb 6, 2021

Conversation

litelime
Copy link
Contributor

@litelime litelime commented Dec 18, 2020

In order videos with 0 plays to show, min value needed to be set to -1.
So display pipe adds 1 to value to keep displayed label value 0+.
The effect is that left slider is inclusive, and right slider is exclusive to the actual number of times played.
I think it is still pretty straightforward to use though.

One thing I noticed is the view does not immediately update when the times played value goes outside the bounds of the filter.
EX: With the stars filter, if I am filtering for only 5 star videos, and I rate a video less than 5, it will immediately leave the view, would like to get that same behaviour here

@whyboris
Copy link
Owner

Super cool! Thank you for the addition 😁 -- I'll try to review and comment this weekend. From glancing at the code so far -- looks good and clean 🥇

@whyboris whyboris self-requested a review December 19, 2020 15:23
@whyboris
Copy link
Owner

Sorry didn't get to it this weekend 😅
Will try today/tomorrow 🤝

@whyboris whyboris merged commit 72a0eaa into whyboris:main Feb 6, 2021
@whyboris
Copy link
Owner

whyboris commented Feb 6, 2021

Thank you @litelime 🎉 stellar work 🤩
Sorry took so long to merge 😓 have been busy with non-coding life stuff 👌 (nothing bad, just time consuming).
But I've still not released 3.1.0 so this will be in the release whenever that happens 👌 😅 👌

c3cris pushed a commit to c3cris/Video-Hub-App that referenced this pull request Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants