Skip to content

Preview page Integration

Until the actual UI become ready the Previewer.page.js should return a dummy div. An example of a connected page is like here https://gitlab.coko.foundation/ketida/ketida/-/blob/websocket-locks/packages/client/app/components/wax/src/EditorPageWithData.js

Additionally, inside the connected layer Previewer.page.js the following handlers should be implemented: downloadPDFHandler and downloadEPUBHandler as well as a placeholder handler which will contain the logic of communicating with Lulu's system in order to post print jobs to their queue. These actions, will rely on axios as they will be calling REST endpoints thus outside the scope of graphql

Edited by Alexandros Georgantas