Page MenuHomePhabricator

Update Wikilater to use Electron service in production
Closed, DeclinedPublic

Description

The prototype is currently very slow and probably unreliable because it's utilizing a service that is on labs. When the service is moved to production, update the prototype to use it.

Instructions from @Jhernandez :

The printing on the proto is just opening a window with a URL to the printing service.
This is where the printing service urls are generated:
https://github.com/joakin/protowiki/blob/master/src/api.js#L19-L37
So pointing somebody there and modifying https://github.com/joakin/protowiki/blob/master/src/api.js#L35-L37 to give the url to the new service back should be easy.
Keep in mind that the flashcard is generated by printing the prototype itself on the /flashcard/Title url (http://flashcard-1.surge.sh/flashcard/Cat) so if the production rendering service doesn't allow passing in arbitrary urls as the wmflabs one does, then we'll have to use the wmflabs one for the flashcard, but we can move the pdf download one to the production service.
If I'm not making much sense please ask more and I'll try to clarify!

Event Timeline

atgo changed the task status from Open to Stalled.Nov 28 2016, 4:36 PM

At this point, we're going to run on the Labs instance through testing.

atgo closed this task as Declined.Mar 21 2018, 11:39 PM