feat: Add test mode preview for private-auras indicator (GH-#417)#418
feat: Add test mode preview for private-auras indicator (GH-#417)#418spamwax wants to merge 1 commit into
Conversation
…sp#417) When clicking the 'Highlight Indicator' for a private-auras indicator, display mock aura icons with cooldown animations, timer and stack count to give users a realistic preview of configuration.
|
Sorry, I dont want to duplicate the blizzard widgets to implemente a test mode. That blizzard code is private/hidden now so it is the blizzard job to implement something like this. |
|
Thanks for the feedback, yea I agree with duplication and that is why I tried to isolate it as much as possible. I did test it by creating an extra private aura indicator, it worked as they were assigned to different mutually exclusive themes! so I did not load 2 PAs at the same time, and your assessment is most likely correct. |
Summary
This PR adds a test-mode preview for
private-aurasindicators.When clicking Highlight Indicator in Grid2 options, the indicator now displays mock private-aura icons with cooldown spirals, timer text, and stack counts. This gives users a more realistic preview of how their
private-aurasconfiguration will look before encountering the actual mechanic in combat.Context
I opened issue #417 about previewing
private-auras, but the conclusion was that the real Blizzard private-aura frames created throughC_UnitAuras.AddPrivateAuraAnchorcannot be directly previewed/customized in the same way, likely because those frames are restricted.This PR works around that limitation by creating an overlay-style preview instead of trying to drive Blizzard’s actual private-aura frames.
The current test behavior only shows a brief glow/ant-line style highlight, which makes it hard to tune icon size, cooldown display, timer placement, and stack text. Since Blizzard uses private auras for important raid mechanics, being able to configure the indicator before a fight seems useful.
Notes