Skip to content

feat(addon): Questie map icons, Alt+click items and RareScanner alerts - #7

Merged
AlexDXC2026 merged 5 commits into
mainfrom
feat/quest-item-alt-click
Nov 19, 2026
Merged

AlexDXC2026 merged 5 commits into
mainfrom
feat/quest-item-alt-click

Conversation

@AlexDXC2026

@AlexDXC2026 AlexDXC2026 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Alt + left click on an item (bags, chat link, loot window) shows the Wowhead link of its quest, like every other link of the addon (no requirements block): a quest not taken yet first, then one in the log; done quests and other races/classes skipped. Items without such a quest open item=<id>.
  • The item's quests come from LibQuestieDB (installed with Questie, contract 2): objectives, requiredSourceItems and startQuest. The item → quests index is built once per session in the background (40 quests per frame, 10 s after login).
  • Tooltip hint "Alt + click: its quest on Wowhead" only on quest items (GameTooltip / ItemRefTooltip).
  • RareScanner: Wowhead icon in the corner of its "rare found" alert (child button, the alert itself is secure). NPC → npc=<id>#drops, container → object=<id>#contains, event → search by name.
  • /wh diag reports itemClick, itemTooltip, itemIndex, rareScanner.

Stacked on #4 (OpenQuest, Questie helpers). Merge #4 first.

Test plan

  • node tests/run.js (4 locales): starter item, objective item, before/after the index, quest in log, done quest and unknown item open the item page, modifiers/right click/bad links ignored, tooltip hint rules, RareScanner NPC/container/event/empty alert.
  • In game: Alt + click "Mineral de Petrosangre inferior" opens "Un favor a Krazek".
  • In game: RareScanner alert shows the icon and opens the rare.

🤖 Generated with Claude Code

@AlexDXC2026 AlexDXC2026 changed the title feat(addon): Alt+click quest items to open quests not taken yet feat(addon): Alt+click items and Wowhead icon on RareScanner alerts Nov 19, 2026
AlexDXC2026 and others added 5 commits November 19, 2026 18:13
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>
Alt + left click on an item in the bags, a chat link or the loot window
opens the quest it is for when that quest is not in the log nor done,
with the "can you take it?" requirements. Covers items a quest asks for
and items that start one; skips other races and classes. The item
tooltip shows the hint.

LibQuestieDB lists items per quest, so the item -> quests index is built
once per session in the background, 40 quests per frame, 10 s after login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alt + click on an item now just shows the Wowhead link of its quest (one
not taken yet first, then one in the log), without requirements, or the
item page when it has no such quest. The tooltip hint stays on quest items.

RareScanner's "rare found" alert gets a Wowhead icon: NPC loot tab,
container contents, or a search for events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Questie's database leaves out 78093 Return to Delgren, so the quest
showed "No previous quests required" and Questie's "Available".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AlexDXC2026
AlexDXC2026 force-pushed the feat/quest-item-alt-click branch from ba8b3a3 to b4fb2bc Compare November 19, 2026 17:14
@AlexDXC2026 AlexDXC2026 changed the title feat(addon): Alt+click items and Wowhead icon on RareScanner alerts feat(addon): Questie map icons, Alt+click items and RareScanner alerts Nov 19, 2026
@AlexDXC2026
AlexDXC2026 changed the base branch from feat/questie-map-icons to main November 19, 2026 17:14
@AlexDXC2026
AlexDXC2026 merged commit 0b8fabb into main Nov 19, 2026
2 checks passed
@AlexDXC2026
AlexDXC2026 deleted the feat/quest-item-alt-click branch November 19, 2026 17:16
AlexDXC2026 added a commit that referenced this pull request Nov 19, 2026
#7)

* feat(addon): Alt+click Questie map icons and show quest requirements

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>

* feat(addon): show quest requirements when hovering Questie "!" icons

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>

* feat(addon): Alt+click quest items to open quests not taken yet

Alt + left click on an item in the bags, a chat link or the loot window
opens the quest it is for when that quest is not in the log nor done,
with the "can you take it?" requirements. Covers items a quest asks for
and items that start one; skips other races and classes. The item
tooltip shows the hint.

LibQuestieDB lists items per quest, so the item -> quests index is built
once per session in the background, 40 quests per frame, 10 s after login.

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

* feat(addon): plain item links and a Wowhead icon on RareScanner alerts

Alt + click on an item now just shows the Wowhead link of its quest (one
not taken yet first, then one in the log), without requirements, or the
item page when it has no such quest. The tooltip hint stays on quest items.

RareScanner's "rare found" alert gets a Wowhead icon: NPC loot tab,
container contents, or a search for events.

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

* fix(addon): add the missing pre-quest of Battle at the Mannoroc Coven

Questie's database leaves out 78093 Return to Delgren, so the quest
showed "No previous quests required" and Questie's "Available".

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

---------

Co-authored-by: AlexDXC2026 <330211725+AlexDXC2026@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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