Add Search
Closed this issue · 1 comments
budparr commented
Tools Search
-
beginThink about how this might be progressively enhanced.
Full site Search
UI
- Fix js conflict with Turbolinks for UI
- Make esc return back to regular page
- Make sure classes in JS templates are declared for PurgeCSS (have added templates to webpack, but some classes are declared in the instantsearch.js script
- Make search link shareable (UI is fairly simple at this point and the method I'm using to show results does not persist)
- Add the page you are on for pagination
- Make external links go direct to its site - use a icon to signify
- Improve pagination styling (and is 10 results enough?)
- Add back the (a) reset button
JS
- Securely pass ID variables (consider if we need this, because using search only API key)
- Add open search https://community.algolia.com/instantsearch.js/v2/guides/opensearch.html
- Tree shaking: https://community.algolia.com/instantsearch.js/v2/guides/usage.html#optimize-your-build-with-tree-shaking
budparr commented
Closing as this is done for purposes of this issue.