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
Unknown Object (File)
Tue, Dec 17, 6:07 AM
Unknown Object (File)
Sat, Dec 14, 3:24 PM
Unknown Object (File)
Sun, Dec 8, 10:53 AM
Unknown Object (File)
Tue, Dec 3, 11:42 AM
Unknown Object (File)
Tue, Dec 3, 11:42 AM
Unknown Object (File)
Tue, Dec 3, 11:42 AM
Unknown Object (File)
Tue, Dec 3, 11:16 AM
Unknown Object (File)
Fri, Nov 29, 3:31 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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