Reading/Web/Projects/A frontend powered by Parsoid/Notes

Notes of the research project through the weeks, and the planning sessions.

Nov 9 - 13

 * Web application experience
 * Web application scaffold (routing, state management, view layer, styles & asset pipeline)
 * Webpack + React + Redux + React-Router
 * Move Server Side rendering to web app infrastructure ^
 * Pick up navigation & rendering in client after first render
 * Basic caching infrastructure (assets & api requests)
 * Structured article output from API
 * Move from basic content HTML response to richer JSON structure with content + other entities (references, images, etc)
 * Sync with Services team & Bernd about parsoid html findings

Nov 2 - 6

 * HTML only experience https://reading-web-research.wmflabs.org/wiki/Struggle_session
 * UI urls: https://github.com/joakin/loot/issues/12
 * /wiki/:title
 * Chrome + slim
 * /wiki/full/:title
 * Chrome + full
 * Api:
 * Main transformations
 * Sectioning
 * data-mw
 * comments
 * img -> link
 * style attrs:
 * whitespace: nowrap
 * width: XXX ???
 * strip element from head/only serve body contents
 * Rewrite links (parsoid outpus "./:title")
 * /api/slim/lead/:title
 * Infobox
 * Lead section
 * With a "Read more..." button
 * References (only lead)
 * /api/slim/:title
 * Infobox
 * All sections
 * All references


 * Connect with Peter for performance measuring
 * Sync with mobileapps content service devs.

Oct 26 - 30

 * Clean up loot server produced in offsite's hackathon.
 * Move to more efficient parsing library (libxmljs).
 * Add more transforms than the basic ones.
 * Add basic sectioning.
 * Reproduce research and produce output report.
 * Deploy loot to vm in wmflabs and set up git deployments.
 * Plan next steps, html only version.

Oct 19 - 23
Offsite
 * Hacked a middleman node server to test parsoid html performance with & without stripping content.
 * Anecdotal results from hacking time show very interesting data.
 * Plan to formalize the server and write up a more informed report.

Oct 12 - 16

 * Adapt existing web app prototype to use parsoid html and review possible problems
 * Adapted https://github.com/joakin/webkipedia to use parsoid html from restbase.
 * Serious performance problems
 * Huge html, blocks mobile phones when loading
 * No sectioning, can't get lead sections
 * Live version at http://chimeces.com/webkipedia/
 * Plan to test standalone parsoid html to get performance results next week.