fix(ui): remove decorative outlines and restore lab spacing

This commit is contained in:
DCCONSTRUCTIONS
2026-07-28 01:46:01 +03:00
parent 2ffbb51a7e
commit a63d2fe15b
6 changed files with 64 additions and 14 deletions
@@ -30,6 +30,14 @@ const e35ResultUrl = new URL(
"../src/workspaces/laboratory/E35Result.tsx",
import.meta.url,
);
const e35StylesUrl = new URL(
"../src/styles/e35-degradation-recovery.css",
import.meta.url,
);
const laboratoryReportingStylesUrl = new URL(
"../src/styles/laboratory-reporting.css",
import.meta.url,
);
const advancedLaboratoryResultUrl = new URL(
"../src/workspaces/laboratory/AdvancedLaboratoryResult.tsx",
import.meta.url,
@@ -166,9 +174,18 @@ test("E34 keeps temporal evidence inside the canonical LAB and viewer contracts"
});
test("E35 extends the canonical LAB with fault and recovery evidence", async () => {
const [e35Source, advancedSource] = await Promise.all([
const [
e35Source,
advancedSource,
e35Styles,
laboratoryStyles,
reportingStyles,
] = await Promise.all([
readFile(e35ResultUrl, "utf8"),
readFile(advancedLaboratoryResultUrl, "utf8"),
readFile(e35StylesUrl, "utf8"),
readFile(laboratoryStylesUrl, "utf8"),
readFile(laboratoryReportingStylesUrl, "utf8"),
]);
assert.match(e35Source, /<LaboratoryWorkTemplate/);
@@ -182,6 +199,22 @@ test("E35 extends the canonical LAB with fault and recovery evidence", async ()
assert.match(e35Source, /PHASE_LABELS/);
assert.match(advancedSource, /id: "e35-degradation-recovery"/);
assert.match(advancedSource, /<E35Result/);
assert.match(
e35Styles,
/\.e35-degradation-evidence__timeline[\s\S]*top:\s*4\.9rem/,
);
assert.match(
e35Styles,
/\.nodedc-button\[data-variant="primary"\][\s\S]*background:\s*var\(--nodedc-glass-control-active\)/,
);
assert.match(
laboratoryStyles,
/\.laboratory-work-template\s*\{[^}]*gap:\s*1rem/s,
);
assert.match(
reportingStyles,
/\.laboratory-summary\s+\.laboratory-summary__brief\s*\{[^}]*margin-top:\s*0\.85rem/s,
);
});
test("the primary point-cloud viewer restores from fullscreen on Escape", async () => {
@@ -59,6 +59,11 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
telemetryStyles,
/\.worker-stage-list\s*\{[^}]*grid-template-columns:\s*repeat\(3,/s,
);
assert.doesNotMatch(
telemetryStyles,
/\bborder:\s*1px\s+solid/,
"System product blocks must not reintroduce decorative perimeter outlines",
);
assert.match(networkWorkspace, /127\.0\.0\.1:8000/);
assert.match(networkWorkspace, /telemetry_poll_interval_seconds/);
assert.match(networkWorkspace, />\s*Обновить\s*</);