Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review (claude): don't label a clockless import's bulk-import time as conversation recency

[._.]/ Adam Eivyd6adba6a4e52
diff --git a/client/src/components/brain/tabs/MemoryTab.jsx b/client/src/components/brain/tabs/MemoryTab.jsx
index 71b91adc9c..37eaaf861a 100644
--- a/client/src/components/brain/tabs/MemoryTab.jsx
+++ b/client/src/components/brain/tabs/MemoryTab.jsx
@@ -556,10 +556,12 @@ export default function MemoryTab({ onRefresh }) {
)}
<p className="text-xs text-gray-500 mt-2">
- {activeType === 'memories' && record.source === 'chatgpt-import'
+ {activeType === 'memories' && record.source === 'chatgpt-import' && (record.sourceUpdatedAt || record.sourceCreatedAt)
// Imported entries all share the bulk-import updatedAt, so show the
- // original conversation recency instead (matches the list sort order).
- ? `Conversation ${timeAgo(record.sourceUpdatedAt || record.sourceCreatedAt || record.updatedAt)}`
+ // original conversation recency instead (matches the list sort order) —
+ // but only when a source clock exists; a clockless import falls back to
+ // the honest "Updated {import time}" rather than mislabeling it.
+ ? `Conversation ${timeAgo(record.sourceUpdatedAt || record.sourceCreatedAt)}`
: `Updated ${timeAgo(record.updatedAt)}`}
</p>
</div>