Repository navigation
Add spell drops to the ClickGrid binding editor - #5
Merged
Merged
Conversation
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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First delivery step of todos/05-design-clickgrid-action-input.md.
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.
the save result.
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.
PlayerSpellsUtil.OpenToSpellBookTab from wow-ui-source 1.60.1.70338.
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