Add mouse support to setup wizard and sidebar delete buttons#8
Open
merdiofriviaisherebitch wants to merge 2 commits intoInfatoshi:mainfrom
Open
Conversation
Auto-scroll and scroll-to-bottom used a hardcoded 40-line viewport assumption. On small windows, multi-row grids, or large displays this caused the scroll position to land too far up or too far down. Add estimate_visible_lines() which computes the approximate line count from window height, grid rows, font metrics, and UI scale. The estimate is refreshed each render frame and used by: - auto-scroll on new output - scroll_to_bottom - toggle_auto_scroll snap-to-bottom
Setup wizard: - All list rows (Machine, Directory, Runtime, Model, MCPs) are now clickable to select - Double-click any row to select and advance to the next step - Step tabs (Machine, Directory, Runtime, etc.) are clickable to jump directly to any step - MCP rows toggle on single click - Fix: clicks no longer close the wizard — the empty transcript area's click handler now skips mode changes when Setup or Palette is active Sidebar: - Add × delete button on each agent row (triggers existing confirmation modal) - Add × delete button on each group row (moves agents to the first remaining group, prevents deleting the last group)
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
on_clickhandler that forcedMode::Normal, closing the wizard when clicked through. Now guarded to skip when Setup or Palette mode is activeBefore / After
Test plan