6 Commits
Author SHA1 Message Date
mm akzkak 7da6d4578d Use a private tooltip with pfUI styling 2026-11-15 17:34:11 +01:00
Si Ha f2f428191e List only boss fights in segment menu and History while boss-only is on; delete history by entry 2026-09-28 01:25:24 +02:00
kobeniiiiii 5cc3a7478e Add pfUI chat dock, class icons, ability icons, fix text collision and window bounds
New-user feedback batch:
- New optional pfUI right-chat-panel dock (UI_PfuiDock.lua), using
  pfUI's real pfUI.thirdparty.meters:RegisterMeter API (same one
  TWThreat/SW_Stats/KTM use) - opt-in via Options, off by default.
- New "Show class icon" option - a real class icon before the name on
  each bar, independent of the existing class-colored fill.
- Spell/melee icons added to the breakdown window: the "Top Ability"
  stat row, and a large icon next to the name when a specific ability
  is selected in the detail panel.
- Fixed text collision across the breakdown window (detail rows,
  per-ability icon list, target list) and proactively in the main
  window's bars - name text was never bounded against value text in
  any of them, so long names/values could run into each other.
- Main window raised to TOOLTIP strata (highest) so it can't end up
  hidden behind other windows.
- Every CombatLedger window now uses SetClampedToScreen(true) - can no
  longer be dragged/pushed off-screen.
2026-08-21 10:24:04 -05:00
kobeniiiiii 53ed531e92 Fix pfUI false-positive detection, square bar textures, add real dropdowns
- CL.HasPfui() was inferring pfUI's presence from the shape of the
  `pfUI` global (existence, then pfUI.api, then a specific function on
  it) - all of which stayed true on a client with pfUI genuinely not
  loaded (confirmed via IsAddOnLoaded returning false, plus a
  completely unstyled vanilla UI). Something else on this client fully
  populates a pfUI-shaped table without pfUI ever loading. Switched to
  IsAddOnLoaded("pfUI") directly - authoritative, sidesteps the whole
  problem. Fixes "Match pfUI" staying visible/active with pfUI off.
- Resized the four bundled bar textures (ElvUI/Gradient/Striped/TukUI)
  from 256x32 to square 32x32 - this client only loads square status
  bar textures, not just power-of-two on each axis, which is why they
  silently fell back to whatever was already showing. Also added a
  generated square "Smooth Gradient" texture, replacing Blizzard's own
  Raid-Bar-Hp-Fill (same non-square problem, can't be fixed directly).
- Bar texture/Font/Number format in Options are now real dropdowns
  (click opens the full list, same widget the Mode/Segment buttons use)
  instead of cycle-on-click - moved the shared dropdown widget into
  Core.lua (CL.ShowDropdown) so both files use one implementation.
- Swept the remaining Blizzard rounded-Tooltip-style backdrops (History
  rows/buttons, Report toggle buttons, Options window/buttons, the
  dropdown menu) to the same flat WHITE8X8 style already applied to the
  main window, for visual consistency.
- Fixed button hover leaving the border stuck class-colored - the
  restore-on-leave logic still used the old theme-color params instead
  of the new flat near-black default.
- Window opacity can now go down to 0%.
2026-08-21 09:42:57 -05:00
kobeniiiiii c5162efae6 Add encounter breakdown reports, fix raid encounter-boundary clearing, polish threat target swaps
- New Encounter Breakdown report window: bucketed damage/healing/taken
  time-series per saved encounter with a graph and leaderboard drill-down
- Fix encounters ending prematurely in raids: PLAYER_REGEN_ENABLED no
  longer force-finishes while other raid/party members are still
  UnitAffectingCombat - waits for the group to actually clear instead
- Threat mode no longer flashes to empty on target swap - holds the
  previous target's bars until fresh data lands, or 2s timeout if it
  never does
2026-08-20 22:19:38 -05:00
kobeniiiiii c4c0547284 Initial commit: CombatLedger v0.3.0
A combat meter for WoW 1.12 built on Nampower's structured combat
events instead of chat-log text parsing. Tracks Damage, Healing,
Damage Taken, Dispels, Debuffs Given, Deaths, and live Threat (via
this server's UnitDetailedThreatSituation addon-message API), each
with click-through per-ability/per-target breakdowns, across any
number of independent meter windows, plus Current/Overall/History
segments and a death recap.
2026-08-20 15:54:38 -05:00