Phase 4: GUI connect modal dialog with transport selection - #289
Open
mark-e-deyoung wants to merge 4 commits into
Open
Phase 4: GUI connect modal dialog with transport selection#289mark-e-deyoung wants to merge 4 commits into
mark-e-deyoung wants to merge 4 commits into
Conversation
…version, tests - Add ID_CLEAR_SEARCH_BTN with ✕ owner-draw button next to search edit - Add WM_KEYDOWN handler for Enter key in search edit (immediate refresh) - Add clearSearch() method: empties edit, restores full tree, hides clear button - Add EM_SETCUEBANNER placeholder text: Search windows... - Fix wide string conversion: use WideCharToMultiByte instead of iterator cast - Fix search error handling: check ok field, graceful disconnect message - Add 2 new doctest test cases: search returns matches, failed search handling - Reposition daemon indicator to avoid overlap with clear button - Build: zero warnings, all tests passing Co-Authored-By: Claude <noreply@anthropic.com>
…lumnar ListView - Replace hTree_ (TreeView) with hWindowTable_ (ListView in report mode) - Add sub-tab bar: All Windows / Visible Only / By Process / UIA Tree - Add Inspect and Focus action buttons alongside existing Highlight - Add onInspectWindow() — calls window.getInfo, populates property panel - Add onFocusWindow() — calls window.ensureForeground RPC - Add getSelectedHwnd() helper for ListView-based selection - Update onNotify: replace TVN_SELCHANGEDW with LVN_ITEMCHANGED - Update onSize: position sub-tab bar, action buttons, window table - Update refreshImpl: populate ListView instead of TreeView - Update onDrawItem: add sub-tab button highlighting (active accent) - Remove addNode(), onTreeCustomDraw(), hwnd_storage_, hTree_ - Add 2 new doctest tests: listTop returns flat array, getInfo property map - Build: zero warnings, all 6 GUI viewmodel tests passing Co-Authored-By: Claude <noreply@anthropic.com>
- Add emoji icons to sidebar tabs: 📊 🪟 📷 🖱️ ⏺️ 🔔 📈 ⚙️ - Add sidebar section dividers: NAVIGATION and MONITORING headers - Add connection info panel at sidebar bottom (daemon IP, controller) - Update sidebar width: 200px -> 220px per mockup spec - Update onDrawItem: render icon + label in sidebar buttons - Update onSize: position section headers, nav/monitor groups, connection info - Update pollDaemonStatus: fill sidebar connection info with live status - Build: zero warnings, all tests passing Co-Authored-By: Claude <noreply@anthropic.com>
- Replace onConnect() stub with proper modal dialog (modeless popup) - Add transport selector: Named Pipe / TCP / WebSocket - Add Host, Port, Auth Key input fields - Add Cancel/Connect buttons with proper event handling - Store last-used transport selection in dlgTransport_ - Dialog centered on parent window, WS_CAPTION + WS_SYSMENU - Build: zero warnings, all 6 tests passing Co-Authored-By: Claude <noreply@anthropic.com>
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.
Phase 4: Connect Modal Dialog
Implements the connect modal dialog matching the mockup spec: transport selector, host/port/auth key fields, connect/cancel buttons.
Changes
onDlgConnect()— reads transport type, host, port, builds status message, closes dialogdlgTransport_persists between dialog opensID_DLG_HOST,ID_DLG_PORT,ID_DLG_AUTH,ID_DLG_CONNECTnow wiredBuild Verification
feat/gui-connect-captureFiles Changed
clients/gui/src/gui_main.cpp— connect dialog creation, button handlers, dialog fields