Page MenuHomePhabricator

Move hierarchical membership rendering to the client
Open, Needs TriagePublic

Description

To make the Fundraising Operation center more of an API and single-page application, keep translations on the client side and to reduce the amount of JSON formats, we want to move the construction of the hierarchical data structure for displaying memberships to the client side. The client side should process a single row.

Implementation details:

  • Use donationdetail.js as an inspiration, you can probably build a library of shared formatters for log, payment, moderation reasons and address details
  • Add JS tests
  • Delete all the old PHP classes (namespace WMDE\Fundraising\Backend\Presentation\Formatters)