Skip to content

refactor(winui): replace DevWinUI with native controls - #278

Open
mchave3 wants to merge 10 commits into
mainfrom
docs/devwinui-native-migration
Open

refactor(winui): replace DevWinUI with native controls#278
mchave3 wants to merge 10 commits into
mainfrom
docs/devwinui-native-migration

Conversation

@mchave3

@mchave3 mchave3 commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Replace the DevWinUI dependency with native WinUI 3 controls and app-owned services.

Reason

DevWinUI increased the packaged application size and owned shell behavior that can be implemented directly with WinUI 3.

Main changes

  • replace DevWinUI navigation and breadcrumbs with a native NavigationView, Frame, and BreadcrumbBar service
  • rebuild the Home page with native WinUI 3 controls
  • replace DevWinUI theme, application metadata, package identity, and startup helpers
  • remove the Explorer context-menu integration and obsolete DevWinUI resources, generated mappings, packages, and manifest entries
  • retain localized navigation content and runtime language refresh

Testing

  • x64 solution build: passed
  • ARM64 solution build: passed
  • x64 tests: 1,141 passed
  • ARM64 tests: not executed locally because the x64 host cannot run the ARM64 test host
  • x64 and ARM64 Velopack/MSI packaging: passed
  • packaged x64 UI smoke test: Home, navigation routes, Settings, and native settings pages rendered successfully
  • format check: 44/44 XAML files passed; no source files required formatting
  • final read-only review: no findings

Package size

Artifact x64 ARM64
Publish directory 268,062,708 -> 205,069,970 bytes (-23.5%) 287,030,741 -> 215,929,973 bytes (-24.8%)
Full package 104,811,142 -> 79,616,190 bytes (-24.0%) 101,487,206 -> 77,328,650 bytes (-23.8%)
MSI 90,651,997 -> 69,370,505 bytes (-23.5%) 86,047,675 -> 66,232,551 bytes (-23.0%)

@github-actions github-actions Bot added documentation Documentation updates dependencies Dependency version or package management change ui User interface or XAML changes project: foundry Changes in the Foundry desktop application labels Aug 12, 2026
@mchave3 mchave3 self-assigned this Aug 12, 2026
@mchave3
mchave3 force-pushed the docs/devwinui-native-migration branch from 61dee9d to 6a80a99 Compare August 12, 2026 19:02
@mchave3 mchave3 moved this from New to In Progress in Foundry OSD Development Aug 12, 2026
@mchave3
mchave3 marked this pull request as ready for review August 12, 2026 21:21
Copilot AI lite review requested due to automatic review settings August 12, 2026 21:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency version or package management change documentation Documentation updates project: foundry Changes in the Foundry desktop application ui User interface or XAML changes

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants