18F / jekyll_pages_api_search

DEPRECATED - Jekyll search plugin based on lunr.js and jekyll_pages_api
https://rubygems.org/gems/jekyll_pages_api_search
Other
39 stars 8 forks source link

UI component refactor and testing #29

Closed mbland closed 5 years ago

mbland commented 8 years ago

The refactoring is relatively minor, but the testing is pretty extensive. Open to the idea of porting these components and tests to 18F/lunr-server or another npm first rather than checking them directly into the gem.

Confirmed the tests pass with PhantomJS 2.1.1, Chrome 49.0.2623.75, Safari 9.0.3, and Firefox 45.0. Also confirmed it continues to work with 18F/guides-template and presidential-innovation-fellows/apps-gov.

cc: @catherinedevlin @jbarnicle @afeld @stroupaloop

mbland commented 8 years ago

Closes #26.

mbland commented 8 years ago

Also germane to #27.

mbland commented 8 years ago

Ping... Any preference as to how to move forward on this?

jbarnicle commented 8 years ago

@mbland I'll try and review this PR over the weekend. As far as migrating JS components to lunr-server, I'm not sure how valuable that would be. The UI approaches across sites can vary greatly and I would think most likely be overridden on the client side in most cases. The design for the aggregated results varies greatly from the existing implementation.