You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reset Page: switch to custom popup, extend coverage to Visibility/Group Labels/Pinned Frames
- Reset/Copy/Sync confirmation popups now use DF:ShowPopupAlert (the
addon's built-in popup) instead of Blizzard's StaticPopup, matching
the wizard/alert dialog style used elsewhere.
- Add the Sync/Copy/Reset trio to three pages that were previously
missing it: Visibility, Group Labels, and Pinned Frames. These all
contain mode-specific settings and now match the rest of the addon.
- Skip Class Colors and Aura Blacklist — those write to profile-level
shared tables, not party/raid mode-specific tables.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,11 @@
5
5
### New Features
6
6
7
7
***Reset Page button** — every settings page that has a Sync/Copy button now also has a red **Reset Page** button to the left of them. Clicking it resets only that page's settings on the current mode (Party or Raid) back to their built-in defaults, with a confirmation popup. Aura Designer and Click Casting have their own reset systems and are not part of this.
8
+
***Sync / Copy / Reset trio added to Visibility, Group Labels, and Pinned Frames pages** — these pages were previously missing the Sync-with-Raid/Party and Copy-to-Raid/Party buttons; they now match the rest of the addon's settings pages.
8
9
9
10
### Improvements
10
11
12
+
* The Reset, Copy, and Sync confirmation popups now use the addon's built-in popup style instead of the default Blizzard popup, matching the rest of the wizard and alert dialogs.
11
13
* (Aura Designer) Sound indicator: "Missing Trigger" can now be toggled off so only the Expire Alert fires. Expire Alert now has its own Loop Interval and a Play Once option. Start Delay and Loop Interval no longer affect the Expire Alert. (PR #54 by Krathe)
text = format(L["Reset %s settings to defaults?\n\nThis only affects %s settings on the current %s mode. This cannot be undone."], sectionName, sectionName, m),
256
-
button1 = L["Reset"],
257
-
button2 = L["Cancel"],
258
-
OnAccept = function()
259
-
DF:ResetSectionSettings(prefixes, mode)
260
-
if GUI.RefreshCurrentPage then GUI:RefreshCurrentPage() end
261
-
end,
262
-
timeout = 0,
263
-
whileDead = true,
264
-
hideOnEscape = true,
265
-
}
266
-
StaticPopup_Show("DANDERSFRAMES_RESET_SECTION")
255
+
DF:ShowPopupAlert({
256
+
title = format(L["Reset: %s"], sectionName),
257
+
message = format(L["Reset %s settings to defaults?\n\nThis only affects %s settings on the current %s mode. This cannot be undone."], sectionName, sectionName, m),
258
+
buttons = {
259
+
{
260
+
label = L["Reset"],
261
+
onClick = function()
262
+
DF:ResetSectionSettings(prefixes, mode)
263
+
if GUI.RefreshCurrentPage then GUI:RefreshCurrentPage() end
264
+
end,
265
+
},
266
+
{ label = L["Cancel"] },
267
+
},
268
+
})
267
269
end)
268
270
269
271
-- Initial update
@@ -295,7 +297,8 @@ function DF:SetupGUIPages(GUI, CreateCategory, CreateSubTab, BuildPage)
295
297
-- Display > Visibility
296
298
local pageVisibility = CreateSubTab("display", "display_visibility", L["Visibility"])
0 commit comments