GithubHelp home page GithubHelp logo

Comments (4)

timwis avatar timwis commented on June 21, 2024

Hi @stevenvandervalk, glad to hear it! And I'm happy to help. Can you elaborate a bit on what you're trying to add? I think the issue you referenced talks about the ability to filter by multiple categories at the same time, but it sounds like you want to add additional filters (such as "license type" or something). Is that right?

EDIT: Nevermind - I wrote that before looking at your referenced commit! Taking a look now..

from jkan.

timwis avatar timwis commented on June 21, 2024

Looks like you've got it mostly working.

Screenshot 2019-06-24 at 09 46 22

The only issue I can see is when you select a decade, it sets the others to 0, which isn't terrible but that doesn't seem to happen in the other filter lists.

Screenshot 2019-06-24 at 09 46 29

If it's not populating for you, I think you're not running the npm commands (see the architecture page in the wiki.

from jkan.

stevenvandervalk avatar stevenvandervalk commented on June 21, 2024

Thanks @timwis for the quick reply.

You were right, about both the original issue and I wasn't running the npm commands, not sure how I forgot about that!

I'll be creating a bunch of similar filters and documenting the process, is it of any help to jkan contribute such a page to the wiki? No worries if not.

Thanks again!

from jkan.

timwis avatar timwis commented on June 21, 2024

Sure @stevenvandervalk that would be great. Another thing to consider, since your decades-filter.js code is very similar to the organizations-filter.js code, is perhaps we should make a generic filter-panel.js component?

Regardless, adding a page to the wiki would be a valuable contribution, and worth doing first either way!

I'll close this for now, but feel free to re-open if you run into further issues.

from jkan.

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.