AI Chatbot: Add chat message complete class to allow specific CSS
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3487717. --> Reported by: [justanothermark](https://www.drupal.org/user/1369624) Related to !272 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently, the loader that shows in the chatbot while waiting for a message is `<br> </p><div class="loader"></div> <p>`. This is completely replaced when the message is returned (or starts streaming).</p> <p>It would be useful to have a class (or attribute) at the `.chat-message` level so that other elements within the message can be targeted by CSS during loading.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue