Skip to content

Manage mappings without a dialog #108

Closed

Description

@abart27

Discussed in #104

Originally posted by Aurumaker72 November 4, 2025
Instead of editing and creating mappings in a separate dialog, the user should be presented with a panel whose content dynamically changes based on the selected mapping.

To avoid ambiguity, we should also have some small header text for the mapping create/edit section, which displays either "Create Mapping" or "Edit Mapping {FriendlyMappingName}"

The "Apply" button should also show "Create" when in create mode.

Somewhat outdated mockup:

image

Activity

  1. self-assigned this
    on Nov 16, 2025
  2. added
    enhancement
    on Nov 16, 2025
  3. luttje commented on Apr 18, 2026

    @luttje
    Collaborator

    So in #137 I've got this new setup, however it feels a bit cramped at the bottom:
    Image

    The Trigger and Action have a ScrollView, so for tall triggers/actions (like CombinedTrigger and SequenceAction) it adds a scrollbar.

    I tried moving the create/edit to the side, which is only marginally better:
    Image

    @Aurumaker72 do you have any ideas on how this could be improved? If I were to say myself I'd say we just move it into a Page that is shown when selecting a mapping to edit, or creating a new mapping. However I think that goes against the improvements you had in mind.

  4. abart27 commented on Apr 18, 2026

    @abart27
    CollaboratorAuthor

    First of all, super awesome work on this! So quick too :o

    I think a possible pattern here would be a drawer. It's not really a desktop pattern, but it'd serve us well. Either a bottom drawer that overlaps the listview and not the connection panel, or a right drawer that overlaps both.

    Alternatively, we can just use a content dialog 😅. Those are hosted inside the main window in WinUI3 and therefore much more ergonomic.

  5. added a commit that references this issue on Apr 18, 2026
    714b8ab
  6. luttje commented on Apr 18, 2026

    @luttje
    Collaborator

    A drawer is a good idea! I whipped this up with copilot:

    Key2Joy.App-Drawer.mp4

    The video shows:

    • Expand to show child mapping (also supports Expand/Collapse All through Mappings toolbar menu item)
    • Selecting mappings by single clicking (also supports CTRL for multi)
    • Double-click to modify
    • Click outside the drawer (or on the drag handle) to close
    • Floating Action Button to add new mapping (also supports through Mappings toolbar menu item)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions