We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2fe63d commit 64d5bddCopy full SHA for 64d5bdd
1 file changed
webview-ui/src/components/SessionList.tsx
@@ -76,10 +76,10 @@ export const SessionList: React.FC<SessionListProps> = ({
76
displayName = "New Chat"; // Consistent name for unsaved chats
77
} else if (session.metadata.description && session.metadata.description.trim()) {
78
displayName = session.metadata.description.trim();
79
- } else {
80
- // Fallback for saved sessions without a description
81
- displayName = `Session ${session.id.substring(0, 6)}...`;
82
- }
+ } else {
+ // Fallback for saved sessions without a description
+ displayName = "Untitled Session"; // Use "Untitled Session" as fallback
+ }
83
84
// Format the date/time string
85
const dateTimeString = new Date(session.metadata.updated || session.metadata.created || Date.now()).toLocaleString();
0 commit comments