Skip to content

Commit 251075e

Browse files
committed
fix: backend url and remove Live badge
1 parent 4efb459 commit 251075e

2 files changed

Lines changed: 20 additions & 25 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
VITE_FORCE_DEV=true
2-
VITE_BACKEND_URL=http://127.0.0.1:4000
2+
VITE_BACKEND_URL=http://127.0.0.1:4000/backend

frontend/testing-view/src/components/Testing/Charts/ChartSurface.tsx

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -259,41 +259,36 @@ export const ChartSurface = memo(
259259
<div className="relative w-full">
260260
<div ref={containerRef} className="h-[250px] w-full" />
261261
{/* Integrated Status Bar - Pinned Top Right */}
262-
<div className="absolute -top-1 right-2 z-20 flex items-center gap-2">
263-
<div className="bg-background/60 border-border/50 hover:bg-background/80 flex items-center gap-2 rounded-full border py-1 pl-3 pr-1 shadow-sm backdrop-blur-md transition-all">
264-
{/* Mode Indicator & Label */}
265-
<div
266-
className={cn(
267-
"flex items-center gap-2 pr-2",
268-
isZooming ? "border-border/50 border-r" : "",
269-
)}
270-
>
262+
<div className="z-5 absolute -top-1 right-2 flex items-center gap-2">
263+
{/* Mode Indicator & Label */}
264+
{isZooming && (
265+
<div className="bg-background/60 border-border/50 hover:bg-background/80 flex items-center gap-2 rounded-full border py-1 pl-3 pr-1 shadow-sm backdrop-blur-md transition-all">
271266
<div
272267
className={cn(
273-
"h-1.5 w-1.5 rounded-full",
274-
!isZooming
275-
? "animate-pulse bg-red-500 shadow-[0_0_8px_rgba(239,68,68,0.4)]"
276-
: isAtEdge
268+
"border-border/50 flex items-center gap-2 border-r pr-2",
269+
)}
270+
>
271+
<div
272+
className={cn(
273+
"h-1.5 w-1.5 rounded-full",
274+
isAtEdge
277275
? "bg-blue-500 shadow-[0_0_8px_rgba(59,130,246,0.4)]"
278276
: "bg-orange-500",
279-
)}
280-
/>
281-
<span className="text-foreground/70 select-none text-[9px] font-black uppercase tracking-tight">
282-
{!isZooming ? "Live" : isAtEdge ? "Follow-Zoom" : "Reviewing"}
283-
</span>
284-
</div>
285-
286-
{/* Exit Button (X) - Only shows when zoomed */}
287-
{isZooming && (
277+
)}
278+
/>
279+
<span className="text-foreground/70 select-none text-[9px] font-black uppercase tracking-tight">
280+
{isAtEdge ? "Follow-Zoom" : "Reviewing"}
281+
</span>
282+
</div>
288283
<button
289284
onClick={handleDoubleClick}
290285
className="hover:bg-muted text-muted-foreground hover:text-foreground flex h-5 w-5 items-center justify-center rounded-full transition-colors"
291286
title="Reset View"
292287
>
293288
<X className="h-3.5 w-3.5" />
294289
</button>
295-
)}
296-
</div>
290+
</div>
291+
)}
297292
</div>
298293
{isZooming && (
299294
<>

0 commit comments

Comments
 (0)