Skip to content

[01113] Simplify DevTools dialog to ghosted TextInput and three icon buttons#3445

Merged
dcrjodle merged 1 commit intomainfrom
plan-01113-Ivy-Framework
Apr 7, 2026
Merged

[01113] Simplify DevTools dialog to ghosted TextInput and three icon buttons#3445
dcrjodle merged 1 commit intomainfrom
plan-01113-Ivy-Framework

Conversation

@dcrjodle
Copy link
Copy Markdown
Collaborator

@dcrjodle dcrjodle commented Apr 7, 2026

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 DialogAction type and dialogAction state, eliminating the text-edit and delete modes — the dialog now always operates in modify mode.

API Changes

  • Removed DialogAction type ("modify" | "delete" | "text-edit")
  • Removed dialogAction from devtools state
  • Removed handleActionChange and simplified handleTextChange (now inline)
  • Added handleSelectParent callback — walks up widget stack to select parent widget
  • Changed keyboard shortcuts: Enter sends directly, Shift+Enter queues to prompt (was Ctrl+Enter)
  • The DEVTOOLS_APPLY_CHANGES payload action field 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); added LuChevronUp import and Select Parent logic
  • src/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 layout

Commits

…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>
@dcrjodle dcrjodle merged commit 60caa96 into main Apr 7, 2026
13 checks passed
@artem-ivy-ai
Copy link
Copy Markdown
Collaborator

Staging removed

Staging environment has been deleted for this PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants