Skip to content

feat(addon): Alt+click Questie map icons and show quest requirements - #4

Closed
AlexDXC2026 wants to merge 2 commits into
mainfrom
feat/questie-map-icons
Closed

AlexDXC2026 wants to merge 2 commits into
mainfrom
feat/questie-map-icons

Conversation

@AlexDXC2026

Copy link
Copy Markdown
Owner

What

  • Alt + click on a Questie quest icon (world map or minimap) opens that quest on Wowhead.
  • For quests not in the log, the link window shows whether the player can take it, from Questie's database: availability verdict (QuestieDB.IsDoableVerbose), required level, and previous quests (preQuestGroup = all of, preQuestSingle = one of), each marked done or missing.
  • Quest titles come from Questie when the quest is not in the log.

How

  • Wraps QuestieFramePool:GetFrame() and scans QuestieFrame1..n (icons created before the hook, and on world map show) to HookScript OnClick/OnEnter. Questie keeps Shift (hide quest) and Ctrl (TomTom); Alt was unused.
  • ## OptionalDeps: Questie. Without Questie everything else works as before.

Tests

New offline scenarios with a simulated Questie (database, pool, pre-existing icon): Alt guard, URL, title, level met/not met, pre-quests done/missing (negative IDs), all-of/one-of, no pre-quests, quest already in the log, tooltip hint.

Not yet verified in game

Waiting for an in-game test before releasing 1.3.0.

🤖 Generated with Claude Code

AlexDXC2026 and others added 2 commits November 18, 2026 19:34
Alt + click on a Questie quest icon (world map or minimap) opens that
quest on Wowhead. For quests not in the log, the link window lists
whether the player can take it, from Questie's database: availability
verdict, required level and previous quests marked done or missing.
Questie keeps Shift (hide) and Ctrl (TomTom); Alt was unused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hooks MapIconTooltip.ShowOnTooltip and wraps each new Tooltip._Rebuild,
so the "can you take it?" lines (Questie verdict, level, previous quests
done or missing) and the Alt+click hint survive Questie redrawing the
tooltip on modifier keys. Objective icons only get the hint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AlexDXC2026

Copy link
Copy Markdown
Owner Author

Added: hovering a Questie "!" icon (map or minimap) now shows the same can you take it? lines in the tooltip (Questie verdict, level, previous quests done/missing) plus the Alt+click hint. Hooked through `MapIconTooltip.ShowOnTooltip` and a wrapper around each new `Tooltip._Rebuild`, so the lines survive Questie redrawing on Shift. Tests cover the rebuild, no duplicated hint and objective icons.

🤖 Generated with Claude Code

@AlexDXC2026

Copy link
Copy Markdown
Owner Author

Included in #7, which was rebased on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant