myslot
myslot copied to clipboard
Port PR90: binding restore fix, interface bumps, export dropdown organize menu
PR90 ports compatibility and UX tweaks: keybinding restoration now targets the proper binding set, interface versions are aligned to 11.2/Classic/Mists, and the export profile dropdown gains an Organize menu with sorting and better selection handling.
- Keybindings: Always set/clear bindings in context 1 to avoid miscontext restores.
- Interface versions: Retail/Classic/Mists TOC fields bumped for current client compatibility.
- Export dropdown UX: Refactored init and selection restore, added an Organize menu with “Sort by Name” and “Sort by Time” options, and track savedAt timestamps to preserve selection when reordering profiles.
local function SortProfilesByName()
local selected = exports[UIDropDownMenu_GetSelectedValue(t)]
table.sort(exports, function(a, b)
return (a.name or ""):lower() < (b.name or ""):lower()
end)
RefreshDropdown()
RestoreSelection(selected)
end
Original prompt
fork pr https://github.com/tg123/myslot/pull/90
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.