Skip to content

Commit c8f118c

Browse files
committed
Increase Tools Index tile image size using Theme V2 pattern - PR_26152_053-tools-index-tile-image-size
1 parent 185bf56 commit c8f118c

2 files changed

Lines changed: 42 additions & 2 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# PR_26152_053 Tools Index Tile Image Size Validation
2+
3+
## Scope
4+
- Updated only `tools/index.html` as the affected implementation page.
5+
- Used existing Theme V2 CSS/classes for the Tools Index tile image pattern.
6+
- Did not add page-local CSS or tool-local CSS.
7+
- Did not change Theme V2 CSS or unrelated CSS.
8+
- Did not change individual tool runtime pages.
9+
10+
## Change summary
11+
- Switched the root Tools Index stylesheet from `assets/css/styles.css` to `assets/css/theme/v2/theme.css`.
12+
- Replaced the generated tile list container class from legacy `accordion-stack` to existing Theme V2 `accordion-group`.
13+
- Kept the existing renderer-owned `control-card`, `card-media`, `card-grid`, badge, description, link, and group color classes intact.
14+
15+
## Root Tools Index validation
16+
PASS - Opened only `/tools/index.html` with a targeted local server and Playwright Chromium.
17+
PASS - Page loaded Theme V2 CSS and did not load `assets/css/styles.css`.
18+
PASS - Generated 18 Tools Index cards.
19+
PASS - Tile preview images are larger/readable: minimum measured image size was 339px by 415px, compared with the previous measured 210px by 263px baseline.
20+
PASS - Default A-Z sorting rendered in ascending title order.
21+
PASS - Order button toggled to descending title order.
22+
PASS - Grouped button rendered 9 grouped accordions with cards in every group.
23+
PASS - Tile outlines matched the rendered group swatch colors, with 8 distinct group outline colors detected.
24+
PASS - All tile images loaded with non-zero natural dimensions.
25+
PASS - All badge image resources loaded.
26+
PASS - All tile descriptions rendered.
27+
PASS - All tile/page links fetched successfully under the page base path.
28+
PASS - Header/footer partials and root Tools Index support JavaScript loaded.
29+
PASS - No browser console errors and no failed requests were detected.
30+
31+
## Static validation
32+
PASS - `git diff --name-only -- "*.css"` returned no CSS files.
33+
PASS - `git diff --name-only` returned only `tools/index.html` before report artifacts were written.
34+
PASS - `git diff --check -- tools/index.html` completed without whitespace errors.
35+
PASS - `tools/index.html` contains no `<style>` blocks, inline script blocks, inline event handlers, inline `style` attributes, or `imageDataUrl` references.
36+
37+
## Tests intentionally not run
38+
- No repo-wide tests were run.
39+
- No tests outside the affected root/GameFoundryStudio paths were run.
40+
- No individual tool runtime pages were opened or changed.

tools/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<title>Tools - Game Foundry Studio</title>
99
<meta name="description" content="Game Foundry Studio creator tools.">
1010
<link rel="icon" href="assets/images/favicon.svg" type="image/svg+xml">
11-
<link rel="stylesheet" href="assets/css/styles.css">
11+
<link rel="stylesheet" href="assets/css/theme/v2/theme.css">
1212
</head>
1313

1414
<body>
@@ -26,7 +26,7 @@ <h1>Every tool gets its own branded tile.</h1>
2626
<button class="btn" type="button" data-tools-order="ascending" aria-pressed="true">Order A-Z</button>
2727
<button class="btn" type="button" data-tools-sort="grouped" aria-pressed="false">Grouped</button>
2828
</div>
29-
<div class="accordion-stack" data-tools-accordion-list></div>
29+
<div class="accordion-group" data-tools-accordion-list></div>
3030
</div>
3131
</section>
3232
</main>

0 commit comments

Comments
 (0)