[Keyboard Manager] Updated WinUI3 KBM and toggles (#45649)

## Running the Project
**Option 1: Test via runner**
1. Check out branch `niels9001/kbm-ux-consolidation`
2. Build PowerToys project
3. Manually build `Modules/KeyboardManagerEditorUI` project separately
4. Run `runner` project
5. Ensure experimental features are enabled in general settings (should
be on by default)
6. Launch keyboard manager via settings app

**Option 2: Test via installer**
1. Install PowerToys via installer on azure pipeline
1. Launch keyboard manager

## Validation
For each page (Text, Remappings, Programs, URLs):
* Create shortcuts with variable options and ensure they run as expected
* Delete shortcuts and ensure they no longer execute
* Try to create invalid shortcuts to check for proper validation
* Ensure created shortcuts appear in Power Toys Settings Keyboard
manager page
* Try toggling shortcuts
* Try deleting shortcuts while toggled off

### UI
* Any feedback on UI design appreciated as well
<img width="1071" height="671" alt="image"
src="https://github.com/user-attachments/assets/d2e81de0-6d92-4189-9a33-32e94cce74f7"
/>
<img width="2142" height="1341" alt="image"
src="https://github.com/user-attachments/assets/0e4e5685-fdf1-4dfd-ba52-a2e5bc9a66db"
/>



Closes: #15870
Closes: #31902
Closes: #45302
Closes: #36227
Closes: #16093
Closes: #13409
Closes: #9919
Closes:  #9482
Closes: #8798
Closes:  #7054
Closes: #2733
Closes: #2027
Closes: #30167

---------

Co-authored-by: Hao Liu <liuhao3418@gmail.com>
Co-authored-by: chenmy77 <162882040+chenmy77@users.noreply.github.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
Co-authored-by: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com>
Co-authored-by: Dustin L. Howett <duhowett@microsoft.com>
This commit is contained in:
Zach Teutsch
2026-03-04 15:46:42 -05:00
committed by GitHub
parent d20ae940d5
commit f651d1a611
85 changed files with 8080 additions and 399 deletions

View File

@@ -557,6 +557,10 @@ opera.exe</value>
<data name="KeyboardManager_RemapKeyboardButton.Header" xml:space="preserve">
<value>Remap a key</value>
<comment>Keyboard Manager remap keyboard button content</comment>
</data>
<data name="KeyboardManager_Editor.Header" xml:space="preserve">
<value>Editor</value>
<comment>Keyboard Manager new editor header</comment>
</data>
<data name="KeyboardManager_Keys.Header" xml:space="preserve">
<value>Keys</value>
@@ -571,9 +575,29 @@ opera.exe</value>
<comment>Keyboard Manager remap keyboard header</comment>
</data>
<data name="KeyboardManager_All_Apps_Description" xml:space="preserve">
<value>All Apps</value>
<value>All apps</value>
<comment>Should be the same as EditShortcuts_AllApps from keyboard manager editor</comment>
</data>
<data name="KeyboardManager_TryNewExperience.Header" xml:space="preserve">
<value>Try the new editor</value>
<comment>Keyboard Manager toggle to switch to the new unified editor</comment>
</data>
<data name="KeyboardManager_TryNewExperience.Description" xml:space="preserve">
<value>Switch to the new editor. You can switch back at any time.</value>
<comment>Description for the new experience toggle</comment>
</data>
<data name="KeyboardManager_OpenNewEditor.Header" xml:space="preserve">
<value>Editor</value>
<comment>Keyboard Manager button to open the new unified editor</comment>
</data>
<data name="KeyboardManager_OpenNewEditor.Description" xml:space="preserve">
<value>Set and manage your remappings</value>
<comment>Description for the new editor button</comment>
</data>
<data name="KeyboardManager_GoBackClassic.Content" xml:space="preserve">
<value>Switch back to the classic editor</value>
<comment>Keyboard Manager link to switch back to the classic editor UI</comment>
</data>
<data name="Shortcut.Header" xml:space="preserve">
<value>Shortcut</value>
</data>
@@ -1883,12 +1907,24 @@ Made with 💗 by Microsoft and the PowerToys community.</value>
<value>Customize the shortcut to activate this module</value>
</data>
<data name="KeyboardManager_Toggle_Shortcut.Header" xml:space="preserve">
<value>Toggle shortcut</value>
<value>Shortcut</value>
</data>
<data name="KeyboardManager_Toggle_Shortcut.Description" xml:space="preserve">
<value>Use a shortcut to toggle this module on or off (note that the Settings UI will not update)</value>
<value>Enable or disable this module (Note: the Settings UI will not update)</value>
</data>
<data name="PasteAsPlainText_Shortcut.Header" xml:space="preserve">
<data name="KeyboardManager_Editor_Shortcut.Header" xml:space="preserve">
<value>Editor shortcut</value>
</data>
<data name="KeyboardManager_Editor_Open_Shortcut.Header" xml:space="preserve">
<value>Open editor shortcut</value>
</data>
<data name="KeyboardManager_Editor_Open_Shortcut.Description" xml:space="preserve">
<value>Customize the shortcut to open the Keyboard Manager editor</value>
</data>
<data name="KeyboardManager_LaunchEditor_Button.Content" xml:space="preserve">
<value>Open editor</value>
</data>
<data name="PasteAsPlainText_Shortcut.Header" xml:space="preserve">
<value>Paste as plain text directly</value>
</data>
<data name="AdvancedPasteUI_Actions.Header" xml:space="preserve">