Skip to content

Commit 45dec38

Browse files
author
DavidQ
committed
Tweaks
1 parent dce37cd commit 45dec38

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

src/engine/ui/hubCommon.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ h1 {
6060

6161
.subtitle {
6262
margin: 0;
63-
max-width: 980px;
63+
max-width: 1024px;
6464
color: var(--muted, #a9b3c3);
6565
line-height: 1.6;
6666
}

tools/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@
2929
<section class="hero">
3030
<p class="subtitle">Launch the first-class art and scene tools from one registry-driven surface. The landing page
3131
shows only active, user-facing tools and keeps preserved legacy content out of the main launcher.</p>
32-
<p class="subtitle">Use Open Tool for normal day-to-day use, cleanest behavior, and quickest direct debugging.<br />
33-
Use Open In Workspace Manager for integration checks: shared shell behavior, tool switching (prev/next), and optional JSON
34-
state handoff.</p>
32+
<p class="subtitle">* Use Open In Workspace Manager for integration checks: shared shell behavior, tool switching (prev/next), and optional JSON state handoff.</p>
33+
<p class="subtitle">* Use Open Tool for normal day-to-day use, cleanest behavior, and quickest direct debugging.</p>
34+
</section>
35+
36+
<section>
37+
<h2>Workspace Manager</h2>
38+
<div class="grid" data-workspace-manager-grid></div>
39+
<hr />
3540
</section>
3641

3742
<section>

tools/renderToolsIndex.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ function renderWorkspaceManagerCard() {
9494
`;
9595
}
9696

97+
function renderWorkspaceManagerSection() {
98+
const grid = document.querySelector("[data-workspace-manager-grid]");
99+
if (!grid) {
100+
return;
101+
}
102+
grid.innerHTML = renderWorkspaceManagerCard();
103+
}
104+
97105
function renderActiveToolsList() {
98106
const grid = document.querySelector("[data-active-tools-grid]");
99107
if (!grid) {
@@ -104,7 +112,6 @@ function renderActiveToolsList() {
104112
.filter((entry) => entry.visibleInToolsList === true)
105113
.sort((left, right) => String(left.displayName || "").localeCompare(String(right.displayName || "")))
106114
.map((tool) => renderToolCard(tool));
107-
toolCards.push(renderWorkspaceManagerCard());
108115
grid.innerHTML = toolCards.join("\n");
109116
}
110117

@@ -123,5 +130,6 @@ function sortPlannedCardsAlphabetically() {
123130
.forEach((card) => grid.appendChild(card));
124131
}
125132

133+
renderWorkspaceManagerSection();
126134
renderActiveToolsList();
127135
sortPlannedCardsAlphabetically();

0 commit comments

Comments
 (0)