Skip to content

Commit 2e125ca

Browse files
committed
Audit safe CSS replacements and close template consistency gaps - PR_26154_023-template-consistency-safe-css-audit
1 parent f92cf9d commit 2e125ca

27 files changed

Lines changed: 193 additions & 52 deletions

admin/controls.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Controls - Game Foundry Studio</title>
88
<meta name="description" content="Game Foundry Studio controls and form component examples.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

admin/grouping-colors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Grouping Colors - Game Foundry Studio</title>
88
<meta name="description" content="Game Foundry Studio tool grouping and badge color reference.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

admin/ratings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Ratings - Game Foundry Studio</title>
88
<meta name="description" content="Game Foundry Studio rating reference for games, content, playability and community quality.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

admin/themes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Themes - Game Foundry Studio</title>
88
<meta name="description" content="Plan theme administration for Game Foundry Studio.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

community/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Community - Game Foundry Studio</title>
88
<meta name="description" content="Game Foundry Studio creators, players, and shared projects.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

company/contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Contact - Game Foundry Studio</title>
88
<meta name="description" content="Plan contact options for Game Foundry Studio.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Documentation - Game Foundry Studio</title>
88
<meta name="description" content="Game Foundry Studio documentation.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

docs/reference.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Reference - Game Foundry Studio</title>
88
<meta name="description" content="Plan reference resources for Game Foundry Studio.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

docs/support.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Support - Game Foundry Studio</title>
88
<meta name="description" content="Plan support resources for Game Foundry Studio creators.">
99
<link rel="icon" href="/favicon.svg">
10-
<link rel="stylesheet" href="../assets/theme/v2/css/styles.css">
10+
<link rel="stylesheet" href="../assets/theme/v2/css/theme.css">
1111
</head>
1212

1313
<body>

docs_build/dev/codex_commands.md

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,45 @@
22

33
Task:
44

5-
- `PR_26154_022-toolbox-footer-template-consistency-bundle`
5+
- `PR_26154_023-template-consistency-safe-css-audit`
66

77
Commands run:
88

9-
- `Get-Content .codex/skills/repo-build/SKILL.md`
109
- `Get-Content docs_build/dev/PROJECT_INSTRUCTIONS.md`
11-
- Targeted inspection of:
10+
- `Get-Content docs_build/dev/reports/template_consistency_audit_report.md`
11+
- Inspected:
12+
- `assets/theme/v2/css/styles.css`
13+
- `assets/theme/v2/css/theme.css`
1214
- `_page_template_v2.html`
1315
- `toolbox/_tool_template-v2/index.html`
14-
- `assets/theme/v2/partials/header-nav.html`
15-
- `assets/theme/v2/partials/footer.html`
16-
- `assets/theme/v2/js/gamefoundry-partials.js`
17-
- `toolbox/index.html`
18-
- `toolbox/tools-page-accordions.js`
19-
- active route tests and validators
20-
- Renamed `tools/` to `toolbox/`.
21-
- Renamed `toolbox/_templates-v2/` to `toolbox/_tool_template-v2/`.
22-
- Updated active references from `tools/` to `toolbox/` across public routes, scripts, tests, docs_build references, and Workspace/tool launch paths.
23-
- Updated `docs_build/dev/PROJECT_INSTRUCTIONS.md` to name `toolbox/_tool_template-v2` as the required first-class tool template source.
24-
- Updated `assets/theme/v2/partials/footer.html` to the requested footer IA.
25-
- Updated `assets/theme/v2/js/gamefoundry-partials.js` route/root-segment handling for `toolbox`.
26-
- Added `theme.css` wiring to `marketplace/index.html` for shared Theme V2 nav/footer behavior.
27-
- Corrected CSS asset imports in `assets/theme/v2/css/styles.css` back to `tools/grouping/...`.
28-
- Created:
29-
- `docs_build/dev/reports/template_consistency_audit_report.md`
30-
- `docs_build/dev/reports/toolbox_footer_template_bundle_report.md`
31-
- Ran structural validation for PR021 cleanup, footer IA, template rename, toolbox rename, and tools index ordering.
32-
- Ran active HTML/CSS path validation.
33-
- Ran targeted `node --check` and JSON parse validation.
16+
- active public/root pages from the PR_26154_022 audit
17+
- active toolbox pages from the PR_26154_022 audit
18+
- Ran targeted stylesheet coverage checks for public/root pages using `styles.css`.
19+
- Replaced `styles.css` with `theme.css` for safe public/root pages only.
20+
- Added `theme.css` wiring to PR022-listed active toolbox pages where the tool template clearly expects it.
21+
- Added missing ToolDisplayMode host markers to `toolbox/builder/index.html` and `toolbox/creator/index.html`.
22+
- Left aggregate-only CSS cases documented for later approved Theme V2 extraction.
23+
- Left `toolbox/cloud/index.html` documented as an ambiguous display-only page.
24+
- Reran the template consistency audit and recorded before/after mismatch counts.
25+
- Ran targeted reference checks for:
26+
- `assets/theme/v2/css/styles.css`
27+
- `assets/theme/v2/css/theme.css`
28+
- `_page_template_v2.html`
29+
- `toolbox/_tool_template-v2`
30+
- Ran static path validation for changed active HTML and CSS references.
31+
- Ran targeted static syntax validation for changed file types.
3432
- Ran `git diff --check`.
35-
- Ran `npm run test:workspace-v2`.
36-
- Ran a focused Playwright marketplace nested-menu visibility check.
3733
- Ran `npm run codex:review-artifacts`.
3834
- Packaged repo-structured ZIP:
39-
- `tmp/PR_26154_022-toolbox-footer-template-consistency-bundle_delta.zip`
35+
- `tmp/PR_26154_023-template-consistency-safe-css-audit_delta.zip`
4036

4137
Validation summary:
4238

43-
- PASS structural validation for PR021 cleanup, exact footer IA, active toolbox rename, active template rename, and toolbox index alphabetical ordering.
44-
- PASS active HTML/CSS path validation: 66 HTML files and 515 references checked.
45-
- PASS targeted static syntax validation: 34 JS/MJS files checked and 4 JSON files parsed.
46-
- PASS focused marketplace menu browser check: Toolbox, Objects, and Worlds menus visible as expected with no failed requests.
39+
- PASS targeted PR023 reference checks: 14 safe public/root pages no longer reference `styles.css`, expected aggregate-only public/root references remain documented, and template source paths exist.
40+
- PASS template consistency audit rerun: public/root pages improved from 15/43 matching to 28/43 matching; active toolbox pages improved from 11/20 matching to 19/20 matching.
41+
- PASS static path validation for changed active HTML/CSS references.
42+
- PASS targeted static syntax validation for changed file types.
4743
- PASS `git diff --check`.
48-
- PASS `npm run test:workspace-v2`.
44+
- SKIPPED `npm run test:workspace-v2` because this PR did not change active toolbox launch or navigation behavior.
4945
- SKIPPED tests against `old-tools/`, `old_games/`, and `old_samples` per request.
5046
- SKIPPED full samples smoke test per request.

0 commit comments

Comments
 (0)