-
-
+
+
+ {run.title || '(Untitled chat)'}
+ {run.createdAt ? (
+
+ {formatRunTime(run.createdAt)}
+
+ ) : null}
-
- {task.name}
-
- ))}
-
- >
- )}
- {runs.length > 0 && (
- <>
-
- Chat history
-
-
- {runs.map((run) => (
-
-
-
- {
- if (e.metaKey && actions?.onOpenInNewTab) {
- actions.onOpenInNewTab(run.id)
- } else {
- actions?.onSelectRun(run.id)
- }
- }}
- >
-
- {run.title || '(Untitled chat)'}
- {run.createdAt ? (
-
- {formatRunTime(run.createdAt)}
-
- ) : null}
-
-
-
-
-
- {actions?.onOpenInNewTab && (
- actions.onOpenInNewTab!(run.id)}>
-
- Open in new tab
-
- )}
- {!processingRunIds?.has(run.id) && (
- <>
- {actions?.onOpenInNewTab && }
- setPendingDeleteRunId(run.id)}
- >
-
- Delete
-
- >
- )}
-
-
- ))}
-
- >
- )}
+
+
+ {actions?.onOpenInNewTab && (
+ actions.onOpenInNewTab!(run.id)}>
+
+ Open in new tab
+
+ )}
+ {!processingRunIds?.has(run.id) && (
+ <>
+ {actions?.onOpenInNewTab && }
+ setPendingDeleteRunId(run.id)}
+ >
+
+ Delete
+
+ >
+ )}
+
+
+ ))}
+ {runs.length > 0 && actions?.onOpenChatHistoryView && (
+
+ actions.onOpenChatHistoryView?.()}>
+
+ View all
+
+
+ )}
+
{/* Delete confirmation dialog */}