bcoe / record-crate

index, organize, and search your music collection, DJ sick sets.
ISC License
25 stars 6 forks source link

Overview search #18

Closed DeviaVir closed 9 years ago

DeviaVir commented 9 years ago

Adding a search button on the top right.

It doesn't do any requests to elasticsearch, since we get all elements at the moment. Would probably be nice to have if we would apply pagination and other stuff. But that's for another issue, another day.

11

screen shot 2014-12-19 at 17 07 24 screen shot 2014-12-19 at 17 07 34

bcoe commented 9 years ago

@DeviaVir @zeke, how would you feel about having a more Google-style search, where the search bar just sits above the current results?

DeviaVir commented 9 years ago

That's actually not a bad suggestion. I'm off for the weekend as well, but will update this PR with a search window above current results somewhere next week :)

bcoe commented 9 years ago

@DeviaVir, I'm going to put some unit-tests around the current server.js, and will document how the search endpoint accepts: sorting, limiting, and pagination., in a perfect world I'd love the search results to seamlessly let you scroll through your whole collection (perhaps paging in more results as you scroll to the bottom).

I will be tracking this work here: https://github.com/bcoe/record-crate/issues/21

DeviaVir commented 9 years ago

How do you like this? @bcoe

screen shot 2014-12-31 at 10 54 52 screen shot 2014-12-31 at 10 54 41 screen shot 2014-12-31 at 10 54 29

bcoe commented 9 years ago

That's looking good :) two questions:

On Wednesday, December 31, 2014, Chase Sillevis notifications@github.com wrote:

How do you like this?

[image: screen shot 2014-12-31 at 10 54 52] https://cloud.githubusercontent.com/assets/777823/5586900/7af4025a-90db-11e4-982a-70be3e7f780d.png [image: screen shot 2014-12-31 at 10 54 41] https://cloud.githubusercontent.com/assets/777823/5586901/7e26c566-90db-11e4-837c-289c903ad51e.png [image: screen shot 2014-12-31 at 10 54 29] https://cloud.githubusercontent.com/assets/777823/5586902/80beeb82-90db-11e4-90c6-f17d26993f66.png

— Reply to this email directly or view it on GitHub https://github.com/bcoe/record-crate/pull/18#issuecomment-68433051.

DeviaVir commented 9 years ago

There was already some code that was listening for enters, but I messed some stuff up, which broke it. It's working now though!

Which search endpoints do you want me to hit up? Maybe we can talk extending the search later, in another PR. I'm currently already working (in another branch) on implementing the sorting.

bcoe commented 9 years ago

I'm comfortable with addressing these feature requests in another thread. merge at will :+1:

Mainly, I'd like the default search to hit ElasticSearch, but let's open up this conversation in a separate thread so we're not blocking this merge.

DeviaVir commented 9 years ago

Cool! It gives us more chance to go in-depth for issues, per PR :)