Put Guardrails around Clickable Auras; Warn or Prevent/Disable Cloning
Hekili opened this issue ยท 1 comments
Is your feature request related to a problem? Please describe.
Lots of WA Discord discussion centers on clickable auras, how they are bad, why they shouldn't be made. The major problems associated with clickables are:
- People almost inevitably taint their UI attempting to do secure actions in combat.
- They get cloned and pollute the clone pool, which breaks everything in general.
Describe the solution you'd like
- Add an indicator icon on auras where clickable code is detected. The clickable detection could be implemented based on:
a. Text search within custom code blocks for relevant API functions.
b. API wrapper functions in the WeakAuras environment (though this could lead to capturing that data after the fact).
In the screenshot, I replaced the "Loaded" icon (which is kind of redundant, since it's already in the loaded section?), but it could be in addition to the Loaded icon. The mouse icon is build into WoW, texture atlas is
newplayertutorial-icon-mouse-leftbutton
.
-
When the indicator icon is present, enable clickable icons to be located via Search ("clickable" in search bar), or have the mouse indicator appear at the right of the Search bar that you can toggle on/off to filter and locate clickables when Spaten tells you to delete the aura.
-
When clickable code is detected, prevent cloning of the aura or disable the aura entirely (pre-Load).
a. Warning text may be displayed to let people opt-in to naughty behavior in their own install, perhaps explaining what kind of errors may occur if they choose to bypass the restriction.
Describe alternatives you've considered
I considered apathy but it may be worth exploring some limitations/guardrails, as "WeakAuras broke my UI" kinda sentiment propagates among folks who don't understand the issue.
Additional context
WeakAuras developers are handsome and kind and brilliant and amazing.
Duplicate of #3440