Closed seejee closed 4 years ago
Ok, I think I'm done messing around with the search box styling. Please take a look as I believe a very rudimentary search for articles is fully working. I also move the partials back to their original location.
Future improvements:
1) Include activities and people in search results 2) Style the search results differently to differentiate them from the regular articles
Anything else?
I just want to caveat all of this work by saying that I have don't much rails (or web) work, so I'm very open to areas of improvement. Thanks!
@jordanbyron The whole issue #12 sitewide search feature is not yet complete. I haven't implemented the front-end styling yet, but I wanted you to take a look to make sure that it looks ok from the controller down to the db.
I waffled over whether to just shove a search method in the
ArticlesController
or make a newSearchController
. I went with the latter, which forced me to move a few partials fromviews/articles
intoviews/shared
.Anyway, I just wanted to give you a sneak peek while I worked on the UI bits. I look forward to the feedback!