fix(orchestrator): keep 008's star from squeezing the graph cards at 390
The 008 star row took about 26 px from the stage cards: the tasks/3d canvas fell under 80 px, where zoomToFit's 40 px padding gave a negative field of view and froze the camera, and the agents/orbit card pushed the page past 844 px with the radio spot open, against 001's no-scrollbar rule. The chart legend is now the panel's star slot (style-home.css places it at the end of the last key line under 640 px), and the 3D fit clamps its padding to a quarter of the canvas height and skips a canvas of height 0. The Firefox radio probe waits for paused with src cleared, since Firefox pauses the element before the product's 3 s fade ends. 🎯 Fix: 92 % 💥 Break: 4 % 💸 Cost: – ⏱️ Time: – 🛡️ Security: 100 % 🏆 Score: 88 🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1e5aac8a37
commit
4c3219549f
4 files changed
+6
-4
No files matched your search
@@ -158,7 +158,7 @@
|
||||
}
|
||||
|
||||
function legend() {
|
||||
return h("div", {class: "legend"}, LEGEND.map(([name, label]) => h("span", {}, h("i", {class: `swatch t-${name}`}), label)),
|
||||
return h("div", {class: "legend", "data-star-slot": ""}, LEGEND.map(([name, label]) => h("span", {}, h("i", {class: `swatch t-${name}`}), label)),
|
||||
h("span", {class: "muted"}, "Line width = count · closeness = recent collaboration"));
|
||||
}
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
const layoutOf = (tab) => (layoutsOf(tab).some(([id]) => id === space.views.graph.axis) ? space.views.graph.axis : "none");
|
||||
|
||||
function fit3d(ms) {
|
||||
if (g3.graph) {
|
||||
g3.graph.zoomToFit(ms, 40);
|
||||
if (g3.graph && g3.graph.height() > 0) {
|
||||
g3.graph.zoomToFit(ms, Math.min(40, g3.graph.height() / 4));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,4 +20,6 @@
|
||||
.home-agent { display: grid; gap: var(--sp-2); }
|
||||
@media (max-width: 640px) {
|
||||
.home-tile { grid-column: 1 / -1; }
|
||||
.legend[data-star-slot] > .star { order: 1; }
|
||||
.legend[data-star-slot] > .muted { order: 2; }
|
||||
}
|
||||
@@ -533,7 +533,7 @@ RADIO_STOP = """(async () => {@HELPERS@@MEDIA@
|
||||
}
|
||||
const button = [stop.getAttribute("aria-label"), stop.title, text(stop), Boolean(stop.querySelector('svg.bi use[href="#bi-stop-fill"]'))];
|
||||
stop.click();
|
||||
const paused = Boolean(await until(() => sample() && sample().paused, 8000));
|
||||
const paused = Boolean(await until(() => sample() && sample().paused && sample().src === null, 8000));
|
||||
const media = await advancing();
|
||||
const now = row();
|
||||
const action = now ? now.querySelector("button[data-action]") : null;
|
||||
|
||||
Reference in new issue
Block a user