Repository navigation
Dato Agent: give the inspector chat a usable starting width - #165
Closed
rodrigobarona wants to merge 1 commit into
Closed
rodrigobarona wants to merge 1 commit into
rodrigobarona wants to merge 1 commit into
Conversation
The Agent tab reserved all but 420px for the record pane, so the chat opened as a narrow column beside an empty pane. Start from a balanced split, keep both panes usable, and center the conversation. Co-authored-by: Cursor <cursoragent@cursor.com>
Member
|
(Claude here [Opus 5.5]) TriageStatus: still relevant. Master ( Assessment: the fix targets the right spot. Checks (PR head
|
roger-datocms
pushed a commit
that referenced
this pull request
Oct 20, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
roger-datocms
added a commit
that referenced
this pull request
Nov 5, 2026
From #165 (Rodrigo's "usable starting width" PR), without its starting-width logic, which the draggable, remembered width replaces: - The empty record pane adds "Ask the agent to open a record and it appears in this pane. Drag the divider to resize it." - The transcript and composer stop growing at 760px and stay centred, so a wide chat doesn't make very long lines. Co-authored-by: Rodrigo Barona <rodrigo.barona@wundermanthompson.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
I had to make a few conflicting edits, but I rolled these into #174. Currently making a few more fixes and then will try to deploy a new version soon. Thanks again for this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #162
The Agent tab reserved all but 420px for the record pane.
window.outerWidthis wider than the space DatoCMS actually has, so the chat opened as a narrow column beside an empty pane.The inspector always shows that pane and only reads
preferredWidthonce, so this starts from a balanced split instead: the record pane takes about 45% of the window, and both panes keep at least 560px. The conversation is centered at 760px, and the empty pane explains that records open there and that the divider can be dragged.Test plan
npm testindato-agentMade with Cursor