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

Search a codelist on the code/name/description fields #12

Closed
andylolz opened this issue Oct 25, 2019 · 10 comments
Closed

Search a codelist on the code/name/description fields #12

andylolz opened this issue Oct 25, 2019 · 10 comments
Labels
enhancement New feature or request

Comments

@andylolz
Copy link
Member

andylolz commented Oct 25, 2019

On codelist pages, I’d like a typeahead search, so that I can quickly find the name of a given code and vice versa.

@andylolz andylolz added the enhancement New feature or request label Oct 25, 2019
@andylolz andylolz changed the title Search a codelist on the code/name/description fields. Search a codelist on the code/name/description fields Oct 25, 2019
@andylolz
Copy link
Member Author

I had a go at this (by adding h2s throughout the codelist tables) but it didn’t get picked up by vuepress search :( so I’m not sure the best way to solve.

@matmaxgeds
Copy link

Maybe this might help if we can add tags - 18 days old? https://github.com/vuejs/vuepress/pull/1557##

Or slightly more involved but supported/integrated: https://vuepress.vuejs.org/theme/default-theme-config.html#algolia-docsearch

@andylolz
Copy link
Member Author

Or slightly more involved but supported/integrated: https://vuepress.vuejs.org/theme/default-theme-config.html#algolia-docsearch

Oh… I assumed this was a paid-for service, but it appears to be free!

@andylolz
Copy link
Member Author

Maybe this might help if we can add tags - 18 days old? vuejs/vuepress#1557

Interesting! Looks like this is in v1.4.0.

@markbrough
Copy link
Member

I think Algolia DocSearch looks quite nice and would be easy to implement quickly! Should we (I?) have a go at this?

@andylolz
Copy link
Member Author

Sure – go for it!

@andylolz
Copy link
Member Author

This would be increasingly useful now that some codelists are paginated, since ctrl-F won't search the whole of a paginated codelist.

@stevieflow
Copy link

To add: as a user, I try to use the global search to search a codelist, and get confused by the results (or lack of)

@markbrough
Copy link
Member

Added the option to filter on a particular codelist page in #71

@andylolz
Copy link
Member Author

I reckon #71 closes this.

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

No branches or pull requests

4 participants