Skip to content

Commit bfd50d5

Browse files
nit + failed testing
1 parent 880842d commit bfd50d5

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

mcpjam-inspector/client/src/components/chat-v2/thread/parts/tool-part.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ export function ToolPart({
129129
? "text-[11px] font-medium text-pending"
130130
: "text-[11px] font-medium text-pending-foreground";
131131
const approvedToolClasses =
132-
resolvedThemeMode === "dark"
133-
? "flex items-center gap-1 text-[11px] font-medium text-success"
134-
: "flex items-center gap-1 text-[11px] font-medium text-success";
132+
"flex items-center gap-1 text-[11px] font-medium text-success";
135133
const needsApproval = state === "approval-requested" && !!approvalId;
136134
const [approvalVisualState, setApprovalVisualState] =
137135
useState<ApprovalVisualState>("pending");

mcpjam-inspector/client/src/components/sidebar/__tests__/nav-main.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { describe, expect, it, vi } from "vitest";
33
import { HOSTED_LOCAL_ONLY_TOOLTIP } from "@/lib/hosted-ui";
44

55
vi.mock("@/components/ui/sidebar", () => ({
6+
useSidebar: () => ({ open: true }),
67
SidebarGroup: ({ children }: any) => <div>{children}</div>,
78
SidebarGroupContent: ({ children }: any) => <div>{children}</div>,
89
SidebarMenu: ({ children }: any) => <div>{children}</div>,

mcpjam-inspector/client/src/components/ui-playground/PlaygroundLeft.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export function PlaygroundLeft({
189189

190190
return (
191191
<div
192-
className="h-full flex flex-col border-r border-border bg-background overflow-hidden"
192+
className="h-full flex flex-col bg-background overflow-hidden"
193193
onKeyDownCapture={handleKeyDown}
194194
>
195195
{/* Header with tabs and actions */}

mcpjam-inspector/client/src/components/ui-playground/PlaygroundMain.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ export function PlaygroundMain({
739739
<div className="h-full flex flex-col bg-muted/20 overflow-hidden">
740740
{/* Device frame header */}
741741
<div
742-
className="relative flex items-center justify-center px-3 py-2 border-b border-border bg-background/50 text-xs text-muted-foreground flex-shrink-0"
742+
className="relative flex h-11 items-center justify-center px-3 border-b border-border bg-background/50 text-xs text-muted-foreground flex-shrink-0"
743743
data-testid="playground-main-header"
744744
>
745745
{/* All controls centered */}

mcpjam-inspector/client/src/components/ui-playground/TabHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export function TabHeader({
3737
onClose,
3838
}: TabHeaderProps) {
3939
return (
40-
<div className="border-b border-border flex-shrink-0">
41-
<div className="px-2 py-1.5 flex items-center gap-2">
40+
<div className="h-11 border-b border-border flex-shrink-0">
41+
<div className="h-full px-2 flex items-center gap-2">
4242
{/* Tabs */}
4343
<div className="flex items-center gap-1.5">
4444
<button

0 commit comments

Comments
 (0)