Chat UI Additional Features - Threads, Context & History

Created on 19 August 2025, 16 days ago

In collaboration with the #AI-UX Drupal Slack group, we’ve been working on immediate UX improvements for the AI Chat, with the current design direction being a left-hand panel that pushes the admin UI to the right. ( See issue #3531279 📌 Provide updated UI for AI Chatbot module Active )

As part of those discussions, we have identified future improvements that could significantly enhance the AI Chat UX:

1. Context-aware chat – ability to specify whether the AI should act on:

  • The entire site
  • The current page/node
  • A specific field or UI element on the page
  • ... likely more contexts needed ...

2. Multiple chat threads

  • Switch between different conversations, each maintaining its own history.

3. Reverting chat history

  • Ability to roll back a single chat 1 or more turns in the chat thread when the LLM output is not optimal
  • Whatever actions the agent did should also be unapplied to Drupal

4. Persistence across navigation:

  • Ensure chat remains active across screen refreshes or navigation between pages to allow multi-page workflows.

Cursor Example Recording

Cursor has similar requirements. I recorded a video of how they implemented these types of features.

Cursor Demo Video

Feedback Requested

  • What (if any) of these features should we focus on?
  • How do we think we can pass the context of "this page" to the chat similar to how it works in XB's AI chat?
✨ Feature request
Status

Active

Version

1.2

Component

AI Chatbot

Created by

🇨🇦Canada afoster

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024