Skip to content

Commit 7a652c9

Browse files
urgent ui nits pre vig (#1899)
1 parent 2df04fc commit 7a652c9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

mcpjam-inspector/client/src/components/evals/__tests__/run-insights-primary-block.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { RunInsightsPrimaryBlock } from "../run-insights-primary-block";
55
const noop = () => {};
66

77
describe("RunInsightsPrimaryBlock", () => {
8-
it("uses insight glow and left accent classes in embedded mode", () => {
8+
it("uses the left accent styling in embedded mode", () => {
99
const { container } = render(
1010
<RunInsightsPrimaryBlock
1111
summary={null}
@@ -19,7 +19,7 @@ describe("RunInsightsPrimaryBlock", () => {
1919
);
2020

2121
const root = container.firstElementChild as HTMLElement;
22-
expect(root.className).toContain("ai-insight-glow");
22+
expect(root.className).not.toContain("ai-insight-glow");
2323
expect(root.className).toContain("border-l-primary");
2424
});
2525

mcpjam-inspector/client/src/components/evals/insight-primary-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function InsightPrimaryBlock({
135135
return (
136136
<div
137137
className={cn(
138-
"rounded-lg border-l-2 border-l-primary/50 ai-insight-glow pl-3.5 pr-3 py-3",
138+
"rounded-lg border-l-2 border-l-primary/50 pl-3.5 pr-3 py-3",
139139
className,
140140
)}
141141
>

mcpjam-inspector/client/src/components/evals/test-template-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ export function TestTemplateEditor({
481481
promptTurns,
482482
advancedConfig: normalizeAdvancedConfig(currentTestCase.advancedConfig),
483483
});
484-
setExpandedPromptTurnIds(promptTurns[0] ? [promptTurns[0].id] : []);
484+
setExpandedPromptTurnIds(promptTurns.map((turn) => turn.id));
485485
}, [currentTestCase?._id]);
486486

487487
const missingServers = useMemo(() => {

0 commit comments

Comments
 (0)