hashplan / calendar

Apache License 2.0
0 stars 0 forks source link

user connections #17

Closed hashplan closed 9 years ago

hashplan commented 10 years ago

in database, userid 2 has the following info stored: image

There are 4 friends and 3 requests sent.

In my account, current friends shows 7 friends (one you can't see at the bottom of the screen is Shirley Reynolds): image

Under "invites" in "sent", it shows 3 friend invites: image

Something does not add up based on the database.

Please rename "sent" to "Friend Invitations Sent".

romasolot commented 10 years ago

select * from user_connections where userId = 2 and type = 'friend'

Only those users are counted in your query whom user with id = 2 sent invite to, and there are users who sent invite to friends by themselves and got confirmation I mean the following query is used to show friends select * from user_connections where (userId = 2 or connectionUserId = 2) and type = 'friend'

Will rename the tab.

hashplan commented 10 years ago

Ok, if that is the structure, we can leave.

romasolot commented 10 years ago

Sorry, I forgot that not only friend invites are displayed in the "Sent" tab, but event invites as well, according to the №24 slide. Should I anyway rename it?

hashplan commented 10 years ago

Maybe we could do some sort of on hover so that the user knows that this includes all sent items, events or invites to connect?

romasolot commented 9 years ago

Fixed, on hashplans.com