Loomio
Thu 22 Nov 2012 12:21AM

Search

JM James McCann Public Seen by 24

Attached mockup of how the search bar might fit into the context of the dashboard.

https://docs.google.com/open?id=0B4_HCol896iTOFVycmp1QXBoNFE

Think it would be appropriate for this to be able to filter automatically by what group you are currently viewing but the results page should allow you to remove this filter and show all group results.

(Results page mockup coming soon)

JL

Jon Lemmon Thu 22 Nov 2012 2:03AM

Awesome. That looks good to me. Interested to see the results page.

JL

Jon Lemmon Thu 22 Nov 2012 2:08AM

One thing to think about... are we just going to be searching through both proposals and discussions for now, or just discussions?

If both, we'll need a way of distinguishing between proposals and discussions on the results page.

PS

Paul Smith Thu 22 Nov 2012 9:36PM

So keen for this feature, I lose discussions all the time and quite often can't even remember which subgroup I'm looking through to find them haha.

For the results page I'd really like to see it just ajax filter on the dashboard so as you're typing in your search string the list of discussions is clearing out the ones that don't match. Would give users heaps more control at the dashboard level.

BK

Benjamin Knight Thu 22 Nov 2012 10:30PM

Would be great to have it search through proposal titles as well - but discussion titles only would still be a great place to start if it's simpler

AI

Alanna Irving Tue 27 Nov 2012 12:51AM

I like it! in the future can we have advanced search where you can search only in the title, only in certain groups/subgroups, or search by author, etc?

JL

Jon Lemmon Tue 27 Nov 2012 1:49AM

@alanna - in the future we can have everything!

AI

Alanna Irving Tue 27 Nov 2012 3:44AM

Flying cars! Electric cucumbers! Gyroscopic feather dusters!

JM

James McCann Sun 13 Jan 2013 9:07PM

Bump - is anyone currently working on this? I've been pretty busy lately but I'd like to get back onto this one!

@jonlemmon I was hoping to break this task up, firstly doing something like the above mockup which just does a simple filtering on the discussions list using a query str to match on the title (very similar to @mentions). Following that, implementing a full text search with a results page etc. would be the next step. Thoughts?

JL

Jon Lemmon Mon 14 Jan 2013 11:15AM

@jamesmccann that sounds like a great place to start to me!

If you're feeling keen, maybe try to build it outside-in with cucumber tests. Also might be a good idea to submit a pull-request early on (before you've completed it) and mention me along the way while you're building it and I can help guide you through the process wherever you run into any snags.

JL

Jon Lemmon Mon 14 Jan 2013 11:24AM

Also, I reckon let's try to really sort out the spec before you start building it. So what I'm imagining is...

  • You start typing in the search box and it autocompletes
  • It should display a max of maybe 10 discussions
  • It should show a date the discussion was last posted to as well
  • Just start with search on the group page for now (and leave the dashboard till later)

Does this sound right to you? Whatever you're imagining for the behaviour, can you post a mockup of it (perhaps using balsamiq)?

Load More