Page MenuHomePhabricator

Replace user "status" with "availability"
ClosedPublic

Authored by epriestley on May 14 2015, 12:00 AM.
Tags
None
Referenced Files
F15456943: D12833.diff
Sun, Mar 30, 1:13 PM
F15444921: D12833.id30864.diff
Thu, Mar 27, 11:52 AM
F15421050: D12833.diff
Fri, Mar 21, 8:36 PM
F15420017: D12833.id30863.diff
Fri, Mar 21, 10:36 AM
F15403951: D12833.id30896.diff
Tue, Mar 18, 5:39 AM
F15400599: D12833.diff
Mon, Mar 17, 12:47 PM
F15396965: D12833.id.diff
Sun, Mar 16, 5:16 PM
F15395795: D12833.diff
Sun, Mar 16, 9:53 AM
Subscribers

Details

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".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable