Comments (9)
different use case, but probably some similar functionality here
from finda.
https://github.com/LuizArmesto/backbone.leaflet
from finda.
I have a basic version of this up on my fork: http://paulswartz.github.io/finda/
from finda.
Me gusta.
One thing that comes up poking around is if we want to display this using AND or OR filtering.
It looks like what's currently has going on is AND filtering.
- start out with no facets selected and displaying all data
- when a facet is selected display only the items with that facet
- when more than one facet is selected display only data which meets facet1 AND facet2 AND facet3 ... etc
OR filtering would be something more like http://jiren.github.io/filter.js/filterjs-map.html
- start out with all the fields selected (and have a button to deselect everything)
- when a single facet is selected display only items with that facet
- when multiple facets are selected display items which match facet1 OR facet2 OR facet3 ... etc
There are benefits to both approaches. AND lets you find an individual resources which have a specific mixture of characteristics, OR filtering tends to display more data and allows you to find a group of resources that match a set of needs more quickly.
I'd like to loop Hannah in on this and figure out which would be more useful for her search case, either through email or by asking her to visit a CfB meeting to hash it out.
from finda.
Currently, it's actually /more/ confusing; it's AND filtering if the underlying data is a list of options, but OR filtering if it's a single value. I'd love to have Hannah check it out though, and see what she/they think.
from finda.
Oh, and I did have a rationale for the AND/OR, despite the confusion. I figured that if you were selecting some services, you'd want to see the locations that had all of those services since you needed multiple things.
from finda.
Amazon does it by changing the numbers next to the checkbox to reflect the number of items which will remain when that's clicked. "Featured Brands" is an OR search; "Features & Apps" is an AND search. I'll try to play with that soon.
from finda.
Finally got around to implementing a basic version of the faceting counts: http://paulswartz.github.io/finda/
Known issues:
- clicking on the text doesn't toggle the checkbox
- the filtering of the facets is connected, but checking a Service doesn't update the counts or options of the Categories
- related:, if you filter so far there are no displayed values for a facet, the title is still displayed
- related: if you filter so far there are no options, even the "selected" options disappear
from finda.
I think I've addressed those issues; I opened up #55 to merge it in.
from finda.
Related Issues (20)
- Include the zoom controls on the map
- Hook up getfinda.com to ...something HOT 3
- Better default map positioning HOT 3
- Credit and email link for bad data
- Add info to the about page
- Allow users to specify icons for different types of locations
- add a scale to the map HOT 1
- put something on the map for the searched location
- ability to limit results to just what's visible on the map
- investigate speed issues with larger datasets HOT 1
- Points won't ungroup at the lowest zoom level
- Pop-up bubble text for clusters HOT 1
- Filters to add
- Adds to list view
- Filter child care finder by city HOT 1
- Too slow when data set is large HOT 7
- gh-page hosting doesn't seem to work in fork HOT 2
- Compatibility with SODA HOT 8
- Map tiles 503 error HOT 1
- Only display loading indicator after a half second delay
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finda.