Skip to content

Restructure into core/ and elements/ modules and remove dead code - #9

Merged
pedrozc90 merged 15 commits into
masterfrom
refactor/restructure
Oct 24, 2026
Merged

pedrozc90 merged 15 commits into
masterfrom
refactor/restructure

Conversation

@pedrozc90

Copy link
Copy Markdown
Member

Restructures the addon into small focused modules and removes dead code, with no intended change to in-game behavior or visuals.

Changes

  • Structure: split Filger.lua into core/button.lua (button widget), core/element.lua (layout + spawn) and elements/cooldowns.lua; family auras moved to elements/[Family]/auras.lua.
  • Spawn: dispatch on explicit element type instead of filter/groups; auras and cooldowns share button acquisition and render path.
  • Cooldowns: casted/active state is created per element instead of on the prototype.
  • Config: aura frame layout defined once in config.lua; unused API, config fields and commented code removed.
  • Libraries: removed unused LibClassicDurations and CallbackHandler-1.0.
  • ElvUI/Tukui: button backdrop deferred to ElvUI; Classic dispel borders colored under Tukui/ElvUI.
  • Fix: removed load-time print from data files that tainted chat history (fixes Load-time print in data/Standard/spells.lua taints chat history #6).
  • Normalized line endings to LF; documented load order in Filger.toc.

Testing

  • make check (luacheck) passes.
  • Verify in-game on Retail and Classic clients: auras and cooldowns display, with and without ElvUI/Tukui.

@pedrozc90
pedrozc90 merged commit 1df802c into master Oct 24, 2026
1 check passed
@pedrozc90
pedrozc90 deleted the refactor/restructure branch October 24, 2026 03:05
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.

Load-time print in data/Standard/spells.lua taints chat history

1 participant