Skip to content

WinUI control-panel cleanup: grouped cards, default title bar, persisted size#21

Merged
opariffazman merged 9 commits into
mainfrom
feature/winui-panel-cleanup
Jun 26, 2026
Merged

WinUI control-panel cleanup: grouped cards, default title bar, persisted size#21
opariffazman merged 9 commits into
mainfrom
feature/winui-panel-cleanup

Conversation

@opariffazman

Copy link
Copy Markdown
Contributor

What

Streamlines the WinUI control panel for clarity/accessibility.

  • Grouped layout — flat single StackPanel → two bordered cards under section headers: Camera (camera, Start/Stop + status, Mirror, Lock-exposure, Exposure) and AI Effects (green screen + Expand/Feather, Eye Contact, AI Sharpness + Quality). AutomationProperties names on Start/Stop + a polite live-region status line.
  • Gesture-help InfoBar — surfaces the two non-obvious overlay gestures (scroll-to-resize, drag-the-+-handle).
  • Removed controls — Lock-overlay, Click-through, Zoom. Overlay is now always-interactive + unzoomed. (OverlaySettings fields, HotkeyAction enum members, and OverlayWindow setters intentionally retained — ponytail:-commented — to avoid config-schema churn.)
  • Default Windows title bar, titled "Camera On Screen" (no custom chrome).
  • Persisted panel sizeAppConfig.PanelWidth/Height (physical px), saved on resize (debounced via AppWindow.Changed) + on close, restored next launch. First launch sizes to content.
  • Dropped dead ToggleLock/ToggleClickThrough default hotkeys; corrected the VK-code comment.

Design / plan

  • Spec: docs/superpowers/specs/2026-06-26-winui-control-panel-cleanup-design.md
  • Plan: docs/superpowers/plans/2026-06-26-winui-control-panel-cleanup.md

Verification

  • Core unit tests: 59 passing (added a panel-size config round-trip test).
  • App build: clean locally against a stub shim — 0 warnings. CI (self-hosted RTX) is the authoritative compile + export-verify gate.
  • Human visual gate: confirm grouped cards, default title bar reading "Camera On Screen", the InfoBar hint, absence of Lock/Click-through/Zoom, and that panel size restores across launches. (Effect toggles grey out under the stub shim with no Maxine runtime — expected, unrelated to this change.)

🤖 Generated with Claude Code

opariffazman and others added 9 commits June 26, 2026 01:15
… hotkeys

These actions are no longer supported (UI controls removed in previous task).
HotkeyAction enum members are retained for test compatibility.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace flat single-StackPanel with RootGrid (3-row) + AppTitleBar title bar
row + ScrollViewer body containing InfoBar and two Border cards (CAMERA, AI
EFFECTS) + pinned attribution footer. Remove Lock overlay, Click-through, and
Zoom slider per task spec. Title bar is text-only (no icon: no Assets/ folder
exists and .ico is not a reliable WinUI image source for unpackaged apps).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Revert the custom title bar to default Windows chrome. Persist the control-
panel window size (physical px) to config and restore it on next launch;
first launch still sizes to content. Also lands the stale VK-code comment
fix that an earlier dangling commit never merged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@opariffazman
opariffazman merged commit 86a8f60 into main Jun 26, 2026
1 check passed
@opariffazman
opariffazman deleted the feature/winui-panel-cleanup branch June 26, 2026 01:35
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