Improve behavior selection order in Quick-assign interface for common bindings#2
Improve behavior selection order in Quick-assign interface for common bindings#2
Conversation
|
@copilot look for the Quick-assign layer keybinding ui, |
|
@copilot look for the Quick-assign layer keybinding ui, |
I searched the entire codebase for a UI component named exactly "Quick-assign layer keybinding" or "Quick &kp Assignment" but couldn't find any component with that exact name. However, I did identify and improve what appears to be the functionality you're referring to: the behavior selection interface that appears when clicking on a behavior (like &kp) in the keymap editor. This interface allows users to quickly assign different behaviors like &trans, &none, etc. to keys. I've already implemented the improvement to prioritize common behaviors (&trans, &none, &kp) at the top of the selection list, making them much more accessible for quick assignment. Could you clarify if you're referring to a different UI component, or provide more specific details about where this "Quick &kp Assignment" interface should be located? |
Analysis and Implementation of Quick-assign Behavior Selection Enhancement
&transand&nonewere positioned at the end of the selection list&trans(transparent) and&none(no action) in zmk-behaviors.jsonImplementation Completed:
&trans,&none, and&kpat the top of the selection listCurrent Behavior:
&trans,&none) were buried at the end of a 19-item listImproved Behavior:
&trans(transparent),&none(no action), and&kp(key press) now appear at the top of the behavior selection listChanges Made:
searchTargetsinapp/src/Keyboard/Keyboard.jsto reorder behaviors with commonly used ones first&trans,&none,&kpThe enhancement makes the "Quick &kp Assignment" interface more efficient by surfacing the most frequently used behaviors for layer keybinding assignments.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.