Homec4science

Replace user "status" with "availability"

Authored by epriestley <git@epriestley.com> on May 14 2015, 20:15.

Description

Replace user "status" with "availability"

Summary:
Ref T7707. Ref T8183.

  • Currently, user status is derived by looking at events they created. Instead, look at non-cancelled invites they are attending.
  • Prepare for on-user caching.
  • Mostly remove "Sporradic" as a status, although I left room for adding more information later.

Test Plan:

  • Called user.query.
  • Viewed profile.
  • Viewed hovercard.
  • Used mentions.
  • Saw status immediately update when attending/leaving/cancelling a current event.
  • Created an event ending at 6 PM and an event from 6:10PM - 7PM, saw "Away until 7PM".

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8183, T7707

Differential Revision: https://secure.phabricator.com/D12833

Details

Committed
epriestley <git@epriestley.com>May 14 2015, 20:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPH04186e02cfd8: Separate handle "status" and "availability"
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHfef3c778fd45: Replace user "status" with "availability" (authored by epriestley <git@epriestley.com>).May 14 2015, 20:15