[META] Implement Streamed responses in CKEditor plugins

Created on 31 July 2024, about 2 months ago
Updated 6 September 2024, 15 days ago

Problem/Motivation

✨ Add new CKEditor plugins to the drop down button in CKEditor toolbar Active is pending a merge.

The UX has vastly improved.

It would be great to see if streamed responses can be put back as well in the modal in a seamless way (user does not have to take any action, its either supported or not supported).

Proposed resolution

R&D a way to support streaming the response back to the user. This will also require changing the 'response' box from a text area to a formatted text field (possibly) so it can receive answers as markdown and/or HTML.

Current WIP:

The current WIP supports receiving answers in HTML and sending back to the main editor instance intact. Without streaming though, not much else is going to be possible, or usable. Streaming HTML into CKEditor doesn't work great, which would require the answer to be Markdown formatted (opening and closing tags are broken to CKEditors model).

Remaining tasks

Support requesting an answer from AI and streaming it back to the modal editor. This will likely require a solution that does not go through the form rebuild process of an AJAX callback. However, the form will need to have the form value (the response) on submit.

User interface changes

None.

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024