Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(conversations): add pinned todo card to conversation view

Steven Enamakel2d13a347874d
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsx
index c96aa55f76..8a357b1348 100644
--- a/app/src/features/conversations/Conversations.tsx
+++ b/app/src/features/conversations/Conversations.tsx
@@ -12,8 +12,8 @@ import { ConfirmationModal } from '../../components/intelligence/ConfirmationMod
import { SidebarContent } from '../../components/layout/shell/SidebarSlot';
import { ArtifactCardAdapter } from '../../features/conversations/aui/ArtifactCardAdapter';
import { ContextUsage } from '../../features/conversations/aui/ContextUsage';
-import { PlanReviewCardCore } from '../../features/conversations/aui/PlanReviewPart';
import { PinnedTodoCard } from '../../features/conversations/aui/PinnedTodoCard';
+import { PlanReviewCardCore } from '../../features/conversations/aui/PlanReviewPart';
import { toAuiTodoItems } from '../../features/conversations/aui/TodoListPart';
import { useRunMode } from '../../features/conversations/aui/useRunMode';
import {
@@ -99,13 +99,13 @@ import {
openhumanUpdateRuntimeSettings,
} from '../../utils/tauriCommands/config';
import { ApprovalCardAdapter } from './aui/ApprovalCardAdapter';
-import { StallWarning } from './aui/StallWarning';
import { ComposerMessageQueue } from './aui/ComposerMessageQueue';
import {
type ReasoningEffortChoice,
ReasoningEffortPicker,
toReasoningEffortChoice,
} from './aui/ReasoningEffortPicker';
+import { StallWarning } from './aui/StallWarning';
import { ThreadWorkspaceChip } from './aui/ThreadWorkspaceChip';
import { useChatSurfaceRegistration } from './hooks/useChatSurfaceRegistration';
import { useThreadDraft } from './hooks/useThreadDraft';
@@ -1510,8 +1510,8 @@ const Conversations = ({
const selectedThreadWaitingOnUser = selectedThreadId
? Boolean(
pendingApprovalByThread[selectedThreadId] ||
- pendingPlanReviewByThread[selectedThreadId] ||
- pendingWorkflowProposalsByThread[selectedThreadId]
+ pendingPlanReviewByThread[selectedThreadId] ||
+ pendingWorkflowProposalsByThread[selectedThreadId]
)
: false;
const composerPlaceholder = selectedThreadWaitingOnUser
diff --git a/app/src/features/conversations/aui/PinnedTodoCard.tsx b/app/src/features/conversations/aui/PinnedTodoCard.tsx
index 35871181a5..4d116cffc9 100644
--- a/app/src/features/conversations/aui/PinnedTodoCard.tsx
+++ b/app/src/features/conversations/aui/PinnedTodoCard.tsx
@@ -11,8 +11,8 @@ import { useCallback, useEffect, useState } from 'react';
import {
type TodoItem,
- TodoProgressCard,
todoProgress,
+ TodoProgressCard,
} from '../../../components/assistant-ui/elements/todo-list';
import { useT } from '../../../lib/i18n/I18nContext';
import { userScopedStorage } from '../../../store/userScopedStorage';