* added page style for theme switching
* new test branch
* added test files
* templatized namespaces
* namespace + test project csproj file
* mock services
* usings.cs fix, tests running
* test file fixes + post action
* csproj fix to make post action unnecessary
* nits
* New file structure, composition template working but file not being added in correct place
* simplified for dev, template working (not including multiple instances)
* templatized view model tests + mocks
* file removed
* removed shell view model
* removed shell view model tests
* Resolved merge conflict in the csproj.
* testing added to context menu
* Renamed SplitView to NavView.
* renamed AddContentGrid to AddCGrid
* csproj change
* Removed unnecessary files and fixed bug in PrimaryOutputs.
* renamed test post action folders
* Updated MockWebViewService.
* Updated MockLocalSettingsService.
* Fixed line spacing issue.
* Added missing using statement.
* removed mocks + changed template for main view model tests
* removed test file post actions, created new folder for packaged testing post action, added readme into test project
* csproj fix
* post action for packaged project with tests (not working yet)
* removed post action + added to readme
* -
* changed wording
* -
* fixed readme encoding + csproj issue
* Removed redundant entries in the csproj and fixed typo.
* Updated README.md and added TODO: comment and Assert in TestMethod1.
* Updated test code.
* fixed test project package reference versions
* x64 fix
* x86, x64, & arm64
* Added support for PRI files.
* Removed unnecessary test certificate.
* Moved DataGrid sample to README.md.
* Fixed namespace bug.
* merged packaged & unpackaged versions of localsettingservice
localsettingservice now conditionalized
* template fix
* Revert "template fix"
This reverts commit 1f3d2fee2c.
* settings storage template fix
* template fix 2
* Added MSIX conditionals in LocalSettingsService and GetVersionDescription.
Fixed#4555.
* Call Bootstrap.TryInitialize in AssemblyInitialize. Add other Initialize and Cleanup stubs.
This is required when testing MSIX apps that are framework-dependent on the Windows App SDK.
* Fixed test failures.
* Updated README.md.
* Updated sample test code.
* Added localization.
* Renamed README.txt.
* Updated Core README.md.
* Fixed encoding issues.
* Set utf-8-bom in .editorconfig for JSON and MD files to avoid encoding issues.
Co-authored-by: Sophia Morin <t-smorin@microsoft.com>
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
* added page style for theme switching
* new files + item showing in wizard
* activation + service + helper class files are generated
* post action (not working)
* post action working, but "interface not registered"
* useContentRoot + additional file fixes
* update sln
* registered OnNotificationInvoked
* Added descripttion for app notifs, removed unnecessary file
* working appxmanifest postaction
* opted MSIX into edit menu, added app manifest changes into main file
* code cleanup
* fixed notification image in payload
* Code cleanup and use Settings page for example rather than ContentGrid.
* Updated ActivationHandler to navigate to the SettingsPage.
Fixed test failures.
* Fixed line spacing issue.
* Fixed test failure and updated sourceName for consistency.
* Removed empty ItemGroup.
* Removed unnecessary sln file.
* Added description.md and localization.
* Removed unnecessary namespace qualifier.
* Removed excess whitespace.
* Show a MessageBox by default in OnNotificationInvoked.
* Bring window to front in OnNotificationInvoked.
Usually this just results in the taskbar icon flashing which is by design behavior for SetForegroundWindow APIs. Open question about if the shell can bring the app to the foreground automatically.
* Removed unnecessary nullable annotations.
* Refactored Host and MainWindow to avoid issues with static and module initialization. Defined MainWindow in XAML.
WinUIEx module initializer was causing App Notification APIs to crash accessing the ActivatedEventArgs before AppNotificationManager.Register() was called.
* Refactored ParseArguments.
* Renamed Notification to AppNotification.
* Fixed test failure.
* Updated to WinUIEx 1.8.0 for Mica fallback.
Fixes#4563.
* Render NavigationView during Initialize so properties like SettingsItem can be resolved during activation.
Without this, when navigating to the Settings page during notification activations, the SettingsItem property is null when the ShellViewModel tries to resolve it which results in a blank page header in the NavigationView.
Co-authored-by: Sophia Morin <t-smorin@microsoft.com>
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
* Use WindowEx for App.MainWindow.
* Moved MainWindow property setters to the constructor.
* Removed background brushes for Mica.
* Fixed MainWindow static initialization issues.
Updated to WinUIEx 1.7.0 and minor formatting fixes in comments.
* Added global using statement so extension methods are available on MainWindow.