-
Notifications
You must be signed in to change notification settings - Fork 0
PR_26179_CHARLIE_038-sprites-grid-dimension-fix #278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ToolboxAid
merged 1 commit into
main
from
PR_26179_CHARLIE_038-sprites-grid-dimension-fix
Jun 28, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
66 changes: 66 additions & 0 deletions
66
docs_build/dev/reports/PR_26179_CHARLIE_038-sprites-grid-dimension-fix.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # PR_26179_CHARLIE_038-sprites-grid-dimension-fix | ||
|
|
||
| Team: CHARLIE | ||
|
|
||
| Mode: Batch governance stacked bug-fix workflow | ||
|
|
||
| Base branch: PR_26179_CHARLIE_037-sprites-animation-export | ||
|
|
||
| Branch: PR_26179_CHARLIE_038-sprites-grid-dimension-fix | ||
|
|
||
| ## Summary | ||
|
|
||
| Fixed Sprite Creator center canvas grid dimensions. The Sprite Creator page now loads the shared `gamefoundrystudio.css` stylesheet that owns the canvas styles, and the canvas grid uses explicit 16x16 and 32x32 CSS row/column templates instead of an invalid custom-property repeat count. This prevents orphan or partial rows/columns and keeps zoom display controls from changing logical grid dimensions. | ||
|
|
||
| ## Branch Validation | ||
|
|
||
| PASS | ||
|
|
||
| - Built from `PR_26179_CHARLIE_037-sprites-animation-export`. | ||
| - Scope stayed limited to Sprite Creator grid dimensions and regression coverage. | ||
| - No DB/API/schema changes. | ||
| - No browser-owned authoritative product data added. | ||
| - No start_of_day files changed. | ||
| - ZIP package created at the requested path. | ||
|
|
||
| ## Requirement Checklist | ||
|
|
||
| PASS - 16x16 mode renders exactly 16 columns and 16 rows. | ||
|
|
||
| PASS - 32x32 mode renders exactly 32 columns and 32 rows. | ||
|
|
||
| PASS - Prevents orphan or extra cells at bottom/right edge. | ||
|
|
||
| PASS - Zoom levels 100%, 200%, and 400% do not change row/column count. | ||
|
|
||
| PASS - Preview/export behavior unchanged. | ||
|
|
||
| PASS - No DB/API/schema changes. | ||
|
|
||
| PASS - No browser-owned authoritative product data. | ||
|
|
||
| PASS - No start_of_day changes. | ||
|
|
||
| PASS - Targeted Playwright coverage added. | ||
|
|
||
| ## Validation Lane | ||
|
|
||
| PASS - `node --check dev/tests/playwright/tools/SpritesToolShell.spec.mjs` | ||
|
|
||
| PASS - `git diff --check -- toolbox/sprites/index.html assets/theme-v2/css/gamefoundrystudio.css dev/tests/playwright/tools/SpritesToolShell.spec.mjs` | ||
|
|
||
| PASS - Runtime guard scan found no prohibited inline style/script/event-handler or stale placeholder text in touched runtime files. | ||
|
|
||
| PASS - `npx playwright test dev/tests/playwright/tools/SpritesToolShell.spec.mjs --workers=1 --reporter=list` | ||
|
|
||
| ## Manual Validation Notes | ||
|
|
||
| 1. Open `toolbox/sprites/index.html`. | ||
| 2. Confirm the 16x16 canvas shows a complete square with 16 rows and 16 columns. | ||
| 3. Switch to 32x32 and confirm a complete 32-row, 32-column grid. | ||
| 4. Switch through 100%, 200%, and 400% zoom and confirm the cell count and rows/columns do not change. | ||
| 5. Confirm no partial trailing row or right-edge orphan cells are visible. | ||
|
|
||
| ## ZIP | ||
|
|
||
| `dev/workspace/zip/PR_26179_CHARLIE_038-sprites-grid-dimension-fix_delta.zip` | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| assets/toolbox/sprites/js/index.js | ||
| assets/theme-v2/css/gamefoundrystudio.css | ||
| dev/tests/playwright/tools/SpritesToolShell.spec.mjs | ||
| docs_build/dev/reports/PR_26179_CHARLIE_037-sprites-animation-export.md | ||
| docs_build/dev/reports/PR_26179_CHARLIE_038-sprites-grid-dimension-fix.md | ||
| docs_build/dev/reports/codex_changed_files.txt | ||
| docs_build/dev/reports/codex_review.diff | ||
| toolbox/sprites/index.html |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this BUILD handoff, the repo
AGENTS.mdPackaging section requires the delta ZIP at<project folder>/tmp/<TASK_NAME>_delta.zip, but the report recordsdev/workspace/zip/...instead. Automation or reviewers following the documented contract will look intmp/and miss the artifact for this task, so please generate/report the ZIP attmp/PR_26179_CHARLIE_038-sprites-grid-dimension-fix_delta.zipwhile keeping it untracked.Useful? React with 👍 / 👎.