Skip to content

fix(ui): improve connection dialog theming and accessibility - #320

Merged
CalvinAllen merged 1 commit into
mainfrom
fix/ui/connection-dialog-theming
Dec 21, 2025
Merged

CalvinAllen merged 1 commit into
mainfrom
fix/ui/connection-dialog-theming

Conversation

@CalvinAllen

Copy link
Copy Markdown
Contributor

Summary

  • Implement custom borderless window with VS-themed title bar for connection dialog
  • Add comprehensive theming support for all controls (buttons, checkboxes, radio buttons, text inputs)
  • Improve accessibility by replacing color-only error indicators with icons and asterisks

Changes

  • Custom title bar with drag support and themed close button
  • Button templates with proper hover/pressed/disabled states
  • Checkbox and RadioButton templates with themed checkmarks
  • TextBox/PasswordBox with caret, selection, and focus styling
  • GroupBox with themed header bar
  • Required field asterisks on labels
  • Warning icons (⚠) on validation errors instead of red text
  • Test connection status moved inline with button

Test plan

  • Test dialog appearance in Dark theme
  • Test dialog appearance in Light theme
  • Verify all buttons have visible hover/pressed states
  • Verify disabled Save button is visually distinct
  • Verify validation errors show warning icons
  • Verify title bar can be used to drag dialog
  • Verify close button works

- Add custom borderless window with themed title bar
- Implement custom control templates for buttons, checkboxes, radio buttons
- Add proper hover/pressed states for buttons using VS theme brushes
- Improve input field styling with ComboBox brushes for consistency
- Add asterisks to required field labels for accessibility
- Replace red error text with warning icons and theme-aware text
- Use orange warning icons visible in both light and dark themes
- Move test connection status inline with button to save space
- Support both light and dark VS themes
@CalvinAllen
CalvinAllen merged commit f2f6a9c into main Dec 21, 2025
@CalvinAllen
CalvinAllen deleted the fix/ui/connection-dialog-theming branch December 21, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant