WeakAuras2 icon indicating copy to clipboard operation
WeakAuras2 copied to clipboard

Safe Mode

Open emptyrivers opened this issue 1 year ago • 6 comments

There seems to be some imports percolating through the community which are causing some users to disconnect (? it's hard to tell what exactly is happening, some describe it as a "crash") when logging in with WeakAuras enabled, effectively turning the addon into a pumpkin.

Normally, we would say that fixing problems with custom code isn't our purview - Just Don't Use Custom Code™️ and the like. But, in this case i think we should think about ways to at least provide an escape hatch for users to recover from this without needing to either start over from scratch or understand the savedvariables format well enough to perform surgery.

So, what about some sort of recovery mode? Create a switch that a user could (with some effort) flip that would cause WeakAuras to "boot" into a mode where the user can edit (or at least delete) auras, but the data is never used to instantiate active regions (and especially not run any custom code).

"But rivers, how would we even accomplish that?"

The idea i had which prompted this ticket was to add an optional dependency to WeakAuras (call it WeakAurasSafeMode or some such), disabled by default, which WeakAuras would check for upon first load. During safe mode, normal login process is suspended (easy enough) and the user is alerted that WeakAuras is "powered down". User can open options (this seems hard) and edit their data to fix problems that can't be fixed in "live" mode. once the user is done, they could disable safe mode and reload their ui to resume normal play.

emptyrivers avatar Aug 31 '24 09:08 emptyrivers