# YippYapp Helper — Changelog

## v1.2.0 — Raid Tools, Data Overhaul & Polish (2026-03-25)

### Recommendation System Reworked
- Crests can only be spent on their own track — addon no longer suggests "hold crests for higher track gear"
- Items now show explicit upgrade priority: "Upgrade 1st of 5 Champion", "Upgrade 2nd", etc.
- Priority based on slot value (weapons/chest/legs first, neck/wrist last)
- Crest scarcity calculated from total season budget (current + still earnable), not just inventory
- Overlap zone fix: "Use cheaper crests" only shows at rank 1 (not rank 2 where free ranks are already used)
- Profile changes instantly refresh all recommendations on the dashboard

### Raid Tools — Performance Tab (new)
- DPS rankings from Blizzard's built-in Damage Meter API (C_DamageMeter)
- Average DPS per player per split (A vs B) with imbalance detection
- Avoidable damage taken leaderboard
- Death count tracker
- Interrupt count tracker
- Uses current combat segment, falls back to overall

### Raid Tools — Overview Improvements
- Two-column layout: groups + swaps on left, composition + consumables on right
- Consumable checker: flask, food, augment rune status per player (spell ID based, taint-safe)
- Missing players listed by name next to each consumable type
- Raid buff list: one per line, cleaner layout
- Composition shown in large font with role breakdown
- Swap suggestions now show player names in bordered badges with class-colored borders
- "Swap All" button executes all suggested swaps via SwapRaidSubgroup API (raid leader/assistant only, out of combat)
- Debuff class distribution: suggests spreading Monk (Mystic Touch) and DH (Chaos Brand) across splits
- PI targets need same split (not same group) — corrected from 40yd range
- Player count balance: suggests moving healer if it fixes both size and healer imbalance
- Auto-refreshes on GROUP_ROSTER_UPDATE (instant update when players are moved)
- Group display always reserves 2 rows (no layout shift with fewer than 4 groups)

### Season 1 Data Updated
- Gear tracks: Champion 249/252/255, Hero 262/265/268, Myth 275/278/281 (ranks 2-4 corrected)
- Champion free ranks from Veteran: 2 (was 1)
- M+ crests: Heroic=Adventurer, M0=Champion, +2-3=Champion, +4-8=Hero, +9-12=Myth
- Raid: per-boss crest amounts, Void 6 bonus crest (20 base + 10 next tier), per-wing detail view
- Raid progression: clickable wing buttons (All / Voidspire / Dreamrift / Quel'Danas) with boss-by-boss detail
- Delves: Tiers 1-4 give Adventurer crests, Tier 10=Champion, Tier 11=Gilded Stash (10 Hero + 5 Myth)
- Delve cards grouped by crest type: Tier 1-4, 5-6, 7-10, 11
- Trovehunter's Bounty Map data added (tiers 4-11)
- Prey: Normal=Adventurer, Hard=Veteran, Nightmare=Champion
- Crafting: added Veteran tier, Spark of Radiance (no crests) tier
- M+ cards show ilvl ranges with track names (e.g. "259 - 263 Hero")
- M+ grouped as +2-5, +6-8, +9, +10-12

### Profile System
- Clickable dropdown on dashboard to switch profiles
- Profile change refreshes dashboard, gear recommendations, and suggestions instantly
- Hero crests now precious for Mythic Raider and M+ High profiles (weekly cap makes them limited)
- "What's New" window shows on version update with profile selector built in

### Trinket Panel — ChonkyCharacterSheet Support
- Trinket tab and panel now anchor to the actual visual right edge of the character frame
- Detects ChonkyCharacterSheet and anchors to CharacterFrameBg instead of CharacterFrame
- Panel inherits CharacterFrame scale when Chonky is active
- OnSizeChanged hook re-anchors on dynamic resize
- "All Specs" button collapses sidebar then opens app (no more panel stealing)

### Minimap Button — LibDBIcon
- Replaced custom minimap button with LibDBIcon-1.0
- Works correctly with ElvUI square minimap, SexyMap, and other minimap addons
- Draggable, position saved automatically by the library
- Embedded libraries: LibStub, CallbackHandler-1.0, LibDataBroker-1.1, LibDBIcon-1.0

### Visual Polish (inspired by Plumber addon)
- DisableSharpening on all frame borders for smooth edges at any UI scale
- ADD blend mode highlights on hover (subtle glow instead of flat color change)
- Text shadows on all headers and titles for depth
- Consistent color hierarchy: primary (0.92), secondary (0.55), tertiary (0.35)
- All frames adapt to screen resolution (dynamic sizing via GetAppFrameSize)
- All popups clamped to screen (trinket detail, PI picker, profile dropdown)
- Frame z-ordering fixed: sub-panels normalized when inside app, no addon interleaving

### What's New Window
- Welcome screen now doubles as a "What's New" popup on version updates
- Shows "Welcome to YippYapp Helper" on first install, "What's New" on updates
- Features list + version-specific highlights
- Profile selector built in for immediate setup
- "Got it" saves the version — only shows again on next update
- `/yh whatsnew` to re-show

### Bug Fixes
- Frost DK and Devourer DH spec keys corrected for trinket rankings
- TIER_QUALITY defined before use (trinket detail popup quality borders)
- Swap badge frames and PI picker rows now pooled (memory leak fix)
- Tier tracker rows pooled (memory leak fix)
- Tainted aura name strings handled via spell ID lookup + pcall fallback
- Dashboard.lua removed call to nonexistent RefreshRaidTrinketDisplay
- quickBtnText dead references removed

---

## v1.1.0 — Midnight Season 1 Overhaul (2026-03-23)

### Unified App Window
- Replaced the old popup dashboard with a single unified app frame
- All features accessible from one window with back-button navigation
- Home page dashboard with character info, crest overview, upgrade summary, farm guide, and navigation buttons

### Gear Upgrades (redesigned in-app)
- Equipment panel scaled up for readability
- Info panel widened with 2-column crest display
- Suggestions redesigned as card-style rows
- New recommendation: "Use cheaper crests" for overlap zones

### Trinket Rankings (redesigned in-app)
- 3-column layout: S-Tier, A-Tier, B-Tier side by side
- Class/spec browser with ST/AOE toggle
- Fixed persistent "Loading..." issue
- Trinket data updated with latest SimC nightly

### Raid Tools (redesigned)
- Overview tab with composition, buffs, splits, PI assignments
- Tier Tracker tab (scan-on-demand)

### Progression Dashboard (redesigned)
- Card-based single-page layout
- M+ breakpoints, Raid by difficulty, Delve breakpoints, Prey, Crafting
- Crest Sources side panel

### Welcome Screen
- Draggable macro icon for action bar
- Macro auto-created on login

### Quality of Life
- Minimap button opens the unified app
- `/yh welcome` to reset welcome screen
