Page MenuHomePhabricator

Extract MobileFormatter into a composer library
Closed, DuplicatePublic


As HtmlFormatter has been moved to a composer library, in order to make MobileFrontend leaner, and improve the consistency of the api, modularity and quality of the formatter, we want to extract it to a composer library.


  • Create composer package with boilerplate
    • Get it into CI
    • Migrate MobileFrontend's code and tests to the library
      • Decouple from MobileFrontend's globals and code
      • Thoroughly document changes for later migration
    • Ensure library is continuously tested and works well
  • Swap implementation in MobileFrontend for the composer library
    • Security review?
    • Verify all is well
  • Iterate on mobile formatter to improve the quality of the code
    • Make the external api consistent (for example, use constructor configuration everywhere instead of using some times setters and some times not, etc)
    • ...

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJul 20 2016, 11:15 AM
Jhernandez moved this task from Backlog to Epics on the MobileFrontend board.
Jhernandez moved this task from Incoming to Epics/Goals on the Readers-Web-Backlog board.

IMO this is high.

Jdlrobson triaged this task as Low priority.May 17 2017, 9:16 AM
Jdlrobson added subscribers: pmiazga, bmansurov.

Given lack of activity on this task I'm setting this to low to reflect reality.
If this is something developers are personally interested in compared to other open epics, please speak so we can prioritise higher and start thinking about this.