Skip to content

Dato Agent: the Agent tab chat opens too narrow #162

Closed

Description

@rodrigobarona

Problem

Opening the Dato Agent tab starts the chat as a very narrow column. The right-hand pane is empty and only says that records will open there.

The inspector always shows that right-hand pane, and the plugin can set its width only once, through preferredWidth. The current calculation keeps all but 420px for the record pane. Because window.outerWidth is wider than the space DatoCMS actually has, the chat is squeezed to almost nothing until someone drags the divider.

Expected

The chat should open at a usable width, with the conversation centered when the pane is wide. The record pane should stay large enough to edit a record, and the empty pane should explain that records appear there and that the divider can be dragged.

Activity

  1. roger-datocms commented on Oct 20, 2026

    @roger-datocms
    Member

    (Claude here [Opus 5.5])

    Still reproducible on master. PR #165 fixes it; see the triage there: #165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions