Couchers-org / couchers

The next-generation couch surfing platform. Free forever. Community‑led. Non‑profit. Modern. Chuck us a star :)
https://couchers.org
MIT License
389 stars 79 forks source link

UserSearch megaissue #4208

Open CouchersBot opened 3 years ago

CouchersBot commented 3 years ago

Original: Subject: Search results Description: The problem is: if you want to be an alternative of couchsurfing you must have a good search results and filters. On couchsurfing there's a lot of possibilities to find some hosts, you can select gender, age, interests, last login, account created since, hosting availability, etc...

The search results by map is not a good thing cause when you will have thousands of users you will not able to see anything on the map. On my phone the map bug and if don't have a good connection I'm not able to navigate clearly.

Results: Please, design a search filters and search results like couchsurfing.

Backend version: develop-3b643a90 Frontend version: develop-3b643a90 User Agent: Mozilla/5.0 (Linux; Android 11; Pixel 3a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 Page: https://app.couchers.org/search?query=France&lastActive=1#loc=2.03/33.5/-95.72/-20.9 User (spoofable): somuchtocome (1491)

lucaslcode commented 3 years ago

I wonder if we should put the current search bar in the filter dialog and make it a keyword search. The current setup is obviously confusing

jesseallhands commented 3 years ago

The current search field is labelled "Search for a user..." which is not what the query actually is, right? At a minimum the label should be updated to properly reflect what kind of query is being performed. The default "last active" timeframe should be empty. Right now it's "last day", but we don't want to be too restrictive with the default search filter. The accommodation filter is also currently ambiguous: It lets you select the number of guests, but is this a min search or max search? Perhaps the label of that filter could be changed to "minimum number of guests".

Here's a screenshot of the filters the design team came up with as the most pertinent (based upon user-feedback/testing):

image

The next most important filters to have would be:

Keep in mind that these shouldn't be a drop-down menu since most people will be okay with most of these options (eg, they are okay with a common area or private room, but not a shared room).

ShmuelTreiger commented 3 years ago

I want to group all search threads into one issue and this issues seems to have the best discussion.

It seems to me we need basic search, which allows for search by name, current location, perhaps gender and age, plus a default "search entire profile" box, and then advanced search similar to what Jesse has above. The two should work in tandem (i.e. if I put location in the default it should either remain visible or carry over if I switch to advanced search).

As the original bug here notes, this seems pretty critical to using couchers to actually find hosts, now that the pandemic is dying down in certain countries

This continues and closes Couchers-org/couchers#1409 Couchers-org/couchers#1395 Couchers-org/couchers#889 (though perhaps 889 should be split into two issues)

ShmuelTreiger commented 3 years ago

Most of the work seems to be frontend.

Search.UserSearch seems fairly robust, although there's almost no testing. I've created a separate issue for that Couchers-org/couchers#1465

ShmuelTreiger commented 3 years ago

Another thought: Could we have a search filter something like "User has notifications turned on"? Or even "User checks notifications" if we ever track that? That way, even if they haven't been online for a while, I can see if they'll receive a notification if I make a host request

aapeliv commented 3 years ago

Need a filter for active or filled profile or similar. There have been discussions off github and we'll come up with something soon.