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

Add filtering to api page #81

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

austin-artificial
Copy link
Contributor

In the build script, we create a little index to use for searching through. At the moment, it just contains the text of the type/term name, and the dom ID of the relevant li element for that type/term.

Then when the filter string changes, we search through the list, matching the query text against the name of the function (by checking if its a substring or not), and hide any irrelevant type/terms.

@chrisdone chrisdone merged commit 5d84d82 into chrisdone:main Jan 15, 2025
1 check failed
@austin-artificial austin-artificial deleted the austin/fitler-api branch January 15, 2025 15:02
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

Successfully merging this pull request may close these issues.

2 participants