Closed (fixed)
Project:
Drupal Canvas
Version:
1.x-dev
Component:
AI
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2025 at 11:55 UTC
Updated:
20 Nov 2025 at 13:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
narendrarComment #6
utkarsh_33 commentedComment #7
kunal.sachdev commentedI believe the changes in this branch are causing a regression.
For testing locally, I temporarily added the following code to the top of the CanvasBuilder::render() method to simulate a failure:
On 1.x when submitting a prompt to the AI chatbot, the expected error message ("error") is correctly displayed to the user (as shown in the attached screenshot 1.x error screenshot).
When I switched to this branch and performed the same action, the chatbox contents disappear completely, and no error message is shown (as shown in the attached recording MR error recording).
Comment #8
utkarsh_33 commentedI think that was a rebasing issue. Merged latest 1.x changes and i was not able to reproduce this after that. Marking it NR again.
Comment #9
kunal.sachdev commentedTested it again it works fine for the case when the first response is small and an image is uploaded.
But a visual regression occurs when a user uploads an image as the very first action. The image overflows the chatbox boundary, pushing it out of view (see screenshot)

Comment #10
utkarsh_33 commentedComment #11
kunal.sachdev commentedIt is working as expected.
Comment #14
tim.plunkettMerged, thanks!