Compaction overhaul (#5186)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: David Katz <dkatz@squareup.com>
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
Douwe Osinga
2025-10-15 18:39:12 -04:00
committed by GitHub
parent ef9e68f2c6
commit 7c1f5dcb2f
56 changed files with 3069 additions and 4465 deletions
@@ -172,7 +172,9 @@ export default function ProgressiveMessageList({
const messagesToRender = messages.slice(0, renderedCount);
return messagesToRender
.map((message, index) => {
// Use custom render function if provided
if (!message.metadata.userVisible) {
return null;
}
if (renderMessage) {
return renderMessage(message, index);
}