Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

gui: don't show a timestamp for chats with no activity (#16)

Rach302a8332c69a
diff --git a/gui/src-tauri/src/runtime/simple.rs b/gui/src-tauri/src/runtime/simple.rs
index 3be5b991..8b0e4a7b 100644
--- a/gui/src-tauri/src/runtime/simple.rs
+++ b/gui/src-tauri/src/runtime/simple.rs
@@ -1803,7 +1803,8 @@ impl RuntimeManager {
.map(|conversation| ConversationSessionSummaryDto {
conversation_id: conversation.conversation_id.clone(),
title: conversation.title.clone(),
- updated_at: Some(conversation.updated_at.to_string()),
+ updated_at: (conversation.updated_at > 0)
+ .then(|| conversation.updated_at.to_string()),
is_draft: conversation.messages.is_empty(),
is_running: !conversation.active_request_ids.is_empty(),
has_pending_followup: pending_followups