Add actual "Profiles" to Questie
BreakBB opened this issue ยท 8 comments
Description
The settings have always been chaos and there still is no way to tell which settings are "per character" and which are "global".
To tackle this Questie needs actual "Profiles" and should allow to handle all settings via Profiles.
The Ace docs are quite clear about it and we have most things already in place since we already use AceDB for our config.
So instead of Questie.db.char
and Questie.db.global
we will use Questie.db.profile
for all profile related settings. This will need a big migration.
The "Profiles" tab is added by:
return {
name = "Questie",
handler = Questie,
type = "group",
childGroups = "tab",
args = {
general_tab = general_tab,
social_tab = social_tab,
minimap_tab = minimap_tab,
map_tab = map_tab,
dbm_hud_tab = dbm_hud_tab,
tracker_tab = tracker_tab,
nameplate_tab = nameplate_tab,
tooltip_tab = tooltip_tab,
advanced_tab = advanced_tab,
+ profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(Questie.db)
}
}
there should also be a "use global" option for those that don't want the hassle of configuring per character.. once and done :)
its an actual clickable option in most addons.. including the ability to choose the profile to use as the default, and the ability to copy profiles to your current char, and delete stale profiles..
That should be "Default" then. When you don't set up a profile, everything will be stored in the exact same profile.
yup, that be the "normal" profile options.. with the addition of auto created profiles based on name-server if i recall..
We'll wait for @Yttrium-tYcLief to finish the settings restructure before doing this.