Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions apps/web/src/components/LegacySidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -931,10 +931,28 @@ export const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThr
</Tooltip>
)}
<div
className={`flex min-w-12 justify-end ${
className={`flex min-w-12 items-center justify-end gap-1 ${
isRemoteThread ? "max-sm:min-w-24" : "max-sm:min-w-20"
}`}
>
{showsRemoteThreadIcon && (
<Tooltip>
<TooltipTrigger
render={
<span
aria-label={threadEnvironmentLabel ?? "Remote"}
className={`inline-flex shrink-0 items-center justify-center ${
isConfirmingArchive ? "invisible" : ""
}`}
data-legacy-sidebar-unscaled-content
/>
}
>
<CloudIcon className="size-3 text-muted-foreground/40" />
</TooltipTrigger>
<TooltipPopup side="top">{threadEnvironmentLabel}</TooltipPopup>
</Tooltip>
)}
{isConfirmingArchive ? (
<button
ref={handleConfirmArchiveRef}
Expand Down Expand Up @@ -986,26 +1004,8 @@ export const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThr
</Tooltip>
)
) : null}
<span
className={`${threadMetaClassName}${showsRemoteThreadIcon ? " flex items-center" : ""}`}
>
<span className={threadMetaClassName}>
<span className="inline-flex items-center gap-1">
{showsRemoteThreadIcon && (
<Tooltip>
<TooltipTrigger
render={
<span
aria-label={threadEnvironmentLabel ?? "Remote"}
className="inline-flex items-center justify-center"
data-legacy-sidebar-unscaled-content
/>
}
>
<CloudIcon className="size-3 text-muted-foreground/40" />
</TooltipTrigger>
<TooltipPopup side="top">{threadEnvironmentLabel}</TooltipPopup>
</Tooltip>
)}
{jumpLabel ? (
hasActiveAnnotation && thread.annotation ? (
<ThreadAnnotationHoverPopover
Expand Down