Skip to content

feat(raidframes): Right and then Down grid group growth - #3586

Merged
EllesmereGaming merged 1 commit into
EllesmereGaming:mainfrom
Delwing:feat/raidframes-right-then-down-grid
Nov 24, 2026
Merged

EllesmereGaming merged 1 commit into
EllesmereGaming:mainfrom
Delwing:feat/raidframes-right-then-down-grid

Conversation

@Delwing

@Delwing Delwing commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a Right and then Down option to the Raid Frames Group Growth dropdown: groups fill a row left to right, and the next row starts below, instead of running in one long line. It is the row-first counterpart of the existing Down and then Right grid (#2347).

A new Groups Before Wrap slider (1-7) in the Group Growth cog sets how many groups fill a row (Right and then Down) or a column (Down and then Right) before wrapping. Each custom raid size's cog gets its own Group Growth option and slider, like its Center Groups and Unit Growth. The slider is greyed out unless a grid growth is selected.

  • The default is 2, the value Down and then Right always used, so existing layouts do not change.
  • Built on the shared helpers from feat(raidframes): Down and then Right grid group growth #2347: ns._RFGroupFlow and ns._RFFootprint take the wrap count, so the live layout, the 20-player preview, the size previews and the unlock box use the same layout calculation.
  • The unlock box is still sized for four groups.
  • Merged mode cannot wrap, so the new option is greyed out there and renders as Right, like Down and then Right.
  • Center Groups stays unavailable for both grids. Boss, pet and extra frames attach to it the same way as to Down and then Right.
  • New option strings only; existing translations are untouched.

How was it tested?

  • In game on the WoW Forever client, with a 20-player raid preview and Groups Before Wrap at 3: groups 1-3 fill the first row and group 4 starts the second.
  • All changed files compile under Lua 5.1. guardrails.py passes every other check (the compile check needs a 5.1 luac, which I compiled against separately).
  • bash .tools/extract-locale-keys.sh leaves _keys.txt unchanged.

Screenshots

Before (Right):
Before: Right

After (Right and then Down, Groups Before Wrap 3):
After: Right and then Down, Groups Before Wrap 3

Checklist

  • New settings default OFF: the new growth is opt-in, and the slider's default (2) reproduces the current Down and then Right layout
  • Zero cost while disabled: N/A, no new events, hooks or tickers
  • Cheap while enabled: N/A, a little extra arithmetic in the existing layout pass
  • No writes onto Blizzard-owned frames: N/A
  • Tested in-game; no version gates or pre-Midnight APIs added: tested on the Forever client, not on live

Adds a "Right and then Down" Group Growth: groups fill a row before the
next row starts below. A new "Groups Before Wrap" slider (Group Growth cog
and each raid size's cog) sets how many groups fill a column or row before
wrapping, for both grid flows. It defaults to 2, so existing "Down and
then Right" layouts are unchanged.
@Delwing
Delwing marked this pull request as ready for review November 22, 2026 17:30
@EllesmereGaming
EllesmereGaming merged commit 4f2aaec into EllesmereGaming:main Nov 24, 2026
2 checks passed
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.

2 participants