Skip to content

Add spell drops to the ClickGrid binding editor - #5

Merged
voshond merged 3 commits into
mainfrom
claude/wonderful-darwin-auiyja
Oct 13, 2026
Merged

voshond merged 3 commits into
mainfrom
claude/wonderful-darwin-auiyja

Conversation

@voshond

@voshond voshond commented Oct 13, 2026

Copy link
Copy Markdown
Owner

First delivery step of todos/05-design-clickgrid-action-input.md.

  • ActionSlot widget: a drop target showing an action's icon, name and
    state, with Clear and owner-supplied buttons. Dropping and clicking
    while carrying an action take the same path; the cursor is cleared
    only after a successful save, and rejected drops leave the binding
    and cursor untouched. Combat-locked buttons follow regen events and
    release unregisters listeners and scripts.
  • Inspector "actionslot" option type; Set and Store targets now return
    the save result.
  • ClickGrid: decode spell drops as in Blizzard's click-binding UI,
    save the spell ID as text in the existing spell field, and commit a
    whole reaction group at once (Config:SetAction). Friendly and
    hostile slots per cell with a Spellbook opener disabled in combat;
    the matrix now shows both reactions with icons and inactive states.
    Typed spell IDs/names remain available.
  • Mock/API snapshot: GetCursorInfo, ClearCursor and
    PlayerSpellsUtil.OpenToSpellBookTab from wow-ui-source 1.60.1.70338.
  • Regression tests for drops, rejection, atomic replacement, cell
    switching, overrides, clearing, matrix summaries, the opener combat
    lock and widget release.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01CLCg5K48mGBckLPcxeo7pz

First delivery step of todos/05-design-clickgrid-action-input.md.

- ActionSlot widget: a drop target showing an action's icon, name and
  state, with Clear and owner-supplied buttons. Dropping and clicking
  while carrying an action take the same path; the cursor is cleared
  only after a successful save, and rejected drops leave the binding
  and cursor untouched. Combat-locked buttons follow regen events and
  release unregisters listeners and scripts.
- Inspector "actionslot" option type; Set and Store targets now return
  the save result.
- ClickGrid: decode spell drops as in Blizzard's click-binding UI,
  save the spell ID as text in the existing spell field, and commit a
  whole reaction group at once (Config:SetAction). Friendly and
  hostile slots per cell with a Spellbook opener disabled in combat;
  the matrix now shows both reactions with icons and inactive states.
  Typed spell IDs/names remain available.
- Mock/API snapshot: GetCursorInfo, ClearCursor and
  PlayerSpellsUtil.OpenToSpellBookTab from wow-ui-source 1.60.1.70338.
- Regression tests for drops, rejection, atomic replacement, cell
  switching, overrides, clearing, matrix summaries, the opener combat
  lock and widget release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLCg5K48mGBckLPcxeo7pz
The earlier entries were derived from a partial source checkout and
missed the AddButton and OnReceiveDrag method entries. Rename the mock
cursor field so it no longer matches an unrelated Blizzard global.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLCg5K48mGBckLPcxeo7pz
@voshond voshond self-assigned this Oct 13, 2026
Main split tests/spec/clickgrid_spec.lua into tests/spec/clickgrid/;
the binding-editor drop tests move with the ClickGrid Workbench specs
into clickgrid_workbench_spec.lua.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLCg5K48mGBckLPcxeo7pz
@voshond
voshond merged commit 7380e69 into main Oct 13, 2026
1 check passed
@voshond
voshond deleted the claude/wonderful-darwin-auiyja branch October 13, 2026 22:18
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