Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Add filter functionality #68

Closed
katydecorah opened this issue Dec 7, 2018 · 2 comments
Closed

Add filter functionality #68

katydecorah opened this issue Dec 7, 2018 · 2 comments

Comments

@katydecorah
Copy link
Contributor

filtering the examples list was flagged as an important feature in the mapbox-gl-js docs (see mapbox/mapbox-gl-js#7530 (comment))

refs #65 (comment)

@katydecorah
Copy link
Contributor Author

katydecorah commented Dec 7, 2018

@colleenmcginnis as luck would have it, this functionality already exists :) if you pass includeFilterBar={true} to SectionedNavigation the filter will appear at the top!

@colleenmcginnis
Copy link
Contributor

Oh! @katydecorah yes I added that a few weeks ago. My comment wasn't very clear -- if we change the pattern so we don't list all the examples/tutorials in the sidebar then there is nothing to filter. Should we create a new pattern that allows users to filter the cards instead?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants