Giter Club home page Giter Club logo

Comments (6)

whyboris avatar whyboris commented on July 28, 2024 1

I'll work on getting this in 👍

from video-hub-app.

cal2195 avatar cal2195 commented on July 28, 2024 1

There's lots of sorting that would be nice! 👍 We should make the issues for them! (Maybe a parent issue, and one for each type)

And I was planning on copying the resolution filter, with 0->max_video_length, and some number of divisions in between... Haven't thought too much about it - have you any ideas? 💡

from video-hub-app.

cal2195 avatar cal2195 commented on July 28, 2024 1

Added in #112!

from video-hub-app.

cal2195 avatar cal2195 commented on July 28, 2024

Have you started on this? 😄

If not - I wouldn't mind looking at this! 👍

from video-hub-app.

whyboris avatar whyboris commented on July 28, 2024

Haven't started yet -- feel free to give it a go.

I may be a bit finicky about the UI - how were you thinking of letting users choose the cutoffs?

ps - there seem to be two features, both we'd like to have eventually:

  • filter by length using minimum and maximum time cutoffs
  • sort by length - ascending / descending (separate issue from this) 👍

from video-hub-app.

whyboris avatar whyboris commented on July 28, 2024

We can easily detect the shortest and longest video within the hub - set those as cutoffs, and then have the two sliders as I have with the resolution filter.

What made me pause is that I custom coded the resolution filter sliders but not in a flexible-enough way that I could reuse the component. I've not looked into it in more than half a year -- perhaps it would be easy-enough to modify. Do take a look if it can be!

For the UI, I suspect a nice way to do it would be something like this:

above:          15min      45 min
bar:         ========0####0=============
below:      3min                1hr 24min

So that the min and max are always shown (below) and the cutoff is auto-updated as you slide the slider just above the div that you drag (minimum aligned left, maximum aligned right - so they never overlap even if close together)

Comments? 😃

from video-hub-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.