From 8c04a8ba6398f7e1d7ddc56c5985877bdcce0f4b Mon Sep 17 00:00:00 2001 From: rootkit1337tv <128513433+rootkit1337tv@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:42:10 +0200 Subject: [PATCH 1/3] Added support for automation --- WagoUI_Libraries/LibAddonProfiles/modules/Details.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua b/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua index e73f899..4496b7d 100644 --- a/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua +++ b/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua @@ -126,6 +126,14 @@ local m = { importProfile = function(self, profileString, profileKey, fromIntro) if not profileString then return end Details:ImportProfile(profileString, profileKey, nil, true, true) + profileString = DetailsFramework:Trim(profileString) + local automationData = Details:DecompressData(profileString, "print") + if automationData then + --import automation + for i, v in Details:ListInstances() do + DetailsFramework.table.copy(v.hide_on_context, automationData.profile.instances[i].hide_on_context) + end + end end, exportProfile = function(self, profileKey) if not profileKey then return end From dd09168d22aa71c29072bb1fc79be538e45fd915 Mon Sep 17 00:00:00 2001 From: Nnoggie <27819512+Nnoggie@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:47:47 +0200 Subject: [PATCH 2/3] formatting --- WagoUI_Libraries/LibAddonProfiles/modules/Details.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua b/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua index 4496b7d..c06f7ca 100644 --- a/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua +++ b/WagoUI_Libraries/LibAddonProfiles/modules/Details.lua @@ -126,12 +126,12 @@ local m = { importProfile = function(self, profileString, profileKey, fromIntro) if not profileString then return end Details:ImportProfile(profileString, profileKey, nil, true, true) + --import automation profileString = DetailsFramework:Trim(profileString) - local automationData = Details:DecompressData(profileString, "print") - if automationData then - --import automation + local profileData = Details:DecompressData(profileString, "print") + if profileData then for i, v in Details:ListInstances() do - DetailsFramework.table.copy(v.hide_on_context, automationData.profile.instances[i].hide_on_context) + DetailsFramework.table.copy(v.hide_on_context, profileData.profile.instances[i].hide_on_context) end end end, From ad1021d910ac707c0a84726b79db0139777f6320 Mon Sep 17 00:00:00 2001 From: Nnoggie <27819512+Nnoggie@users.noreply.github.com> Date: Wed, 23 Oct 2024 02:47:10 +0200 Subject: [PATCH 3/3] 1.2.0 --- WagoUI/CHANGELOG.md | 4 ++-- WagoUI/WagoUI.toc | 4 ++-- WagoUI_Creator/CHANGELOG.md | 4 ++-- WagoUI_Creator/WagoUI_Creator.toc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/WagoUI/CHANGELOG.md b/WagoUI/CHANGELOG.md index 8b914f3..4f33715 100644 --- a/WagoUI/CHANGELOG.md +++ b/WagoUI/CHANGELOG.md @@ -1,3 +1,3 @@ -# 1.1.14 (2024-10-14) +# 1.2.0 (2024-10-23) -- Nil issue fix +- Patch 10.0.5 Update diff --git a/WagoUI/WagoUI.toc b/WagoUI/WagoUI.toc index 5bfa2d4..0117627 100644 --- a/WagoUI/WagoUI.toc +++ b/WagoUI/WagoUI.toc @@ -1,8 +1,8 @@ -## Interface: 110002, 40400 +## Interface: 110005, 40400 ## Title: |cFFC1272DWago|rUI ## IconTexture: Interface\AddOns\WagoUI\media\logoSmall.png ## Author: The Wago Team -## Version: 1.1.14 +## Version: 1.2.0 ## DefaultState: Enabled ## LoadOnDemand: 0 ## OptionalDeps: WagoUI_Creator, WagoUI_Storage diff --git a/WagoUI_Creator/CHANGELOG.md b/WagoUI_Creator/CHANGELOG.md index 78e5e8c..4f33715 100644 --- a/WagoUI_Creator/CHANGELOG.md +++ b/WagoUI_Creator/CHANGELOG.md @@ -1,3 +1,3 @@ -# 1.1.13 (2024-10-07) +# 1.2.0 (2024-10-23) -- Skip version check if user is using internal guild version of BigWigs +- Patch 10.0.5 Update diff --git a/WagoUI_Creator/WagoUI_Creator.toc b/WagoUI_Creator/WagoUI_Creator.toc index 01af15d..fd44239 100644 --- a/WagoUI_Creator/WagoUI_Creator.toc +++ b/WagoUI_Creator/WagoUI_Creator.toc @@ -1,8 +1,8 @@ -## Interface: 110002, 40400 +## Interface: 110005, 40400 ## Title: |cFFC1272DWago|rUI Creator ## IconTexture: Interface\AddOns\WagoUI_Creator\media\logoSmall.png ## Author: The Wago Team -## Version: 1.1.13 +## Version: 1.2.0 ## DefaultState: Enabled ## LoadOnDemand: 0 ## SavedVariables: WagoUICreatorDB