Граф коммитов

11701 Коммитов

Автор SHA1 Сообщение Дата
Mike Battista 32672edb16 Switched to call operator. 2022-07-25 16:57:25 -07:00
Mike Battista cf120995de Updated test data. 2022-07-25 16:21:22 -07:00
Mike Battista 573322d507 Added links in README.md to CI pipeline documentation. 2022-07-25 16:08:07 -07:00
Mike Battista 6a8de49a9b Added documentation on CI pipelines. 2022-07-25 16:05:45 -07:00
Mike Battista b7ee3a5cb4 Set RootNamespace in the MSTest project. 2022-07-24 17:39:00 -07:00
Mike Battista 03960d5df0 Reordered MSTest project file. 2022-07-22 02:17:47 -07:00
Mike Battista 062b4ee5ff Added support for UITestMethods.
Fixed #4577.
2022-07-22 01:34:27 -07:00
Mike Battista f656e47605 Minor update to README.md. 2022-07-22 00:54:19 -07:00
Mike Battista 4cd2860b05 Updated VSIX Synchronizer files with new versions.
Extension doesn't appear to be keeping the files in sync with the vsixmanifests.
2022-07-21 11:54:48 -07:00
Mike Battista d7e6b8b5ca Reordered ProjectTypes.json to match localized files. 2022-07-20 13:28:51 -07:00
Mike Battista 60a83249c6 Added MSTest license and updated package reference. 2022-07-20 11:47:25 -07:00
Mike Battista c351a08522 Updated to WinAppSDK 1.1.3.
Fixed #4565.
2022-07-20 10:49:38 -07:00
Mike Battista dd4c02395d Minor formatting changes. 2022-07-20 01:44:02 -07:00
Mike Battista 05de42f531 Updated version numbers and assets in vsixmanifests. 2022-07-19 12:23:51 -07:00
Mike Battista 46172408aa Updated design assets. 2022-07-19 11:59:16 -07:00
Mike Battista 858173031f Include FooterItems when determining SelectedItem.
Fixed #4578.
2022-07-19 10:53:34 -07:00
Mike Battista fb1987fb56 Renamed methods. 2022-07-18 22:12:07 -07:00
Sophia Morin c5053bfdd0
Add MSTest support (#4549)
* 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>
2022-07-18 22:03:30 -07:00
Mike Battista fb3557a2f2 Improved error message when adding new pages to account for single-instance pages like Settings. 2022-07-15 13:48:07 -07:00
Mike Battista 9558017faf Updated error messages when adding items that are already part of the project. 2022-07-15 13:06:22 -07:00
Mike Battista 2a9fff5522 Updated WindowIcon.ico to avoid rendering issue in notifications. 2022-07-14 16:44:37 -07:00
Mike Battista 3f7943a076 Added back AppWindow.SetIcon which is needed for the system title bar. 2022-07-14 16:10:03 -07:00
Mike Battista b76f47517f Set WindowIcon in csproj to apply it to all surfaces. Updated icon to include all scales.
Fixed #4575.
2022-07-14 15:40:59 -07:00
Mike Battista 0b559b873b Fixed test failures. 2022-07-13 23:28:31 -07:00
Mike Battista 06665f132f Show a MessageBox for notification activations similar to OnNotificationInvoked. 2022-07-13 21:37:06 -07:00
Mike Battista 345da18da1 Use WindowIcon.ico for the title bar, taskbar, and notifications.
Fixed #4569.
2022-07-13 19:47:56 -07:00
Mike Battista 1d76dedf13 Fixed test failure. 2022-07-13 15:16:49 -07:00
Mike Battista 1c72c22f42 Updated Core project to .NET 6.
Fixed #4568.
2022-07-13 09:38:35 -07:00
Mike Battista c286f6c000 Minor formatting fixes. 2022-07-13 00:36:54 -07:00
Mike Battista 88ed87bd79 Updated README.md. 2022-07-13 00:27:52 -07:00
Sophia Morin 9c7f41d44d
Open README.md on project creation (#4573)
* added page style for theme switching

* open readme upon project generation

* Updated README.md in all extensions. Fixed UWP VB vstemplate bug.

* Fixed encoding issues.

Co-authored-by: Sophia Morin <t-smorin@microsoft.com>
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2022-07-12 22:27:55 -07:00
Mike Battista f46421ac2e Navigate with low priority in AppNotificationActivationHandler to allow the UI to initialize.
Fixed #4572.
2022-07-12 13:10:10 -07:00
Sophia Morin aaf3fea7aa
Implement App Notifications (#4557)
* 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>
2022-07-12 10:48:29 -07:00
Sophia Morin b1b40b2833
Smorin4/improve post edit (#4564)
* added page style for theme switching

* Renamed WTSTempGeneration folder to TemplateStudio

* disabled generationsummary.md functionality

* fixed resource typo, updated logic for generating .md files in case of failed/conflicting merges

Co-authored-by: Sophia Morin <t-smorin@microsoft.com>
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2022-07-07 08:04:35 -07:00
Mike Battista f20cd1eaed
Integrated WinUIEx (#4561)
* 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.
2022-07-06 12:57:20 -07:00
Mike Battista 6f9cd56da9 Updated to WinAppSDK 1.1.2.
Fixed #4556.
Fixed #4526.
2022-07-04 09:58:37 -07:00
Mike Battista b24c2b6473 Removed needs-triage label from templates.
FabricBot handles that.
2022-07-02 11:44:09 -07:00
Mike Battista 1cd1286f82 Simplified Nullable for App.GetService. 2022-07-01 12:03:33 -07:00
Mike Battista aca8301f39 Added parser ID to vstemplate path. 2022-06-30 14:19:32 -07:00
Mike Battista 1596846538 Added vstemplate to localization pipeline. 2022-06-29 18:11:31 -07:00
Mike Battista 728cc66c92 Updated project metadata. 2022-06-29 17:57:32 -07:00
Mike Battista 125ba543cc Renamed WinUICs template project and files. 2022-06-29 17:51:18 -07:00
Mike Battista 48d70b8935 Updated WinUI slnf. 2022-06-29 17:31:20 -07:00
Mike Battista 3adaafe317 Refactored WinUI vstemplate files. 2022-06-29 17:05:49 -07:00
Mike Battista 52a5cc4499 Updated WPF and UWP Edit Project menus. 2022-06-27 01:29:43 -07:00
Mike Battista e8ef6ce3a9 Minor formatting fixes. 2022-06-24 14:55:09 -07:00
Mike Battista 4526db7029 Moved the Edit Project menu under Add and adjusted naming for consistency. 2022-06-24 11:25:45 -07:00
Mike Battista 09f3992398 Added a section on Localization. 2022-06-24 11:22:34 -07:00
Mike Battista baa3bf9355 Minor formatting fixes. 2022-06-23 20:48:39 -07:00
Mike Battista 54f32eb323 Added notes about ts.rightClickEnabled. 2022-06-23 20:35:09 -07:00