AI Chatbot Title is displayed in the page outside chatbot modal

Created on 6 March 2025, 28 days ago

Problem/Motivation

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.

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.

Steps to reproduce

  1. Enable ai_chatbot module
  2. Place the AI Chatbot block in content region using the block layout.
  3. Keep the default configuration settings.
  4. Visit a page where the chatbot block is displayed.
  5. Observe that the chatbot title is displayed on all pages using the theme
  6. Go to block configuration and disable the "Display title" checkbox.
  7. Observe that the chatbot title is no longer displayed as a separate title but still functions correctly within the modal

Proposed resolution

TBD
The chatbot title should be displayed inside the chatbot modal rather than as a separate block title

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Other Submodules

Created by

🇮🇳India annmarysruthy

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