Skip to content

Commit 69fdb65

Browse files
committed
Clean Tool Template branding and update base path - PR_26152_277-tool-template-cleanup
1 parent e31a949 commit 69fdb65

2 files changed

Lines changed: 44 additions & 9 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Tool Template Cleanup
2+
3+
Task: PR_26152_277-tool-template-cleanup
4+
5+
## Scope Completed
6+
7+
- Updated `tools/_templates-v2/index.html`.
8+
- Changed `<base href="../../GameFoundryStudio/">` to `<base href="/GameFoundryStudio/">`.
9+
- Renamed visible page title and header text from `AI Assistant` to `Tool Template`.
10+
- Replaced AI Assistant-specific visible copy with reusable Toolbox tool template copy.
11+
- Preserved the existing left/center/right workspace structure.
12+
- Preserved the existing ToolDisplayMode host element and behavior.
13+
- Did not add or modify CSS.
14+
- Did not change functionality.
15+
16+
## Text Updates
17+
18+
- `<title>` is now `Tool Template - Game Foundry Studio`.
19+
- Page kicker is now `Toolbox Template`.
20+
- Page heading is now `Tool Template`.
21+
- Lede now describes the page as a reusable Toolbox tool template.
22+
- Setup, Workspace, and Output panel copy now describe reusable template areas.
23+
24+
## Path Updates
25+
26+
- `tools/_templates-v2/index.html`: `<base href="../../GameFoundryStudio/">` changed to `<base href="/GameFoundryStudio/">`.
27+
- The final base path keeps existing relative CSS, JS, image, and partial references resolving under `/GameFoundryStudio/assets/...` when the repo root is served by a local dev server.
28+
29+
## Intentional Non-Changes
30+
31+
- `data-tool-slug="ai-assistant"` and `data-tool-icon-src="assets/images/badges/ai-assistant.png"` were left unchanged because they are non-visible ToolDisplayMode asset hooks and no generic template badge or character asset exists in the shared image folders. Changing the slug would point ToolDisplayMode at missing template images.
32+
33+
## Validation
34+
35+
- Required validation: `git diff --check`

tools/_templates-v2/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
<head>
55
<meta charset="utf-8">
6-
<base href="../../GameFoundryStudio/">
6+
<base href="/GameFoundryStudio/">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<title>AI Assistant — Game Foundry Studio</title>
9-
<meta name="description" content="Game Foundry Studio: Build. Play. Share.">
8+
<title>Tool Template - Game Foundry Studio</title>
9+
<meta name="description" content="Reusable Toolbox tool template with Theme V2 navigation, a left/center/right workspace, and a ToolDisplayMode host area.">
1010
<link rel="icon" href="assets/images/favicon.svg" type="image/svg+xml">
1111
<link rel="stylesheet" href="assets/css/styles.css">
1212
<link rel="stylesheet" href="assets/css/theme/v2/theme.css">
@@ -17,9 +17,9 @@
1717
<main>
1818
<section class="page-title">
1919
<div class="container">
20-
<div class="kicker">Foundry Bot</div>
21-
<h1>AI Assistant</h1>
22-
<p class="lede">Get AI help with code, assets, logic and design.</p>
20+
<div class="kicker">Toolbox Template</div>
21+
<h1>Tool Template</h1>
22+
<p class="lede">Reusable Toolbox tool template for future Toolbox tools.</p>
2323
</div>
2424
</section>
2525
<section class="section">
@@ -32,14 +32,14 @@ <h2>Toolbox</h2>
3232
<div class="accordion-stack">
3333
<details class="vertical-accordion" open>
3434
<summary>Setup</summary>
35-
<div class="accordion-body">AI Assistant setup wireframe.</div>
35+
<div class="accordion-body">Starting layout for tool setup controls.</div>
3636
</details>
3737
</div>
3838
</aside>
3939
<div data-tool-display-mode data-asset-root="assets/images" data-tool-slug="ai-assistant" data-tool-icon-src="assets/images/badges/ai-assistant.png"></div>
4040
<section class="tool-center-panel"><img src="assets/images/forge-bot-single.png" alt="ForgeBot">
4141
<h2>Workspace</h2>
42-
<p>AI Assistant: Get AI help with code, assets, logic and design.</p>
42+
<p>Reusable starting point for Toolbox tools with shared Theme V2 navigation, header, footer, and ToolDisplayMode host area.</p>
4343
</section>
4444
<aside class="tool-column tool-group-ai-learning">
4545
<div class="tool-column-header forge-gold">
@@ -48,7 +48,7 @@ <h2>Inspector</h2>
4848
<div class="accordion-stack">
4949
<details class="vertical-accordion" open>
5050
<summary>Output</summary>
51-
<div class="accordion-body">AI Assistant output wireframe.</div>
51+
<div class="accordion-body">Starting layout for tool output and inspection controls.</div>
5252
</details>
5353
</div>
5454
</aside>

0 commit comments

Comments
 (0)