Page MenuHomePhabricator

Replace user "status" with "availability"
ClosedPublic

Authored by epriestley on May 14 2015, 12:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 3:51 AM
Unknown Object (File)
Mon, Dec 16, 7:53 PM
Unknown Object (File)
Wed, Dec 11, 12:07 PM
Unknown Object (File)
Tue, Dec 10, 8:58 AM
Unknown Object (File)
Fri, Nov 29, 2:15 AM
Unknown Object (File)
Nov 16 2024, 7:16 PM
Unknown Object (File)
Oct 19 2024, 5:05 AM
Unknown Object (File)
Oct 18 2024, 9:23 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