Integrate Coko AI PDF designer in Ketty (Beta release)
Context
Coko has developed an AI PDF designer that's currently integrated into Kotahi. There are many uses cases for an AI PDF designer in Ketty. For now we're looking at the simplest implementation so that Ketty users can try it out, before fully integrating the AI PDF designer into Ketty's book production workflow.
Proposal
- Create a new page for AI PDF designer (so that it's separate from current producer and preview pages). Apply Ketty's current styles to this page
- Choose one existing template (e.g. Vanilla) for use as the starting point for AI PDF designer
Design
Link to design in miro: https://miro.com/app/board/uXjVN3lY6DQ=/?moveToWidget=3458764579872996052&cot=14
AI_PDF Designer page Beta version
Implementation (if applicable)
Alternative approaches (if applicable)
A complete integration would need to consider which use cases are we trying to solve for by adding the AI designer. Here are two known use cases:
- Make new templates based on existing ones. A designer could use the AI designer to create a new template by adapting an existing one. In this case it would make sense for this to happen on a "template page" which doesn't exist in Ketty currently.
- Make page layout refinements prior to print-ready PDF downloads and syncing with POD suppliers. In this case there's currently no mechanism for saving updates to a template. Ketty comes with pre-defined templates. If AI Designer makes a change to the preview that will not be saved in the template based on the current implementation, so the PDF download won't match. Additionally, there are design considerations because in Ketty the editor (Wax in the Producer page) are separate pages, whereas the AI Designer has the editor, chat, and preview in one page