File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
apps/evalite-ui/app/routes Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " evalite-ui " : patch
3+ ---
4+
5+ Added an overlay to the backdrop when viewing a trace
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ function ResultComponent() {
231231 </ div >
232232 </ div >
233233 < div className = "flex-1 overflow-y-auto overflow-x-hidden w-full min-w-0" >
234- < div className = "flex flex-row h-full" >
234+ < div className = "flex flex-row min- h-full" >
235235 < div className = "w-44 flex flex-col gap-3 flex-shrink-0 p-2" >
236236 < TraceMenuItem
237237 duration = { endTime - startTime }
Original file line number Diff line number Diff line change @@ -550,6 +550,22 @@ function SuiteComponent() {
550550 </ >
551551 ) }
552552 </ InnerPageLayout >
553+ { /* Sheet Overlay backdrop */ }
554+ { isEvalRoute && (
555+ < div
556+ className = { cn (
557+ "fixed inset-0 z-10 bg-black/50 backdrop-blur-xs transition-opacity duration-300" ,
558+ "animate-in fade-in-0"
559+ ) }
560+ onClick = { ( ) => {
561+ navigate ( {
562+ to : "/suite/$name" ,
563+ params : { name } ,
564+ search : { timestamp } ,
565+ } ) ;
566+ } }
567+ />
568+ ) }
553569 < div
554570 className = { cn (
555571 "fixed top-0 z-20 h-svh border-l p-2 bg-sidebar overflow-auto" ,
You can’t perform that action at this time.
0 commit comments