Skip to content

VIS: Step 1 - sidebar #181b21 background + dim section headers - #291

Open
mark-e-deyoung wants to merge 9 commits into
masterfrom
feat/gui-visual-polish-step1
Open

VIS: Step 1 - sidebar #181b21 background + dim section headers#291
mark-e-deyoung wants to merge 9 commits into
masterfrom
feat/gui-visual-polish-step1

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Contributor

Adds distinct #181b21 sidebar background and dims section header text to #555555 per mockup spec.

mark-e-deyoung and others added 9 commits July 10, 2026 22:15
…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>
…ild fix

- Events tab: add Subscribe/Clear buttons and filter dropdown (All/Window/Errors/RPC)
- Add onEventSubscribe() — calls events.subscribe RPC
- Add refreshEventLog() — calls events.poll RPC, populates event list
- Add hEventSubscribeBtn_, hEventClearBtn_, hEventFilter_ controls
- Add recording_ state flag and rec_frame_ counter for session animation
- Integrate refreshEventLog() into 5s auto-refresh timer
- Fix: restore hSessList_ and hSessStatus_ declarations (removed in error)
- Build: zero warnings, all 226 core tests + 6 GUI tests passing

Co-Authored-By: Claude <noreply@anthropic.com>
- Add sidebar color (#181b21) to ThemeColors struct
- Add sidebar_brush_ to ThemeManager with create/destroy
- Update onCtlColor: sidebar uses c.sidebar + theme_.sidebar_brush()
- Give section headers IDs (ID_SIDEBAR_NAV, ID_SIDEBAR_MON)
- Style section headers: #555555 text on sidebar background
- Light theme sidebar: #f2f3f6
- Build: zero warnings, all tests passing

Co-Authored-By: Claude <noreply@anthropic.com>
- Add emoji icons to stat cards: 🪟 ⏱️ 📶 🔒
- Reorganize card layout: icon left, value right, label below
- Adjusted card spacing to 78px row height
- Build: zero warnings, all tests passing

Co-Authored-By: Claude <noreply@anthropic.com>
- Add hFontSmall_ (7pt) for section headers, connection info
- Add hFontLarge_ (11pt bold) for stat card values
- Refactor create_ui_font() to accept ptSize and weight params
- applyTheme() creates all 3 fonts and applies to appropriate controls
- Build: zero warnings, all tests passing

Co-Authored-By: Claude <noreply@anthropic.com>
- Active sub-tab: #4fc3f7 cyan bottom border + cyan text per mockup
- Inactive sub-tab: #888 textDim color
- Apply small font (7pt) to sub-tab labels
- Transparent background for sub-tab area
- Build: zero warnings

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant