File tree Expand file tree Collapse file tree
mobile/src/features/threads Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1939,6 +1939,13 @@ function renderFeedEntry(
19391939 } ) }
19401940 { showAssistantMeta ? (
19411941 < View className = "mt-1 flex-row items-center gap-1" >
1942+ < CopyTextButton
1943+ accessibilityLabel = "Copy message"
1944+ text = { renderedText }
1945+ tintColor = { iconSubtleColor }
1946+ buttonSize = { 28 }
1947+ iconSize = { 13 }
1948+ />
19421949 { message . projectedItem ? (
19431950 < AssistantForkButton
19441951 environmentId = { props . environmentId }
@@ -1947,13 +1954,6 @@ function renderFeedEntry(
19471954 sourceTitle = { props . threadTitle }
19481955 />
19491956 ) : null }
1950- < CopyTextButton
1951- accessibilityLabel = "Copy message"
1952- text = { renderedText }
1953- tintColor = { iconSubtleColor }
1954- buttonSize = { 28 }
1955- iconSize = { 13 }
1956- />
19571957 < Text className = "font-t3-medium text-xs tabular-nums text-foreground-secondary" >
19581958 { timestampLabel }
19591959 </ Text >
Original file line number Diff line number Diff line change @@ -2700,9 +2700,6 @@ function AssistantMessageMeta({
27002700 className ,
27012701 ) }
27022702 >
2703- { projectedItem ?. item . type === "assistant_message" ? (
2704- < AssistantForkButton projectedItem = { projectedItem } />
2705- ) : null }
27062703 { projectedItem && projectedItem . item . status !== "completed" ? (
27072704 < span className = "rounded-full border border-border/70 px-1.5 py-0.5 font-mono text-3xs text-muted-foreground" >
27082705 { projectedItem . item . status }
@@ -2713,6 +2710,9 @@ function AssistantMessageMeta({
27132710 showCopyButton = { showCopyButton }
27142711 streaming = { copyStreaming }
27152712 />
2713+ { projectedItem ?. item . type === "assistant_message" ? (
2714+ < AssistantForkButton projectedItem = { projectedItem } />
2715+ ) : null }
27162716 { ! message . streaming && (
27172717 < Tooltip >
27182718 < TooltipTrigger render = { < p className = "text-muted-foreground text-xs tabular-nums" /> } >
You can’t perform that action at this time.
0 commit comments