@Jhernandez well, not really structured. I just replaced the html with json formatting but it's all still being passed around through the same execute method that returns a String. App-side I'm able to instantiate an object from the string returned through a json serializer. Here's example from my InlineDiffJSON class vs InlineDiff.
Progress here - still have the font size on load bug to fix with it.
Mon, Aug 19
@Mholloway @Jhernandez I have been exploring adding the wikidiff2 c++ engine in our XCode project and it seems to be working well so far. It's not the best long-term solution but it does allow me to change the formatting without cross-platform ramifications, and I have access to the inline diff. I'm no C++ developer but if we decide to continue down this path maybe I could submit a PR to wikidiff2 of my tweaks and someone could take it from there? It's essentially a (hopefully temporary) fork local on the device so, another not-particularly-great solution.
Fri, Aug 16
Wed, Aug 14
@Jdlrobson also tagging Jon - it was pointed out to me that the work in https://phabricator.wikimedia.org/T117279 could help us here. We are working on supporting inline diffs in iOS - it looks like this would save us a step with pulling the separated diff from API:Compare and merging them to be inline. Is there any ETA on when https://phabricator.wikimedia.org/T117279 might make it into prod?
Perhaps we could request that wikidiff2 be modified to output a data structure representing the diff and/or the HTML representing the diff
Thanks @Mholloway! We have consolidated our preferred endpoint requirements for this and API questions we have. I realize some of this might already be accessible but wanted to get it out there to get a feel for what is and isn't doable and to document what alternatives we have now that XTools may not be usable. Also tagging @WDoranWMF @Eevans and @Jhernandez, not to bypass any particular person but just to get the contacts I have in one place for thoughts/consideration.
Tue, Aug 13
@Jhernandez thanks for your notes! I'm attaching my finalized contract anyways just for documentation purposes but understood that it won't work with the C++ code.
Thu, Aug 8
First pass at a structured contract. This is based on the changes here.
Tue, Aug 6
This was the redirect link that caused trouble before - https://en.wikipedia.org/wiki/United_Kingdom_European_Union_membership_referendum,_2016
Some API notes so far:
Mon, Aug 5
Fri, Aug 2
Thu, Aug 1
Wed, Jul 31
Finished iPad-specific bugs & product-y things to consider. Will add iOS subtasks next which also will affect iPad in most cases.