fix(ui): align telemetry and laboratory navigation
This commit is contained in:
@@ -18,6 +18,9 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
|
||||
pipelineStages,
|
||||
networkWorkspace,
|
||||
telemetryPolling,
|
||||
telemetryContext,
|
||||
panelActions,
|
||||
contourSettingsHook,
|
||||
contourSettings,
|
||||
contourContract,
|
||||
pollIntervalContract,
|
||||
@@ -31,6 +34,9 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
|
||||
read("components/system/WorkerPipelineStages.tsx"),
|
||||
read("workspaces/system/NetworkWorkspace.tsx"),
|
||||
read("core/system/useWorkerTelemetry.ts"),
|
||||
read("core/system/ComputeContourContext.tsx"),
|
||||
read("components/useApplicationPanelActions.ts"),
|
||||
read("components/system/useComputeContourSettings.tsx"),
|
||||
read("components/system/ComputeContourSettingsWindow.tsx"),
|
||||
read("core/system/computeContours.ts"),
|
||||
read("core/system/telemetryPollInterval.ts"),
|
||||
@@ -49,7 +55,9 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
|
||||
assert.doesNotMatch(core, /@nodedc\/ui-react/);
|
||||
assert.match(computeWorkspace, /useWorkerTelemetry/);
|
||||
assert.match(computeWorkspace, /telemetry_poll_interval_seconds/);
|
||||
assert.match(computeWorkspace, />\s*Обновить\s*</);
|
||||
assert.doesNotMatch(computeWorkspace, />\s*Обновить\s*</);
|
||||
assert.match(computeWorkspace, /resource=\{formatCpuCapacity/);
|
||||
assert.match(computeWorkspace, /resource=\{formatResourcePair/);
|
||||
assert.doesNotMatch(computeWorkspace, /loading\s*\?\s*"Читаем"/);
|
||||
assert.match(computeWorkspace, /WorkerPipelineStages/);
|
||||
assert.match(pipelineStages, /измеренного времени/);
|
||||
@@ -69,9 +77,15 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
|
||||
);
|
||||
assert.match(networkWorkspace, /127\.0\.0\.1:8000/);
|
||||
assert.match(networkWorkspace, /telemetry_poll_interval_seconds/);
|
||||
assert.match(networkWorkspace, />\s*Обновить\s*</);
|
||||
assert.doesNotMatch(networkWorkspace, />\s*Обновить\s*</);
|
||||
assert.doesNotMatch(networkWorkspace, /loading\s*\?\s*"Читаем"/);
|
||||
assert.doesNotMatch(networkWorkspace, /8765/);
|
||||
assert.match(telemetryContext, /telemetryRefreshGeneration/);
|
||||
assert.match(telemetryContext, /refreshTelemetry/);
|
||||
assert.match(telemetryPolling, /externalRefreshGeneration/);
|
||||
assert.match(panelActions, /actions\.push\(\.\.\.systemUtilityActions\)/);
|
||||
assert.match(contourSettingsHook, /icon: "refresh"/);
|
||||
assert.match(contourSettingsHook, /icon: "settings"/);
|
||||
assert.match(contourSettings, /FieldFrame label="Операционная система"/);
|
||||
assert.match(contourSettings, /label="Интервал MQTT"/);
|
||||
assert.match(contourSettings, /value=\{telemetryPollIntervalDraft\}/);
|
||||
|
||||
Reference in New Issue
Block a user