fix(clients): copy button is back in its old spot, before fork (#17137)
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0647c48101
commit
2ea7684d56
2 files changed
+10
-10
No files matched your search
@@ -1939,6 +1939,13 @@ function renderFeedEntry(
|
||||
})}
|
||||
{showAssistantMeta ? (
|
||||
<View className="mt-1 flex-row items-center gap-1">
|
||||
<CopyTextButton
|
||||
accessibilityLabel="Copy message"
|
||||
text={renderedText}
|
||||
tintColor={iconSubtleColor}
|
||||
buttonSize={28}
|
||||
iconSize={13}
|
||||
/>
|
||||
{message.projectedItem ? (
|
||||
<AssistantForkButton
|
||||
environmentId={props.environmentId}
|
||||
@@ -1947,13 +1954,6 @@ function renderFeedEntry(
|
||||
sourceTitle={props.threadTitle}
|
||||
/>
|
||||
) : null}
|
||||
<CopyTextButton
|
||||
accessibilityLabel="Copy message"
|
||||
text={renderedText}
|
||||
tintColor={iconSubtleColor}
|
||||
buttonSize={28}
|
||||
iconSize={13}
|
||||
/>
|
||||
<Text className="font-t3-medium text-xs tabular-nums text-foreground-secondary">
|
||||
{timestampLabel}
|
||||
</Text>
|
||||
|
||||
@@ -2700,9 +2700,6 @@ function AssistantMessageMeta({
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{projectedItem?.item.type === "assistant_message" ? (
|
||||
<AssistantForkButton projectedItem={projectedItem} />
|
||||
) : null}
|
||||
{projectedItem && projectedItem.item.status !== "completed" ? (
|
||||
<span className="rounded-full border border-border/70 px-1.5 py-0.5 font-mono text-3xs text-muted-foreground">
|
||||
{projectedItem.item.status}
|
||||
@@ -2713,6 +2710,9 @@ function AssistantMessageMeta({
|
||||
showCopyButton={showCopyButton}
|
||||
streaming={copyStreaming}
|
||||
/>
|
||||
{projectedItem?.item.type === "assistant_message" ? (
|
||||
<AssistantForkButton projectedItem={projectedItem} />
|
||||
) : null}
|
||||
{!message.streaming && (
|
||||
<Tooltip>
|
||||
<TooltipTrigger render={<p className="text-muted-foreground text-xs tabular-nums" />}>
|
||||
|
||||
Reference in new issue
Block a user