This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Because of AceDB's flexibility allowing authors to specify a single default profile or character or realm level profiles, the list of profiles even for simple addons can get to be unwieldy. The author can specify that each new character use the same common profile or for each character to have its own separate profile by default. In some cases the user might disagree. Take Bartender for example. If the user has a single layout for all characters, they have to manually log in each character and designate that common profile and manually delete the unused ones.
Consolidate Profiles - A way to, with one action, point all characters to use a single profile.
Purge Unused Profiles - Self explanatory. With one action, any saved profile not currently associated with a character gets deleted.
Set Profile as Default - An option to override the addon author's choice of behavior for new characters. Transparent to the addon code, if a profile is requested for a character that is not found, the library would add the character and point it to the default profile and return it to the addon.
These controls could, I believe, be feasibly implemented transparently and with no impact to the addons that use the library. AceConfigDialog (and if necessary AceDBOptions) could then be modified offer these options to the user, again in most cases without impacting any existing addons.
Mmmm kinda liking it; it's certainly something I've sighed over once or twice.
Not feeling strongly for it though - the usual usability-vs-bloat thoughts certainly apply.
Weak "yes" from me.
If added, I suggest a section at the bottom of the current options:
Maintenance
Delete the following unused profiles: (yellow)aaaa, bbbb, cccc [Delete]
You can set all characters to use the same profile here. After doing this you can still change it on a per-character basis. Set All Profiles [dropdown] (onmouseover: The profile that all characters will use.)
You can specify which profile to use for new characters (and characters you have not yet logged on to after installing this addon) Default Profile [dropdown] (onmouseover: New characters will use the profile selected here.)
The Default Profile should probably change automagicaly if the "Set All" option is used. Otherwise people will get confused about the difference between existing characters and existing characters that have not yet logged on with the addon enabled.
I should also mention that this can be implemented as a standalone addon, which 100% solves the "bloat problem". But whether or not that's the right thing to do is another question entirely.
I would like to see the options outlined by mikk implemented, but considering how long it as been since this ticket was accepted I am not holding my breath ;).
I upvoted it though.
I implemented Consolidate and Delete with a function which gets an ace dboptions table and returns a new one with added functionality.
I deep copy the original one to not change the behaviour for all the addon using ace but just for the one calling the function, otherwise we could just modify the original one and avoid memory waste.
I can donate here the code both as a set of patch for AceDBOptions or as an extra component of Ace (AceDBOptionsExtra or something like that).
In order to see the code in action you can check OrderHallCommander.
I will donate only if someone show an interest (and maybe also adding the "default" thing) otherwise I will probably sooner or later release a standalone addon for this functionality.
To post a comment, please login or register a new account.