Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More robust creation of new gallery filters #223

Open
brian-rose opened this issue Jan 8, 2025 · 0 comments
Open

More robust creation of new gallery filters #223

brian-rose opened this issue Jan 8, 2025 · 0 comments

Comments

@brian-rose
Copy link
Member

Currently the dropdown lists on filterable tags are hard coded in the javascript code. We had "domains" and "packages". We are adding a new "events" category in #222.

Ideally these categories would not need to be hard coded, but instead responsive to whatever is in the html. We can add new categories dynamically at gallery build time just by including a new heading in at least one cookbook repo's _gallery_info.yml file. But the filtering will not work until the heading name is hard coded in the javascript.

This is something we should try to fix as part of our overhaul of our website.

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

No branches or pull requests

1 participant