Skip to content

Modernize GUI with WinUI3 App - #137

Merged
luttje merged 44 commits into
mainfrom
feature/winui3
May 3, 2026
Merged

luttje merged 44 commits into
mainfrom
feature/winui3

Conversation

@luttje

@luttje luttje commented Apr 12, 2026 •

Copy link
Copy Markdown
Collaborator

This is a port of the WinForms GUI over to a WinUI3 app. Here's how it looks so far:

Main Mapping List

screenshot

Modifying an existing mapping

Note that this attempts to resolve #108. However if the trigger/action options is tall, a scrollviewer appears, which makes the mapping experience feel 'cramped'. So this needs work.
screenshot

Settings Page

screenshot

About Page

screenshot

Task List

This is what still needs attention:

  • Critical assessment/cleanup of code.
  • Fix bug where when removing parents, their children remain (and become invisible)
  • Fix mapping list not updating when changing a mapping (text of existing mapping doesn't update)
  • Update README to show WinUI3 App screenshots instead of WinForms
  • Implement build + packaging workflow, so we can create an MSIX unpackaged app (example).
  • Add instructions on how to sideload the app (example)
  • Related to Manage mappings without a dialog #108: What to do when options for a trigger or action are too tall to fit? For example, this feels cramped:
    afbeelding
    Perhaps something like: afbeelding
  • Add View Menu with radiobuttons to configure how to group mappings
  • Multiple selection mode, for easily deleting multiple mappings
  • Long action/trigger names are not currently ellipsized
  • The Multi-Edit / Property Editor (MappingPropertyEditorForm) is not implemented. I vote to drop it to reduce maintenance complexity, but if anyone's using this I will reconsider.
  • Connect Refresh Devices button to RefreshDevices
  • GenerateReversesForSelectedMappings needs to be implemented for multiple selected
  • Delete WinForms Gui project from source-code, unless we have a reason (and feel confident enough) to support both

@luttje luttje self-assigned this Apr 12, 2026
@luttje luttje added the enhancement New feature or request label Apr 12, 2026
@abart27

abart27 commented Apr 12, 2026

Copy link
Copy Markdown
Collaborator

Insane! Very promising so far, this looks great!

@luttje
luttje marked this pull request as ready for review April 18, 2026 19:45
@luttje

luttje commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator Author

@Aurumaker72 if you can have a look at this whenever you have time that'd be great. I don't expect a full review (given that there's 250+ changed files), but if you could provide feedback on functionality and UI/UX that'd be much appreciated.

No need to hurry with it and let me know if you don't have the time.

@luttje
luttje requested a review from abart27 April 18, 2026 19:53
@abart27

abart27 commented Apr 19, 2026

Copy link
Copy Markdown
Collaborator

Absolutely, will do!

@abart27

abart27 commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Hi, sorry for taking so long :/
I can get around to it in the next few days.

@luttje

luttje commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator Author

Really not a problem mate, take your time :)

@abart27 abart27 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work just as well as the Winforms version! Awesome job!

I have only annoying UI pedantry to give... so here goes 😂

Comment thread Key2Joy.App/MainWindow.xaml Resolved
Comment thread Key2Joy.App/Pages/MainMappingPage.xaml Resolved
Comment thread Key2Joy.App/Pages/MainMappingPage.xaml Resolved

@abart27 abart27 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing everything, incredible work! No regressions from the new changes either afaics.

@luttje
luttje merged commit 1f3ef52 into main May 3, 2026
2 checks passed
@luttje

luttje commented May 3, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks for taking the time to review this PR, much appreciated!

@luttje
luttje deleted the feature/winui3 branch May 3, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

Manage mappings without a dialog

2 participants