Commit Graph
159 Commits
Author SHA1 Message Date
Brues 5fae0bd459 Add priest shadowform auto-paging, sharing the druid-stealth flag
Mirror the druid-stealth page switch for priests: swap to the auto page
(8) while in Shadowform, back to the default page when it drops. Driven
by UPDATE_SHAPESHIFT_FORM (form ID 28), which fully covers shadowform on
its own -- no prowl-style stealth substate to chase.

Fold the new state into the existing prowl machinery instead of
duplicating it: prowl/shadowform are mutually exclusive by class, so one
shared `formpaging` flag and one page constant serve both, and the
OnUpdate switch collapses to a single class-gated block.
2026-07-20 02:40:37 -05:00
Brues bd4a40b0f2 Add newitem module: highlight freshly-acquired bag items
New module built on ClassicAPI's C_NewItems + BAG_NEW_ITEMS_UPDATED.
Glows bag slots (bags 0-4) holding items acquired since login, keyed on
item GUID so the flag survives rearranging. Hovering an item
acknowledges it (RemoveNewItem); closing the bags clears the rest via
ClearAll. Glow is UI-ActionButton-Border, sized off the slot width so it
tracks the icon_size config.

To stay decoupled from the bag frames, the bag module now broadcasts a
reusable "bag:closed" event through pfUI.events from its OnHide (carrying
the container so subscribers can tell backpack from bank), guarded so the
initial setup Hide() doesn't fire a phantom close.

Config: appearance.bags.newitem + newitem_color, with GUI toggles.
2026-07-17 14:47:22 -05:00
Brues 1510969105 Unused strings 2026-07-11 12:57:07 -05:00
Brues fb5230828c Add Loot History module
A pfUI-native group-loot roll history window built on ClassicAPI's
C_LootHistory backport, adapted from the anniversary Blizzard reference.

- Movable/scrollable window (ESC-closable, Clear button) listing rolled
  items; each row expands to per-player rolls.
- Item icon/name/quality rendered via the !!!ClassicAPI Item mixin
  (Item:CreateFromItemLink + ContinueOnItemLoad), so uncached items load
  asynchronously and repaint their row.
- Winner shown on the collapsed row (name/roll/roll-type) and marked in the
  expanded list with a checkmark left of the name (matches the reference).
- Expansion state keys on the stable rollID; events (FULL_UPDATE /
  ROLL_CHANGED / ROLL_COMPLETE) drive a rebuild while shown, and re-attach
  the scroll child so a growing list scrolls without a /reload.
- Toggle via /loothistory or /lh; optional auto-show on new rolls behind
  loothistory.autoshow (default off).
2026-07-11 00:02:31 -05:00
Brues 2a5f480839 Show addon dependencies in tooltip
Add display of required and optional addon dependencies to the addons tooltip. Introduce AddDependencyLines helper in modules/addons.lua which lists dependencies with color coding: green for loaded, yellow for present but unloaded, and red for missing (uses new T["Missing"]). Store dependency arrays on addon frames (adeps / aoptdeps) using GetAddOnDependencies and C_AddOns.GetAddOnOptionalDependencies. Add translation keys 'Dependencies', 'Optional Dependencies', and 'Missing' to env/translations_enUS.lua.
2026-07-10 20:26:05 -05:00
Brues 0402db380a logically sort Castbar options 2026-07-08 09:47:13 -05:00
Brues a93e9f530c Add spell name & timer text alignment options for unit frame castbars
Adds per-unit (player/target/focus) dropdowns to align the castbar
spell name (left text) and cast timer (right text) Left/Center/Right.
Both share a castbaralign dropdown; defaults preserve current behavior
(name LEFT, timer RIGHT). Applied at castbar creation, so takes effect
on /reload like the other castbar options.
2026-07-07 16:26:48 -05:00
Brues ee17a39445 updatenotify: isolate fork from upstream pfUI traffic + handle dev builds
Switches the addon-message prefix to "pfUI-brues" so we don't share an
inbound queue with upstream pfUI installs at all — they don't register
a listener for this prefix, so our broadcasts get dropped at the engine
level instead of needing branch-string filtering on their end. The
"main" branch tag stays as a tiebreaker for any future fork variant
sharing this prefix.

Source/dev installs leave the toc Version as "@project-version@" until
release tooling substitutes it. pfUI.lua now stamps those as "dev" with
major/minor/fix=0 instead of silently falling back to 1.2.0, and
updatenotify short-circuits on pfUI.version.string == "dev" before
broadcasting so dev installs don't ship a stale low version to everyone
in guild/raid. Single source of truth — the dev marker lives in pfUI.lua.

URLs centralize via the toc's X-Website. updatenotify and firstrun read
it via GetAddOnMetadata + string.format("%s"), and all eight translation
files swap their hardcoded shagu.org references for the same %s slot.

Drive-bys: groupsize math uses ClassicAPI's IsInRaid/IsInGroup; toc
Author typo "modfied" → "modified".
2026-06-22 13:51:00 -05:00
Meow 33acd7bbf5 added new button "Switch to current zone" 2026-03-12 06:34:33 +01:00
Meow b0f6984f22 Revert "Merge pull request #78 from me0wg4ming/revert-77-sp-haste-display"
This reverts commit 791feed6d0, reversing
changes made to 054149f0e2.
2026-03-01 02:13:25 +01:00
Meow 30d36a5af1 Revert "add optional sp/haste display to player frame" 2026-02-28 22:44:49 +01:00
pepopo978 3373751884 add optional sp/haste display to player frame 2026-02-28 12:41:34 -08:00
Meow 37beca7103 New throttling menu
New throttling menu
2026-02-06 08:07:33 +01:00
shagu 10d24b0ba1 env: update translation tables 2025-06-12 15:34:40 +02:00
shagu ed64c52745 env: update translation tables 2025-06-09 19:26:35 +02:00
shagu 7b4c839dbd env: update translation tables 2025-05-25 15:37:36 +02:00
shagu 967448002c env: update translation tables 2025-05-22 08:47:56 +02:00
shagu d93b2feabd env: update translation tables 2025-03-03 17:56:46 +01:00
shagu cc1c97ccba env: update translation tables 2025-02-15 17:25:44 +01:00
shagu e5b3177e8d env: update translation tables 2025-02-14 23:05:27 +01:00
shagu e5d5a474e7 env: update translation tables 2025-02-04 18:26:26 +01:00
shagu bdcb9dd72a env: update translation tables 2024-12-30 12:38:14 +01:00
bhhandley 50e0e33ff7 minimap: add options for zone and coordinate visibility 2024-12-30 12:36:41 +01:00
shagu a7e4142696 env: update translations 2024-11-03 10:56:50 +01:00
bhhandley d466fdd2db panel: add total line to gold info panel 2024-10-06 10:03:24 +02:00
Artur Morozov f5dcfa6e0e mapcolors: rewrite module implementation 2024-06-07 09:16:02 +02:00
Cameron Weaver (Clutch) 2e8d3e2f7a nameplate: add option to show guild names 2024-02-26 17:41:29 +01:00
Cameron Weaver (Clutch) 3cb2c70385 chat: option to /who search unknown names 2023-07-24 13:13:05 +02:00
Cameron Weaver (Clutch) 31b8f11dc0 nameplates: add option for friendly text class color 2023-03-12 20:06:38 +01:00
shagu 9f19977fce env: update translations 2023-01-27 18:04:32 +01:00
shagu 027730b53b unlock: add info about scrolling to change scale 2023-01-09 18:47:48 +01:00
shagu 5f6d9b0716 env: update translations 2021-12-13 04:12:56 +01:00
shagu ef3af4bc56 unitframes: adjust custom portrait code
* align indentation to codestyle
* remove option to enable custom size
* remove obsolete translations
2021-10-24 14:21:18 +02:00
Mr_Rosh c957fbe638 unitframes: add option for custom portrait size 2021-10-22 19:51:11 +03:00
shagu 0b107eecc6 env: update translations 2021-08-25 19:04:36 +02:00
shagu 4446e99c63 env: update translations 2021-01-18 17:41:31 +01:00
shagu dbfa98da39 env: update translations 2021-01-10 12:47:37 +01:00
shagu e17d026de7 env: update translations 2020-11-16 15:29:23 +01:00
shagu d77886c78d env: update translations 2020-10-19 18:36:25 +02:00
shagu 1811992925 env: update translations 2020-09-20 13:08:08 +02:00
shagu 99c5ccdef3 env: update translations 2020-09-13 12:26:31 +02:00
DennisWG 09498bc6cb xpbar: add option to not overlap the xpbars 2020-07-28 18:20:47 +02:00
shagu 86b8c092f9 env: update translations 2020-07-23 19:50:57 +02:00
shagu a4ba71b3ad env: update translations 2020-07-12 11:15:56 +02:00
shagu a30c2f60f2 env: update translations 2020-07-01 17:58:39 +02:00
shagu 29cd138de9 env: update translations 2020-07-01 17:33:40 +02:00
shagu c55cf1348b env: update translations 2020-06-21 18:56:58 +02:00
shagu c187e58560 env: update translations 2020-06-16 19:01:15 +02:00
shagu dc5ebfd9ed env: update translations 2020-06-15 19:16:24 +02:00
shagu 3c774986cc env: update translations 2020-06-15 00:54:58 +02:00