diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6d6580874..440f1fbec 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -29,7 +29,7 @@ - [ ] Has samples (if omitted, state reason in description) - [ ] Rebased on top of `main` at time of PR - [ ] Changes adhere to [coding standard](https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#contributing-code---best-practices) - - [ ] Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pull/XYZ + - [ ] Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls ### Additional information ### diff --git a/samples/CommunityToolkit.Maui.Sample/App.xaml b/samples/CommunityToolkit.Maui.Sample/App.xaml index d7230b24e..a51300737 100644 --- a/samples/CommunityToolkit.Maui.Sample/App.xaml +++ b/samples/CommunityToolkit.Maui.Sample/App.xaml @@ -1,5 +1,6 @@  @@ -7,6 +8,46 @@ + + + + + + + + + + + + diff --git a/samples/CommunityToolkit.Maui.Sample/AppShell.xaml.cs b/samples/CommunityToolkit.Maui.Sample/AppShell.xaml.cs index 22db9606f..3409c2bd4 100644 --- a/samples/CommunityToolkit.Maui.Sample/AppShell.xaml.cs +++ b/samples/CommunityToolkit.Maui.Sample/AppShell.xaml.cs @@ -129,6 +129,7 @@ public partial class AppShell : Shell CreateViewModelMapping(), CreateViewModelMapping(), CreateViewModelMapping(), + CreateViewModelMapping(), }); public AppShell() => InitializeComponent(); diff --git a/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj b/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj index 9c2b7812a..d95a157be 100644 --- a/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj +++ b/samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj @@ -1,4 +1,4 @@ - + $(NetVersion)-ios;$(NetVersion)-android;$(NetVersion)-maccatalyst diff --git a/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs b/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs index 6a01ed0fe..3cfe62c43 100644 --- a/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs +++ b/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs @@ -192,6 +192,7 @@ static void RegisterViewsAndViewModels(in IServiceCollection services) services.AddTransientWithShellRoute(); services.AddTransientWithShellRoute(); services.AddTransientWithShellRoute(); + services.AddTransientWithShellRoute(); // Add Popups services.AddTransient(); diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/StylePopupPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/StylePopupPage.xaml new file mode 100644 index 000000000..f1fa1719d --- /dev/null +++ b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/StylePopupPage.xaml @@ -0,0 +1,56 @@ + + + + + +