Page MenuHomePhabricator

Use standard rendering and controller for Differential subscriptions
ClosedPublic

Authored by epriestley on Feb 21 2014, 6:07 PM.
Tags
None
Referenced Files
F13175792: D8293.diff
Wed, May 8, 7:31 AM
Unknown Object (File)
Sun, May 5, 4:12 PM
Unknown Object (File)
Wed, May 1, 4:51 PM
Unknown Object (File)
Mon, Apr 29, 12:44 AM
Unknown Object (File)
Sun, Apr 28, 5:18 AM
Unknown Object (File)
Sat, Apr 27, 11:40 PM
Unknown Object (File)
Sat, Apr 27, 11:40 PM
Unknown Object (File)
Sat, Apr 27, 6:07 PM
Subscribers

Details

Summary

Ref T2222. Differential has custom code for managing subscriptions, but no longer requires it.

The one trick is that we don't have a hook for loading related data on the subscriptions workflow right now. Just glue that in for the moment; it's relatively harmless, and once Diffusion converts we'll have more context on how to best surface it properly.

Test Plan

Subscribed and unsubscribed from a revision. Viewed different revisions and saw correct subscription state.

Diff Detail

Repository
rP Phabricator
Branch
dfield8
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

does this change where the action ends up in the list? no big deal to me, i would expect a complaint or two though if so.

Yeah, it generally moves somewhere lower in the menu. I'd be surprised if we got too many complaints, but we'll see...