[01113] Simplify DevTools dialog to ghosted TextInput and three icon buttons#3445
Merged
[01113] Simplify DevTools dialog to ghosted TextInput and three icon buttons#3445
Conversation
…buttons Replace the multi-mode dialog (modify/text-edit/delete toggles, textarea, two action buttons) with a minimal single-row layout: a ghost text input and three icon-only buttons (Send, Queue, Select Parent). - Remove DialogAction type and dialogAction state (always 'modify' mode) - Remove text-edit and delete modes, handleActionChange, handleTextChange - Replace textarea with plain input[type=text] using ghost styling - Replace action buttons with LuSend, LuPlus, LuChevronUp icon buttons - Add Select Parent button that walks up the widget stack - Update keyboard shortcuts: Enter=send, Shift+Enter=queue - Simplify CSS: remove toggle, textarea, mic, and action button styles Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Staging removedStaging environment has been deleted for this PR. |
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
Changes
Simplified the DevTools dialog from a multi-mode vertical layout (toggle buttons, textarea, action buttons) to a minimal single-row horizontal layout with a ghost text input and three icon-only buttons (Send, Queue, Select Parent). Removed the
DialogActiontype anddialogActionstate, eliminating the text-edit and delete modes — the dialog now always operates in modify mode.API Changes
DialogActiontype ("modify" | "delete" | "text-edit")dialogActionfrom devtools statehandleActionChangeand simplifiedhandleTextChange(now inline)handleSelectParentcallback — walks up widget stack to select parent widgetEntersends directly,Shift+Enterqueues to prompt (wasCtrl+Enter)DEVTOOLS_APPLY_CHANGESpayloadactionfield is now always"modify"Files Modified
src/frontend/src/components/DevTools.tsx— Rewrote dialog UI from vertical multi-mode layout to horizontal single-row with ghost input and three icon buttons; removed unused imports (FaMagic,LuTrash2,LuTextCursor,setWidgetContentOverride,clearWidgetContentOverride); addedLuChevronUpimport and Select Parent logicsrc/frontend/src/components/devtools.css— Replaced toggle, textarea, mic, and action button styles with ghost input and icon button styles; changed dialog from fixed-width vertical stack to flex row layoutCommits