From 79bd825f9156c9b9a7c8e468198ecff9c76c2da7 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 24 Mar 2025 11:13:19 +0100 Subject: [PATCH] [cmdpal] UX tweaks (#38087) - Removing the redundant icon + text in the bottom left corner - Minor styling tweaks - Adding subtle show/hide animations - Improved narrator support for Settings button - Minor design tweaks to the tags for better visibility (still needs more work in the future) ![SubtleAnimations](https://github.com/user-attachments/assets/d2f6bec3-f8d6-48a4-a533-c0f2e0c81f8c) --- .../Controls/CommandBar.xaml | 55 +++++++++++++------ .../Microsoft.CmdPal.UI/Controls/Tag.xaml | 14 ++--- .../ExtViews/ListPage.xaml | 5 +- .../Microsoft.CmdPal.UI/Pages/ShellPage.xaml | 32 +++++++++-- .../Strings/en-us/Resources.resw | 6 ++ 5 files changed, 82 insertions(+), 30 deletions(-) diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml index 4bc9692b31..ac7c20aa92 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/CommandBar.xaml @@ -3,6 +3,7 @@ x:Class="Microsoft.CmdPal.UI.Controls.CommandBar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:animations="using:CommunityToolkit.WinUI.Animations" xmlns:cmdpalUI="using:Microsoft.CmdPal.UI" xmlns:converters="using:CommunityToolkit.WinUI.Converters" xmlns:cpcontrols="using:Microsoft.CmdPal.UI.Controls" @@ -62,6 +63,27 @@ Text="{x:Bind RequestedShortcut, Mode=OneWay, Converter={StaticResource KeyChordToStringConverter}}" /> + + + + + + + + + @@ -80,15 +102,6 @@ Margin="8,0,0,0" Tapped="PageIcon_Tapped" Visibility="{x:Bind CurrentPageViewModel.IsNested, Mode=OneWay}"> - - @@ -121,14 +134,15 @@ - -