===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.8 (Released January 2026)
===============================================================================

NEW FEATURES
============

Power Crafting (Raw Materials View)
-----------------------------------
* NEW: HDG_PowerCrafting.lua module for DAG-based recipe resolution
* NEW: "Direct | Raw" toggle in Required Materials header
* NEW: Raw mode expands crafted reagents to base materials (what you actually need)
* NEW: Dependency graph builder with circular dependency detection
* NEW: Topological sort for proper crafting order (leaf nodes first)
* Supports recursive resolution up to 10 levels deep

Midnight Expansion Support
--------------------------
* NEW: Added Midnight expansion to expansion data
* NEW: Added Thalassian Lumber (item 256963) for Midnight
* NEW: Lumber tracker now supports 12 lumber types (Classic through Midnight)

Auctionator Shopping List Quantities
-------------------------------------
* NEW: "Add All to Auctionator" button now includes quantities for each material
* NEW: Uses Auctionator API v1 ConvertToSearchString for proper quantity encoding
* NEW: Shopping list shows exact amounts needed (e.g., "Bismuth x15" instead of just "Bismuth")
* NEW: Graceful fallback to item names only if quantity API unavailable

IMPROVEMENTS
============

Code Cleanup
------------
* REMOVED: Legacy CRAFTED_RECIPES hardcoded table (~220 lines) from HDG_PowerCrafting.lua
* IMPROVED: HDG_ProfessionsDB is now the single source of truth for crafted reagent recipes

Dynamic Lumber Tracker Layout
-----------------------------
* IMPROVED: Lumber tracker heights now calculate dynamically based on lumber count
* IMPROVED: Adding new expansions/lumber types no longer requires manual height adjustments
* IMPROVED: Embedded and pinned lumber widgets both scale automatically
* IMPROVED: Smaller header font in embedded lumber panel for better fit

Crafting UI Enhancements
------------------------
* NEW: Craft confirmation dialog with quantity selector (+/- buttons)
* NEW: "Craft N" button updates dynamically as you adjust quantity
* NEW: "Max N" button to craft all queued items at once
* NEW: Craft button shows craftable count in shopping list
* NEW: Multi-craft support - profession window stays open for sequential crafts
* FIXED: Shopping list now properly decrements when crafting completes
* IMPROVED: Tooltip positioning (cursor at bottom-left, not obscuring content)

Release Pipeline Automation
---------------------------
* NEW: Wago.io automatic upload on release
* NEW: CurseForge description auto-update from Curseforge_Description.md
* NEW: Wago.io description auto-update from Curseforge_Description.md
* NEW: Separate workflow for manual description-only updates

---

===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.7 (Released January 2026)
===============================================================================

NEW FEATURES
============

Recipe Search Box
-----------------
* NEW: Search box in Recipes tab to filter recipes by name
* NEW: Real-time filtering as you type
* NEW: Clear button (X) to reset search
* NEW: Works with profession and "All | Ready" filters

Search Materials Toggle (+Mats)
-------------------------------
* NEW: "+Mats" checkbox to extend search to reagent names
* NEW: Search "bismuth" to find recipes using Bismuth
* NEW: Toggleable to avoid clutter in normal searches

Uncollected Only Toggle
-----------------------
* NEW: "Uncollected" checkbox in Recipes tab
* NEW: Hides recipes for decor you already own
* NEW: Persisted to SavedVariables across sessions

Collection Progress (Preview Tab)
---------------------------------
* NEW: Shows "X / Y (Z%)" collection progress in header
* NEW: Color-coded: Green (100%), Yellow (50%+), White (<50%)
* NEW: Updates dynamically with current filter results

Crafting Queue Grouped by Character
-----------------------------------
* NEW: Crafting queue items sorted by who can craft them
* NEW: Current character's craftable items appear first
* NEW: Section headers show "CharName - RealmName" for each crafter
* NEW: "(you)" indicator in gold next to current character's section
* NEW: "Not Known" section for recipes no alts can craft
* NEW: Profession icons (14x14) next to each item in queue

Decor Acquisition History
-------------------------
* NEW: Tracks when decor is learned (added to collection), not just crafted
* NEW: Source column shows "Crafted" (teal) or "Learned" (gold)
* NEW: Renamed section to "Decor Crafting / Acquisition History"
* NEW: CSV export includes Source column

Per-Character Profession Memory
-------------------------------
* NEW: Each character remembers their last selected profession tab
* NEW: Switching characters restores their profession selection
* NEW: No more resetting to "All" when logging between alts

Auto-Refresh Alts Tab
---------------------
* NEW: Alts tab refreshes when profession window opens
* NEW: 0.3s delay ensures profession data is loaded
* NEW: Keeps alt profession data current without manual refresh

UI IMPROVEMENTS
===============

* IMPROVED: Expansion background colors now consistent in All and Ready modes
* IMPROVED: Unknown recipe text lighter gray (#909090) for better readability
* IMPROVED: Tooltip async loading fixed - no more double-hover needed

DATA UPDATES
============

* ADDED: 50+ new reagent IDs for Dragonflight & TWW expansions
  - Ores: Bismuth, Aqirite, Ironclaw Ore, Draconium Ore
  - Hides: Carapace-Backed Hide, Sporecoated Hide, Stormcharged Leather, etc.
  - Gems: Queen's Ruby, Mystic Sapphire, Vibrant Emerald, Illimited Diamond, etc.
  - Inks: Shadow Ink, Apricate Ink, Blazing Ink, Flourishing Ink, etc.
  - Cloth: Weavercloth Bolt, Duskweave, Weavercloth
  - Alloys: Core Alloy, Charged Alloy, Primal Molten Alloy
  - Engineering: Handful of Bismuth Bolts, Whimsical Wiring, Gyrating Gear, etc.
  - Alchemy: Slumbering Soul Serum, Harmonious Horticulture, Oil of Beledar's Grace
* FIXED: Corrected item IDs for Dragonflight Inscription inks (Blazing, Flourishing, Serene)
* FIXED: Corrected Illimited Diamond item ID (192869)
* FIXED: Corrected Harmonious Horticulture item ID (212563)

CODE CLEANUP
============

* REMOVED: Compact mode dead code (lumber widget only has embedded/pinned modes)
* MOVED: Crafting history functions from HDG_ConfigTab to HDG_DataTab
* FIXED: Orphaned progress bar code removed

UPDATES
=======

* UPDATED: Discord invite link changed to https://discord.gg/RWZaxJaHFP


===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.6 (Released January 2026)
===============================================================================

BUG FIXES
=========

* FIXED: Lumber farming no longer starts when receiving lumber from mail or bank
  - Only tracks actual gathering/farming, not withdrawing stored lumber
  - Prevents false farming sessions when checking mailbox or bank
* FIXED: Alts tab now shows all expansion skill levels correctly
  - Fixed expansion names stored as API names (Outland, Northrend, Dragon Isles)
  - Now properly normalizes to display names (TBC, WotLK, Dragonflight, etc.)
  - Existing data automatically migrated on character login


===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.5 (Released January 2026)
===============================================================================

NEW FEATURES
============

Lumber Farming Session Tracker
------------------------------
* NEW: Active farming stats when collecting lumber - gold/yellow row highlight
* NEW: Shows "Collected this session" count with live updates
* NEW: Rate per hour calculation displayed in real-time
* NEW: Current zone tracking for each session
* NEW: 3-phase collection animation (white flash -> gold settle -> normal)
* NEW: "End Session" button for manual session termination
* NEW: Session summary printed to chat when ending

Farming History (Data Tab)
--------------------------
* NEW: Farming sessions saved to Data tab history
* NEW: Upsert pattern - updates existing session as you continue farming
* NEW: Columns: Date/Time, Lumber, Collected, Rate/hr, Duration, Zone, Character
* NEW: CSV export includes all farming session data
* NEW: Character-realm tracking for all farming sessions

Crafting History Price Tracking
-------------------------------
* NEW: Stores AH price at time of crafting (from TSM/Auctionator)
* NEW: Stores total material cost at time of crafting
* NEW: "Price" column shows item market value
* NEW: Hover tooltip shows: Item Value, Material Cost, Profit/Loss, Price Source
* NEW: Sortable by Price column
* NEW: CSV export includes ItemPrice, MaterialCost, PriceSource columns

Profession Window Integration
-----------------------------
* NEW: "Filter Decor" button in profession window - filters to House Decor recipes
* NEW: Teal-themed buttons matching addon style
* NEW: "/hdg decor" slash command for text-based decor filtering
* NEW: Config toggle to show/hide profession window buttons

UI IMPROVEMENTS
===============

* NEW: Custom title banner with Vamoose logo image
* IMPROVED: Data tab columns reorganized and spaced for readability
* IMPROVED: Farming history Character column at end with more width
* IMPROVED: Price tooltip title clarified as "AH Price at Time of Crafting"

BUG FIXES
=========

* FIXED: Alts tab expansion order fallback using correct display names
* FIXED: Shadowlands Alchemy threshold corrected (was 140, now 80)


===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.4 (Released January 2026)
===============================================================================

BUG FIXES
=========

* FIXED: Decor Preview column alignment - header icons now align with list icons
* FIXED: Lumber tracker materials panel crash when price addon name is nil
* FIXED: Pinned lumber widget now appears above main window close button (DIALOG strata)

UI IMPROVEMENTS
===============

* IMPROVED: Preview tab status columns moved closer to scrollbar for more name space
* IMPROVED: Column right margin reduced from 8px to 2px for tighter layout


===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.3 (Released January 2026)
===============================================================================

NEW FEATURES
============

Crafting History Enhancements
-----------------------------
* NEW: Clickable items in crafting history - click to preview in Decor Preview tab
* NEW: Sortable columns - click Time, Item, or Character headers to sort
* NEW: Sort direction indicator arrows (ascending/descending)
* NEW: Character-Realm display shows full realm name for all entries

BUG FIXES
=========

* FIXED: OpenRecipe now calls twice with 0.2s delay for reliable profession window opening
* FIXED: Crafting history now uses TRADE_SKILL_ITEM_CRAFTED_RESULT event for accurate tracking
* FIXED: Sort arrows now use TGA texture instead of unicode characters

CODE QUALITY
============

* NEW: PreviewByItemID function for cross-tab navigation from crafting history
* IMPROVED: Sort arrows rendered as flippable TGA texture (textures/sort-arrow.tga)
* IMPROVED: Crafting history module reference corrected (HDG_DecorPreview)


===============================================================================
Vamoose's Housing Decor Crafting Helper - Version 2.0.2 (Released January 2026)
===============================================================================

NEW FEATURES
============

Discord Button
--------------
* NEW: Discord button in title bar (blurple "D" button)
* NEW: Click to copy invite link to clipboard
* NEW: Hover tooltip shows Discord invite URL

Contributors Section
--------------------
* NEW: "Special Thanks" section at bottom of Config tab
* NEW: Credits: Abased, Rylls, Jonnyne, JodouKast

Footer Enhancement
------------------
* NEW: Random Orc quotes in footer (Shaman blue color)
* NEW: Quotes change on each /reload or login

BUG FIXES
=========

* FIXED: Visual corruption when minimizing from Trainers tab
* FIXED: Visual corruption when minimizing from Config tab
* FIXED: Crafting Queue clear button not responding to clicks
* FIXED: Crash on first load with old SavedVariables (crafting history)
* FIXED: Decor Preview row pooling causing overlapping/corrupted text

CODE QUALITY
============

* IMPROVED: Removed duplicate GetExpansionColor from TrainersTab
* IMPROVED: Removed duplicate TEXT_COLORS from UIHelpers
* IMPROVED: Centralized expansion color lookup (supports abbreviations)
* IMPROVED: Centralized tooltip anchor configuration (CONFIG.TOOLTIP_ANCHOR)
* IMPROVED: Row pooling lifecycle properly tracks all rows in activeRows
* IMPROVED: DB_VERSION incremented to force SavedVariables refresh


===============================================================================
Version 2.0.1 (Released January 2026)
===============================================================================

NEW FEATURES
============

Lumber Tracker Pinned Mode
--------------------------
* NEW: Pin button to keep compact lumber tracker open independently
* NEW: Custom pin icon shows active/inactive state
* NEW: Pinned tracker auto-shows on login
* NEW: Persists across sessions via SavedVariables

IMPROVEMENTS
============

Decor Preview Tab
-----------------
* IMPROVED: Full 3D rotation - drag vertically to tilt model up/down
* IMPROVED: Controls hint updated to show "Drag to rotate (H+V)"

Trainer Locations
-----------------
* IMPROVED: Cross-checked all coordinates against VamooseDB
* IMPROVED: Fixed 13+ incorrect trainer locations
* IMPROVED: Updated Dragonflight trainer coordinates (Valdrakken)
* IMPROVED: Updated TWW trainer coordinates (Dornogal)
* IMPROVED: "Both" faction now shows "A/H" instead of "B" for clarity

BUG FIXES
=========
* FIXED: Compact mode now works from any tab (not just Recipes)
* FIXED: Pin button tooltip updates dynamically on click


===============================================================================
Version 2.0.0 (Released January 2026)
===============================================================================

NEW FEATURES
============

Multi-Character Profession Tracking
-----------------------------------
* NEW: Alts Tab - View account-wide profession skills at a glance
* NEW: Account Summary grid showing best skill per profession/expansion
* NEW: Color-coded skill levels (White=no data, Yellow=below threshold, Teal=ready)
* NEW: "Known by: AltName" shown on recipe tooltips when alt can craft
* NEW: Alt recipe counts shown in grey for professions you don't have
* NEW: BfA expansion normalizes Kul Tiran (Alliance) / Zandalari (Horde)

Catalog Browser (Decor Preview Tab)
------------------------------------
* NEW: "Collection" toggle shows ALL housing decor from the game catalog
* NEW: Browse every decor item in the game, not just craftable recipes
* NEW: Uses Blizzard's C_HousingCatalog API for complete catalog data
* NEW: Filters out room structures (shows only placeable decor)
* NEW: Item counter shows total items in current filtered view
* NEW: Non-craftable items show icon/name from game API
* NEW: "Uncollected" toggle filters to items you don't own yet
* NEW: Segmented toggle button design matching tab styling

Tag Filter System (Decor Preview Tab)
-------------------------------------
* NEW: Two-row filter UI with category and tag buttons
* NEW: Filter categories: Sizes, Factions, Styles, Expansions, Other
* NEW: 64 unique tags extracted from game data
* NEW: Single-select filtering (one tag at a time)
* NEW: "Filter:" and "Tags:" labels for clarity
* NEW: `/hdg tags` command dumps all tags with counts

UI IMPROVEMENTS
===============

Profession Tab Badges
---------------------
* NEW: Dual badges showing recipes known (teal) + decor collected (gold)
* NEW: Header row with book/crate icons
* NEW: Professions you don't have show "--" for recipe count
* NEW: Detailed tooltip showing missing items list

Terminology Updates
-------------------
* RENAMED: "Shopping List" is now "Crafting Queue" throughout the addon
* RENAMED: "Materials Needed" is now "Required Materials" throughout the addon

Visual Polish
-------------
* IMPROVED: Minimalist scrollbars (slim thumb, no arrows, subtle teal)
* IMPROVED: Panel headers have lighter background than list body
* IMPROVED: Craftable button redesigned as segmented [All | Ready] toggle
* IMPROVED: Craftable button state now persists across reloads
* IMPROVED: Material percentage calculation is now quantity-weighted
* IMPROVED: Minimap icon positioned outside minimap border

Code Quality
------------
* IMPROVED: Data files renamed for consistency (HDG_DecorDB, HDG_ReagentsDB, HDG_TrainersDB)
* IMPROVED: Consolidated NormalizeExpansionName function
* IMPROVED: Profession threshold data in HDG_ProfessionThresholds.lua
* FIXED: 0% items no longer shown in What Can I Craft mode

PLANNED (Future Versions)
=========================

* Power Crafting - DAG-based recursive recipe resolution
* Project Manager - Named groups with gold budgeting
* Wowhead Links - Click to open item/recipe pages


===============================================================================
Version: 1.9.5 (Released January 2026)
===============================================================================

[Released on CurseForge]

NEW FEATURES
============

"What Can I Craft?" Mode
------------------------
* NEW: Toggle button to filter recipes by material availability
* NEW: Recipes organized into tiers based on material percentage:
  - Ready to Craft (100%) - Have all materials
  - Almost Ready (75-99%)
  - Halfway There (50-74%)
  - Need Materials (<50%)
* NEW: Shows material % for professions you don't have (grayed out)
* NEW: Shows all recipes for professions you have but haven't learned yet

Crafting History Log
--------------------
* NEW: Account-wide crafting history in Config tab
* NEW: Tracks what decor items you craft and when
* NEW: Stores up to 100 entries (newest first)
* NEW: Clear History button to reset

Estimated Material Costs
------------------------
* NEW: Materials panel shows estimated total cost
* NEW: Integrates with TSM and Auctionator for price data
* NEW: Shows "Have all materials!" when complete
* NEW: Per-material cost breakdown in tooltips

Profession Window Integration
-----------------------------
* NEW: "Decor Guide" button appears in Blizzard's profession UI
* NEW: Opens addon filtered to the current profession
* NEW: Only shows for professions with decor recipes

UI IMPROVEMENTS
===============

Tab Button Styling
------------------
* IMPROVED: Inactive tabs now have subtle teal tint (brand consistency)
* IMPROVED: Tab icons keep full color but reduced opacity when inactive
* IMPROVED: Hover state brightens tabs and icons
* IMPROVED: Teal border on all tabs (brighter when active)

Visual Consistency
------------------
* IMPROVED: Cool white (#e2e8f0) applied across all tabs
* IMPROVED: Recipe rows have expansion-based background colors
* IMPROVED: Fancy title bar with colored "Vamoose's" accent
* IMPROVED: Material categories renamed to "From Vendor", "From Gathering / AH"

Config Tab
----------
* IMPROVED: Added minimap button show/hide toggle
* IMPROVED: Removed icon picker (simplified)
* IMPROVED: Cleaner layout with crafting history section

Crafting Queue
--------------
* IMPROVED: Left-click decrements quantity by 1
* IMPROVED: Right-click removes entire stack
* IMPROVED: More intuitive for crafting items one at a time

BUG FIXES
=========

* FIXED: Title bar now dynamically pulls version from TOC metadata
* FIXED: Reagent database audited - TWW, DF, SL modified crafting slots fixed
* FIXED: Added missing reagents (Gilded Vial, Slumbering Soul Serum, etc.)

CODE IMPROVEMENTS
=================

* NEW: HDG_UIHelpers.lua module for centralized UI utilities
* NEW: Centralized TEXT_COLORS and CONFIG.PADDING/SIZES constants
* MOVED: validate.lua and deploy.sh to utilities/ directory
* REMOVED: Deprecated textures/README.md and QUICK_START.txt


===============================================================================
Previous Version: 1.9.4
===============================================================================

BUG FIXES
=========

Auction House Integration - Fixed
----------------------------------
* FIXED: Shift-click materials to search Auction House now works properly
* FIXED: Right-click to add materials to search list now functional
* NEW: Auctionator integration fully implemented with API v1
* NEW: TSM (TradeSkillMaster) integration added as fallback/alternative
* IMPROVED: Click instructions now shown in material tooltips

Auctionator Integration
------------------------
* Shift-click material → Search Auction House via Auctionator.API.v1.MultiSearch
* Right-click material → Add to Auctionator search list
* Automatic detection of Auctionator addon
* Graceful fallback if addon not installed

TSM Integration (NEW)
---------------------
* Shift-click material → Opens TSM and searches Auction House (if Auctionator not available)
* Right-click material → Add to TSM search list with needed quantity
* Ctrl-click material → Show TSM market price (DBMarket)
* Full TSM_API integration for price checking and shopping

UI IMPROVEMENTS
===============

Complete UI Styling Overhaul - Slate/Teal Theme
------------------------------------------------
* NEW: Modern flat design with unified "Slate/Teal" color scheme
* NEW: Dark teal accent color (#1d4e4f) for all buttons and active tabs
* NEW: Clean white text without shadows/outlines throughout interface
* IMPROVED: Progress bars now use consistent dark teal (#2C7A7B) with opacity variations
* IMPROVED: Removed all black background borders for cleaner look
* IMPROVED: Updated profession progress text to use clean white

Progress Bar Text Overlap - Fixed
----------------------------------
* FIXED: Progress bar text no longer overlaps with percentage
* FIXED: "Collected:" header position adjusted to fit properly
* FIXED: Progress bars moved further right to prevent overlap
* IMPROVED: Clean text layout across all progress indicators

Window Position Persistence
----------------------------
* IMPROVED: Window position now properly saves and restores between sessions
* FIXED: Position saved on window move/drag
* FIXED: Position restored on addon load

Technical Details
-----------------
* Major UI code refactoring for v1.9.5 preparation
* Improved frame creation and management
* Better separation of concerns between modules


===============================================================================
Version: 1.9.3
===============================================================================

* Initial release on CurseForge
* Support for all 9 professions with housing decor recipes
* Crafting queue functionality
* Material tracking with have/need counts
* Minimap button with customizable icon
* Trainer locations for all expansions
* 3D model preview for decor items
