callzhang / WokeAlarm

Your everyday alarm clock app, now socialized.
http://wokealarm.com
0 stars 0 forks source link

[UI] Missing Add Friends Status Assets #92

Open caoer opened 9 years ago

caoer commented 9 years ago

ios_simulator_-_iphone_6_-_iphone_6___ios_8_1__12b411_

@justfinish looks like we are missing icon for 3 states. see attached images for detail.

for denied, we can hide that cell. but showing it to user is good as well. what you do think?

caoer commented 9 years ago

thinking about a sending indicator might be good. add friend is a network request, so it might take time after user clicked the add friend button, we do not show alert view for sending friend request. a immedate UI interaction needed.

currently the icon only update when the status is changed.

@callzhang I'm not sure how fast it is, because it is only a simple server, should be very fast, can you test? Also, I can only search for two contacts, you and lance, after I click add friend, the icon has changed, so that I can't test anymore. can you test the UI flow on this part? does the app react fast enough to let user feel that he/she clicked the button and friend request being successfully sent.

callzhang commented 9 years ago

FB server is fast. Usually takes less than 0.5s. You can show a activityIndicator while waiting...

caoer commented 9 years ago

checkout friend, unfriend,

justfinish commented 9 years ago

Friend Request Scenario

  1. Friend Request Received When Friend Request received, a push notification will be sent to the user, and displayed in the Notifications view. Two buttons to accept or ignore the request will be available in the notification box. When viewing the sender’s profile, the Accept and Decline buttons will show up, replacing the original Friend button.
  2. Friend Request Sent Once sent, on receiver’s profile view, the Friend button turns into Sent state. Once request is sent, it cannot be cancelled by the sender.
  3. Friend Request Declined When a friend request is rejected by the receiver, the request gets deleted in the system and the sender side status returns to no-request, not friended. Once a request is declined, when the sender views the receiver’s profile view again, the Friend button will become Tap-to-Add-Friend state, instead of Request Sent. Thus the sender learns that his/her previous request was declined. However, the sender may send a new request again.
  4. Friend Request Approved Once a request is approved by the receiver, the sender’s profile view will display a Friended icon/button to the receiver. Sender receives a push notification regarding the new friendship, and the receiver’s profile view shows a friended icon/button the sender, as well.