DEV Community

Discussion on: Hacktoberfest 2018: JavaScript OSS that needs contributors

 
adam_cyclones profile image
Adam Crockett πŸŒ€ • Edited

If you need some help with tips Samual give me a shout. I'm not super involved in react, I have more experience in Vue with tsx or plain Angular, however if you get started I can mentor you on this project.

Thread Thread
 
kiddeveloper profile image
Samuel Raphael

Sure, I'll make sure to reach out once I get started on the project. Thanks much.

Thread Thread
 
ben profile image
Ben Halpern

Rewrite search page in Preact #797

Feature Request or Task

As a user, I will want additional filters to narrow things down in my search. e.g. #360, but we don't currently have a great base for adding to the valnilla page.

Technical details

Right now, all the code for search is in _algolia_search.html.erb basically it's inline on the search page.

We want to move it to app/javascript. Create a new component in the src file called SearchResults and add a new pack called SearchResults, and then add <%= javascript_pack_tag "SearchResults", defer: true %> to _algolia_search.html.erb

Feel free to ask me for clarification.

Definition of Done

The current functionality has been replicated in clean, tested Preact code.

Here you go Samuel. If you get playing with this and it's a bit too complicated or weird to get going with, let me know. I could find something more straightforward to hack on.

Thread Thread
 
kiddeveloper profile image
Samuel Raphael

Sure, I'll jump on it and make sure to keep you updated with my progress.
Thanks much.