Page MenuHomePhabricator

ReferenceDrawer should use a ReferenceGateway
Closed, DuplicatePublic


See discussion on

Basically we should not need to use trackSubscribe in anyway.
We should pass a ReferenceGateway to the ReferenceDrawer and no code inside references.js should need to think about the display of references inside the drawer.

  • ReferencesGateway class created
  • ReferencesDrawer is passed an instance of ReferenceGateway
  • When binding to sups inside the content area, to display a reference we invoke ReferenceDrawer::showReference