AI Chatbot Title is displayed in the page outside chatbot modal
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3511358. --> Reported by: [annmarysruthy](https://www.drupal.org/user/3664314) Related to !493 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When the AI Chatbot module's block is placed in a region, its title (e.g., "AI Chatbot") appears on all pages using that theme. This happens because the "Display title" checkbox in the block configuration is enabled by default. However, when the chatbot is placed in the content region, it appears as a modal, and the title should be displayed inside the modal rather than as a separate block title.</p> <p>Even if the "Display title" checkbox is disabled, the chatbot still functions correctly within the modal(chatbot title will be displayed correctly in modal), meaning the checkbox 'display title' should be unnecessary when using the chatbot in this mode.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ol> <li>Enable ai_chatbot module</li> <li> Place the AI Chatbot block in content region using the block layout.</li> <li>Keep the default configuration settings.</li> <li>Visit a page where the chatbot block is displayed.</li> <li>Observe that the chatbot title is displayed on all pages using the theme</li> <li>Go to block configuration and disable the "Display title" checkbox.</li> <li>Observe that the chatbot title is no longer displayed as a separate title but still functions correctly within the modal</li> </ol> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>TBD<br> The chatbot title should be displayed inside the chatbot modal rather than as a separate block title</p> <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