@@ -1089,33 +1089,39 @@ export default function Layout(props: ParentProps) {
10891089 class = "group/session relative w-full rounded-md cursor-default transition-colors pl-2 pr-3
10901090 hover:bg-surface-raised-base-hover focus-within:bg-surface-raised-base-hover has-[.active]:bg-surface-base-active"
10911091 >
1092- < Tooltip placement = { props . mobile ? "bottom" : "right" } value = { props . session . title } gutter = { 16 } openDelay = { 1000 } >
1093- < A
1094- href = { `${ props . slug } /session/${ props . session . id } ` }
1095- class = { `flex items-center justify-between gap-3 min-w-0 text-left w-full focus:outline-none transition-[padding] group-hover/session:pr-7 group-focus-within/session:pr-7 group-active/session:pr-7 ${ props . dense ? "py-0.5" : "py-1" } ` }
1096- onMouseEnter = { ( ) => prefetchSession ( props . session , "high" ) }
1097- onFocus = { ( ) => prefetchSession ( props . session , "high" ) }
1098- >
1099- < div class = "flex items-center gap-1 w-full" >
1100- < div
1101- class = "shrink-0 size-6 flex items-center justify-center"
1102- style = { { color : tint ( ) ?? "var(--icon-interactive-base)" } }
1103- >
1104- < Switch fallback = { < Icon name = "dash" size = "small" class = "text-icon-weak" /> } >
1105- < Match when = { isWorking ( ) } >
1106- < Spinner class = "size-[15px]" />
1107- </ Match >
1108- < Match when = { hasPermissions ( ) } >
1109- < div class = "size-1.5 rounded-full bg-surface-warning-strong" />
1110- </ Match >
1111- < Match when = { hasError ( ) } >
1112- < div class = "size-1.5 rounded-full bg-text-diff-delete-base" />
1113- </ Match >
1114- < Match when = { notifications ( ) . length > 0 } >
1115- < div class = "size-1.5 rounded-full bg-text-interactive-base" />
1116- </ Match >
1117- </ Switch >
1118- </ div >
1092+ < A
1093+ href = { `${ props . slug } /session/${ props . session . id } ` }
1094+ class = { `flex items-center justify-between gap-3 min-w-0 text-left w-full focus:outline-none transition-[padding] group-hover/session:pr-7 group-focus-within/session:pr-7 group-active/session:pr-7 ${ props . dense ? "py-0.5" : "py-1" } ` }
1095+ onMouseEnter = { ( ) => prefetchSession ( props . session , "high" ) }
1096+ onFocus = { ( ) => prefetchSession ( props . session , "high" ) }
1097+ >
1098+ < div class = "flex items-center gap-1 w-full" >
1099+ < div
1100+ class = "shrink-0 size-6 flex items-center justify-center"
1101+ style = { { color : tint ( ) ?? "var(--icon-interactive-base)" } }
1102+ >
1103+ < Switch fallback = { < Icon name = "dash" size = "small" class = "text-icon-weak" /> } >
1104+ < Match when = { isWorking ( ) } >
1105+ < Spinner class = "size-[15px]" />
1106+ </ Match >
1107+ < Match when = { hasPermissions ( ) } >
1108+ < div class = "size-1.5 rounded-full bg-surface-warning-strong" />
1109+ </ Match >
1110+ < Match when = { hasError ( ) } >
1111+ < div class = "size-1.5 rounded-full bg-text-diff-delete-base" />
1112+ </ Match >
1113+ < Match when = { notifications ( ) . length > 0 } >
1114+ < div class = "size-1.5 rounded-full bg-text-interactive-base" />
1115+ </ Match >
1116+ </ Switch >
1117+ </ div >
1118+ < Tooltip
1119+ placement = "top-start"
1120+ value = { props . session . title }
1121+ gutter = { 0 }
1122+ openDelay = { 2000 }
1123+ class = "grow-1 min-w-0"
1124+ >
11191125 < InlineEditor
11201126 id = { `session:${ props . session . id } ` }
11211127 value = { ( ) => props . session . title }
@@ -1124,16 +1130,16 @@ export default function Layout(props: ParentProps) {
11241130 displayClass = "text-14-regular text-text-strong grow-1 min-w-0 overflow-hidden text-ellipsis truncate"
11251131 stopPropagation
11261132 />
1127- < Show when = { props . session . summary } >
1128- { ( summary ) => (
1129- < div class = "group-hover/session:hidden group-active/session:hidden group-focus-within/session:hidden" >
1130- < DiffChanges changes = { summary ( ) } / >
1131- </ div >
1132- ) }
1133- </ Show >
1134- </ div >
1135- </ A >
1136- </ Tooltip >
1133+ </ Tooltip >
1134+ < Show when = { props . session . summary } >
1135+ { ( summary ) => (
1136+ < div class = "group-hover/session:hidden group-active/session:hidden group-focus-within/session:hidden" >
1137+ < DiffChanges changes = { summary ( ) } / >
1138+ </ div >
1139+ ) }
1140+ </ Show >
1141+ </ div >
1142+ </ A >
11371143 < div
11381144 class = { `hidden group-hover/session:flex group-active/session:flex group-focus-within/session:flex text-text-base gap-1 items-center absolute ${ props . dense ? "top-0.5 right-0.5" : "top-1 right-1" } ` }
11391145 >
0 commit comments