hashplan / calendar

Apache License 2.0
0 stars 0 forks source link

add friends page #15

Closed hashplan closed 9 years ago

hashplan commented 10 years ago

http://hashplans.com/user/friends/add

There seem to be 103 users in the users table. user id 2 is friends with 7 users, and only 2 show up on "add friends" page. This list should include all users the user is not currently friends with or has not sent an invitation to or has not "removed", so I would expect to see this show ~90 users here. This should load like we have all other pages, on scroll, etc.

Other than "connect" button, we should also add a "remove" button to the main result list.

Also, like shown on slide 20 of requirements doc, we should add a search field in locations-left-block, where user can type in a location for both current friends and add friends pages.

image

romasolot commented 10 years ago

The list of people whom user may be acquainted with is shown on the Add friends page. The logic is the same as "People you may know" section. The situation can be resolved this way: first to show the list of people whom user may be acquainted with (sorting by the number of common friends),and then to show the rest of the people (sort by name?)

hashplan commented 10 years ago

Roma, logic should be different from people you may know.

"People you may know" should list common friends/connections in your location at top, then common friends/connections in other locations.

"Add friends" should be somewhat similar to "events/all" - it should list all people the user has not sent invites to or connected with. It should also load like we have "events/all" on scroll every 5, etc. For now, this will follow this very simple logic.

hashplan commented 9 years ago

I see the locations added on left hand side, but the main area of the page is blank. Why isn't it returning all users per comments above?

image

romasolot commented 9 years ago

Active users who are not in friends of the current user, and the current user did not send invites to them, and they did not send invite to the current user, and are not in the ignore list of the current user, are displayed at the moment

hashplan commented 9 years ago

For user user@user.com, pw: newpassword, I sent invite to Evelyn Rivera already - check this in invites.

If I go to "add friends" page and start typing "Evelyn" she does not show up in results, but if I start typing her last name "Riv", her name does show up.

hashplan commented 9 years ago

Last comment still seems to be outstanding, "Eve" does not bring up results, but "Riv" does.

Eve - image

Riv - image