Questie

Questie

122M Downloads

Add actual "Profiles" to Questie

BreakBB opened this issue ยท 8 comments

commented

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.

Taken from GatherMate2:
grafik

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)
        }
    }
commented

there should also be a "use global" option for those that don't want the hassle of configuring per character.. once and done :)

commented

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..

commented

That should be "Default" then. When you don't set up a profile, everything will be stored in the exact same profile.

commented

See original post. I think this is somewhat what it looks like in most addons.

commented

yup, that be the "normal" profile options.. with the addition of auto created profiles based on name-server if i recall..

commented

Finally.

commented

Please implement this. Having to redo Questie each time in HC is a major pain.

commented

We'll wait for @Yttrium-tYcLief to finish the settings restructure before doing this.