Redesign the devtools panel and trace UI - #4
Draft
roprgm wants to merge 9 commits into
Draft
Conversation
The inspector now opens as a full-height side panel that shrinks the host page to make room, instead of a floating box that covers content. - Add page-layout module that sets a width custom property on the page root and restores the original attribute and inline style on unmount. - Simplify Resizable to a single width axis with a keyboard-accessible drag handle, clamped so the page keeps a minimum usable width. - Fall back to a full-screen panel on viewports too narrow to dock. - Move the summary metrics from the footer into the panel header and replace the footer with a floating collapse button that sits exactly where the launcher appears when collapsed. - Respect safe-area insets for the launcher and panel content. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
This PR redesigns the devtools panel and the trace inspection experience, including the host-page integration, responsive behavior, dense trace UI, and human-in-the-loop questions.
Panel and host-page integration
--eve-devtools-panel-widthso fixed host controls can opt into the panel offset.Trace UI redesign
Interactive questions
ask_questionprompts and options into the trace with semantic lists.Tests and documentation
Why
The previous floating window obscured the application and imposed a maximum usable content area. At the same time, dense traces, long reasoning, large tool payloads, and interactive questions did not have a consistent or complete presentation. This redesign keeps the app and inspector usable together while making complex agent runs easier to scan and debug.
Validation
bun run checkbun run test— 9 passingbun run buildcd demo && bun run build