1rosehip / 1rosehip/jplist

How to create filter for Items that have range of values?

Open
#308 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
435
Forks
168
PR merge metrics
No merged PRs in 30d

Description

How to create filter for Year of production of Car in your Car demo https://jplist.com/layoutexamples/cars

User would choose year, and list should display only models that was in production on that year?

It is reverse range selector, Item has a range but filter has only one value, and the filter shoud check weather filter value is within range of item.

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the Cars demo layout example linked in the issue to understand the current filter implementation. Examine jPList's filtering logic to see how to add a new filter type that checks if a single year value falls within a car's production range. Test by modifying the demo to include this reverse range selector.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.