feat(frontend): build chronological activity timeline
This commit is contained in:
@@ -24,7 +24,8 @@ export function formatModelActivity(text: string): string {
|
||||
* (refreshing as the stream grows); the expand toggle reveals the full stream. Opened
|
||||
* on demand from the rotating activity icon. */
|
||||
export function ModelActivityPanel({ onClose }: { onClose: () => void }) {
|
||||
const activity = useSessionStore((s) => s.activity);
|
||||
const activityLog = useSessionStore((s) => s.activityLog);
|
||||
const activity = activityLog.filter((entry) => entry.kind === "thinking");
|
||||
const [expanded, setExpanded] = useState(false);
|
||||
|
||||
// Blank lines are markdown's paragraph separator — split on them (not on every "\n",
|
||||
|
||||
Reference in New Issue
Block a user