Skip to content

Port PR90: binding restore fix, interface bumps, export dropdown organize menu#92

Closed
tg123 with Copilot wants to merge 4 commits into
masterfrom
copilot/fork-pr-90
Closed

Port PR90: binding restore fix, interface bumps, export dropdown organize menu#92
tg123 with Copilot wants to merge 4 commits into
masterfrom
copilot/fork-pr-90

Conversation

Copilot AI commented Dec 26, 2025

Copy link
Copy Markdown
Contributor

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 #90


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@tg123

tg123 commented Dec 26, 2025

Copy link
Copy Markdown
Owner

@copilot

very nice feature to make profile organized:

my 2 cents:
make the button organize > -> sort by name
-> sort by time
....

Co-authored-by: tg123 <170430+tg123@users.noreply.github.com>
Copilot AI changed the title [WIP] Fork pull request #90 from tg123/myslot Port PR90: binding restore fix, interface bumps, sortable export dropdown Dec 26, 2025
Copilot AI requested a review from tg123 December 26, 2025 09:00
Copilot AI and others added 2 commits December 26, 2025 09:05
Co-authored-by: tg123 <170430+tg123@users.noreply.github.com>
Co-authored-by: tg123 <170430+tg123@users.noreply.github.com>

Copilot AI commented Dec 26, 2025

Copy link
Copy Markdown
Contributor Author

@copilot

very nice feature to make profile organized:
...

Added an Organize dropdown beside Rename with Sort by Name and Sort by Time actions, using saved timestamps to preserve selection while reordering (commit e6b14a4). Screenshot: /tmp/playwright-logs/page-2025-12-26T09-04-02-441Z.png

Copilot AI changed the title Port PR90: binding restore fix, interface bumps, sortable export dropdown Port PR90: binding restore fix, interface bumps, export dropdown organize menu Dec 26, 2025
@tg123 tg123 closed this Jun 26, 2026
@tg123 tg123 deleted the copilot/fork-pr-90 branch June 26, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants