sidekick.js conflicts

Created on 5 November 2024, about 1 month ago

Problem/Motivation

While working on 3479540 🐛 Alt text generation not working 100% Active , I noticed that the sidekick.js file breaks a lot of ajax functionality.

I think the initial intent of the code it contains was to provide the sidekick chat popup with up-to-date edit form contents, for context.

But that functionality doesn't work right now (I don't know if it ever did), and with the js file enabled, several other issues are caused, like breaking of the image/file upload workflow (and probably other ajax functionality).

Steps to reproduce

  • Install and configure Sidekick (including the trusted `frame-src` response header)
  • Open an edit page of a content type that has an image field (no need to configure sidekick)
  • Upload the image
  • The upload response does nothing (no uploaded image preview, no alt or title fields if they are configured, no sidekick button if configured).

Proposed resolution

I think we should temporarily remove it (and possibly disable the sidebar/popup chat feature altogether) and release a second beta, until we can get that integration working as planned.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇹Austria rominronin Vienna

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