diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Commands/NewExtensionForm.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Commands/NewExtensionForm.cs index 14cd4a0e16..c1f3f64612 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Commands/NewExtensionForm.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Commands/NewExtensionForm.cs @@ -32,22 +32,6 @@ internal sealed partial class NewExtensionForm : NewExtensionFormBase "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_page_title)}}, "size": "large" }, - { - "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_page_text)}}, - "wrap": true - }, - { - "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_name_header)}}, - "weight": "bolder", - "size": "default" - }, - { - "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_name_description)}}, - "wrap": true - }, { "type": "Input.Text", "label": {{FormatJsonString(Properties.Resources.builtin_create_extension_name_label)}}, @@ -59,14 +43,11 @@ internal sealed partial class NewExtensionForm : NewExtensionFormBase }, { "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_display_name_header)}}, - "weight": "bolder", - "size": "default" - }, - { - "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_display_name_description)}}, - "wrap": true + "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_name_description)}}, + "wrap": true, + "size": "small", + "isSubtle": true, + "spacing": "none" }, { "type": "Input.Text", @@ -74,18 +55,16 @@ internal sealed partial class NewExtensionForm : NewExtensionFormBase "isRequired": true, "errorMessage": {{FormatJsonString(Properties.Resources.builtin_create_extension_display_name_required)}}, "id": "DisplayName", - "placeholder": "My new extension" + "placeholder": "My new extension", + "spacing": "medium" }, { "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_directory_header)}}, - "weight": "bolder", - "size": "default" - }, - { - "type": "TextBlock", - "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_directory_description)}}, - "wrap": true + "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_display_name_description)}}, + "wrap": true, + "size": "small", + "isSubtle": true, + "spacing": "none" }, { "type": "Input.Text", @@ -93,7 +72,16 @@ internal sealed partial class NewExtensionForm : NewExtensionFormBase "isRequired": true, "errorMessage": {{FormatJsonString(Properties.Resources.builtin_create_extension_directory_required)}}, "id": "OutputPath", - "placeholder": "C:\\users\\me\\dev" + "placeholder": "C:\\users\\me\\dev", + "spacing": "medium" + }, + { + "type": "TextBlock", + "text": {{FormatJsonString(Properties.Resources.builtin_create_extension_directory_description)}}, + "wrap": true, + "size": "small", + "isSubtle": true, + "spacing": "none" } ], "actions": [ diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.Designer.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.Designer.cs index 5c4d961aa7..4c1339ae7d 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.Designer.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.Designer.cs @@ -70,7 +70,7 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } /// - /// Looks up a localized string similar to Where should the new extension be created? This path will be created if it doesn't exist. + /// Looks up a localized string similar to Select the folder where the new extension will be created. The path will be created if it doesn't exist.. /// public static string builtin_create_extension_directory_description { get { @@ -78,15 +78,6 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } } - /// - /// Looks up a localized string similar to Output path. - /// - public static string builtin_create_extension_directory_header { - get { - return ResourceManager.GetString("builtin_create_extension_directory_header", resourceCulture); - } - } - /// /// Looks up a localized string similar to Output path. /// @@ -106,7 +97,7 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } /// - /// Looks up a localized string similar to The name of your extension as users will see it.. + /// Looks up a localized string similar to The name of the extension as it will appear to users.. /// public static string builtin_create_extension_display_name_description { get { @@ -114,15 +105,6 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } } - /// - /// Looks up a localized string similar to Display name. - /// - public static string builtin_create_extension_display_name_header { - get { - return ResourceManager.GetString("builtin_create_extension_display_name_header", resourceCulture); - } - } - /// /// Looks up a localized string similar to Display name. /// @@ -151,7 +133,7 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } /// - /// Looks up a localized string similar to This is the name of your new extension project. It should be a valid C# class name. Best practice is to also include the word 'Extension' in the name.. + /// Looks up a localized string similar to Enter a valid C# class name for the new extension project. It's recommended to include the word "Extension" in the name.. /// public static string builtin_create_extension_name_description { get { @@ -159,15 +141,6 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } } - /// - /// Looks up a localized string similar to Extension name. - /// - public static string builtin_create_extension_name_header { - get { - return ResourceManager.GetString("builtin_create_extension_name_header", resourceCulture); - } - } - /// /// Looks up a localized string similar to Extension name. /// @@ -205,16 +178,7 @@ namespace Microsoft.CmdPal.UI.ViewModels.Properties { } /// - /// Looks up a localized string similar to Use this page to create a new extension project.. - /// - public static string builtin_create_extension_page_text { - get { - return ResourceManager.GetString("builtin_create_extension_page_text", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Create your new extension. + /// Looks up a localized string similar to Create a new extension. /// public static string builtin_create_extension_page_title { get { diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.resx b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.resx index a1755ab097..ce4061a58a 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.resx +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Properties/Resources.resx @@ -180,16 +180,10 @@ Once you're ready to test deploy the package locally with Visual Studio, then run the \"Reload\" command in the Command Palette to load your new extension. - Create your new extension - - - Use this page to create a new extension project. - - - Extension name + Create a new extension - This is the name of your new extension project. It should be a valid C# class name. Best practice is to also include the word 'Extension' in the name. + Enter a valid C# class name for the new extension project. It's recommended to include the word "Extension" in the name. Extension name @@ -197,11 +191,8 @@ Extension name is required and must be a valid C# identifier (start with a letter or underscore, followed by letters, numbers, or underscores) - - Display name - - The name of your extension as users will see it. + The name of the extension as it will appear to users. Display name @@ -209,11 +200,8 @@ Display name is required - - Output path - - Where should the new extension be created? This path will be created if it doesn't exist + Select the folder where the new extension will be created. The path will be created if it doesn't exist. Output path diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/AdaptiveCardsConfig.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/AdaptiveCardsConfig.cs index 05cc245fef..a882024be7 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/AdaptiveCardsConfig.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/AdaptiveCardsConfig.cs @@ -38,7 +38,7 @@ public sealed class AdaptiveCardsConfig "fontFamily": "'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif", "fontSizes": { "small": 12, - "default": 12, + "default": 14, "medium": 14, "large": 20, "extraLarge": 26 @@ -199,7 +199,7 @@ public sealed class AdaptiveCardsConfig "fontFamily": "'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif", "fontSizes": { "small": 12, - "default": 12, + "default": 14, "medium": 14, "large": 20, "extraLarge": 26 diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml index d4c4f49879..56130a46c2 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml @@ -100,6 +100,16 @@ + @@ -193,17 +203,12 @@ VerticalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind ViewModel.PrimaryCommand.Name, Mode=OneWay}" /> - + @@ -221,32 +226,20 @@ VerticalAlignment="Center" Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind ViewModel.SecondaryCommand.Name, Mode=OneWay}" /> - - + + - + @@ -267,7 +260,6 @@ Opened="Flyout_Opened" Placement="TopEdgeAlignedRight"> - - - diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContentFormControl.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContentFormControl.xaml index 48784a997f..2907dd57a3 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContentFormControl.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/ContentFormControl.xaml @@ -19,6 +19,5 @@ - diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/Tag.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/Tag.xaml index 1a522ebdc6..c006688bc1 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/Tag.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/Tag.xaml @@ -6,14 +6,14 @@ - - + + - - + + diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ContentPage.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ContentPage.xaml index 8cc1174a1b..3c6c37aeba 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ContentPage.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ContentPage.xaml @@ -108,7 +108,7 @@ - + - + - +