fix: tooltip flicker, learner quest field mapping, secondary tooltip style

- QuestieLib.GetColoredQuestName now nil-guards QuestieDB.GetQuest() before reading .isComplete
- TooltipHandler.AddItemDataToTooltip re-keyed on itemId only (was firing on every ElvUI refresh)
- Removed unconditional ResizeTooltip call from item tooltip path (caused first-hover pop)
- OnQuestDetail no longer writes objectives text to data[6] or quest body to data[17] or zoneId to data[8]
- OnQuestAccepted documents why requiredLevel/requiredRaces/requiredClasses are intentionally not captured
- Reused logIdx from data build pass instead of redeclaring it for the objective scan
- Secondary learner tooltip now matches GameTooltip style with or without ElvUI (defers to ElvUI when loaded, replicates its Transparent template otherwise)
- Combined-tooltip learner stats now framed by invisible spacer lines for visual separation
This commit is contained in:
Xurkon
2026-06-07 08:38:12 -05:00
parent 4c924ab167
commit 5b576911d7
4 changed files with 130 additions and 32 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ function QuestieLib:GetColoredQuestName(questId, showLevel, showState, blizzLike
name = name .. " " .. Questie:Colorize("(" .. l10n("Complete") .. ")", "green")
-- Quests treated as complete - zero objectives or synthetic objectives
elseif isComplete == 0 and QuestieDB.GetQuest(questId).isComplete == true then
elseif isComplete == 0 and QuestieDB.GetQuest(questId) and QuestieDB.GetQuest(questId).isComplete == true then
name = name .. " " .. Questie:Colorize("(" .. l10n("Complete") .. ")", "green")
end
end