- {messageAttachments.length > 0 && (
-
- {messageAttachments.map((attachment) => (
-
- ))}
-
- )}
- {groupContentSections(content).map((section, sectionIdx) => {
- if (section.type === "toolChain") {
- const toolItems = section.items as ToolChainItem[];
- return
;
- }
- const block = section.items[0] as MessageContent;
- return (
-
- {renderContentBlock(
- block,
- sectionIdx,
- {
- defaultImageAlt: t("message.defaultImageAlt"),
- redactedThinking: t("message.redactedThinking"),
- },
- isStreaming,
- isUser,
- )}
+
+
+ {messageAttachments.length > 0 && (
+
+ {messageAttachments.map((attachment) => (
+
+ ))}
- );
- })}
- {pathNotice && (
-
- {pathNotice}
-
- )}
-
-
- {/* Hover actions + timestamp */}
-
- {textContent && }
- {onRetryMessage && (
- onRetryMessage(message.id)}
- >
-
-
- )}
- {isUser && onEditMessage && !isEditing && (
- onEditMessage(message.id)}
- >
-
-
- )}
-
- {formatDate(created, {
- hour: "2-digit",
- minute: "2-digit",
+ )}
+ {groupContentSections(content).map((section, sectionIdx) => {
+ if (section.type === "toolChain") {
+ const toolItems = section.items as ToolChainItem[];
+ return ;
+ }
+ const block = section.items[0] as MessageContent;
+ return (
+
+ {renderContentBlock(
+ block,
+ sectionIdx,
+ {
+ defaultImageAlt: t("message.defaultImageAlt"),
+ redactedThinking: t("message.redactedThinking"),
+ },
+ isStreaming,
+ isUser,
+ )}
+
+ );
})}
-
-
- >
+ {pathNotice && (
+
+ {pathNotice}
+
+ )}
+
+
+
+ {/* Hover actions + timestamp — rendered in portal, stripped styling */}
+
+
+ {textContent && }
+ {onRetryMessage && (
+ onRetryMessage(message.id)}
+ >
+
+
+ )}
+ {isUser && onEditMessage && (
+ onEditMessage(message.id)}
+ >
+
+
+ )}
+
+ {formatDate(created, {
+ hour: "2-digit",
+ minute: "2-digit",
+ })}
+
+
+
+
)}