Canvas AI: Give AI more context about the libraries present in Canvas
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3548637. --> Reported by: [utkarsh_33](https://www.drupal.org/user/3727088) Related to !389 !140 >>> <p>--- AI TRACKER METADATA ---<br> Update Summary: Give AI more context about the libraries present in Canvas<br> Check-in Date: MM/DD/YYYY (US format) [When we should see progress/get an update]<br> Due Date: MM/DD/YYYY (US format) [When the issue should be fully completed]<br> Blocked by: [#XXXXXX] (New issues on new lines)<br> Additional Collaborators: @username1, @username2<br> AI Tracker found here: <a href="https://www.drupalstarforge.ai/">https://www.drupalstarforge.ai/</a><br> --- END METADATA ---</p> <h3 id="overview">Overview</h3> <p>Currently while creating code components sometimes AI includes the react libraries that are not supported by canvas, which causes results in the preview not getting loaded. If we can provide the AI the list of available libraries that are supported by the canvas system then chances of AI importing wrong libraries while component creation will be less.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <h3 id="ui-changes">User interface changes</h3>
issue