Skip to content

Migrate conversation list to AgentConversationEntry#10197

Merged
zachbai merged 3 commits intomasterfrom
zb/migrate-list-view
May 6, 2026
Merged

Migrate conversation list to AgentConversationEntry#10197
zachbai merged 3 commits intomasterfrom
zb/migrate-list-view

Conversation

@zachbai
Copy link
Copy Markdown
Contributor

@zachbai zachbai commented May 5, 2026

Description

Migrates the conversation list UI/model plumbing to consume the new AgentConversationEntry abstraction introduced downstack.

This keeps active agent, conversation, and task entries represented through a shared entry layer so the list view can rely on entry-provided labels, icons, timestamps, and selection state instead of duplicating that logic in the view model.

Linked Issue

None.

Screenshots / Videos

Not included; refactor of existing conversation list behavior.

Testing

  • cargo fmt --check
  • Skipped cargo clippy --workspace --all-targets --all-features --tests -- -D warnings at user request.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Co-Authored-By: Oz oz-agent@warp.dev:wq

Copy link
Copy Markdown
Contributor Author

zachbai commented May 5, 2026

@zachbai zachbai requested a review from harryalbert May 5, 2026 22:29
@zachbai zachbai marked this pull request as ready for review May 5, 2026 22:29
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 5, 2026

@zachbai

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@harryalbert harryalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

AgentRunDisplayStatus::TaskQueued
| AgentRunDisplayStatus::TaskPending
| AgentRunDisplayStatus::TaskClaimed
| AgentRunDisplayStatus::TaskInProgress
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a difference between task in progress and conversation in progress? I know the source is different, but wondering if at the abstraction layer they should be the same thing (and then same question for the other overlapping statuses)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some comments to distinguihs

}

pub fn resolve_open_action(
subject: AgentConversationNavigationSubject,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be worth a comment on the difference between resolve_open_action and resolve_entry_open_action, and/or I guess the general difference between an entry and a subject

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me a sec to grok the distinction in both cases

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR migrates the conversation list rendering and navigation path to use AgentConversationEntry instead of direct ConversationOrTask lookups.

Concerns

  • The new agent_conversation_entry_icon_variant path ignores entry.display.harness for non-ambient local/cloud entries, so non-Oz conversations can regress to the Oz icon in the conversation list.
  • This changes user-visible conversation list icons, row behavior, and menu behavior, but the PR does not include screenshots or video. For faster review, please upload screenshots or a video of the feature working end to end.

Verdict

Found: 0 critical, 1 important, 1 suggestion

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/ui_components/agent_icon.rs Outdated
is_ambient,
)
} else {
IconWithStatusVariant::OzAgent {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] This returns the Oz icon for every non-ambient local/cloud entry, ignoring entry.display.harness; non-Oz conversations such as Claude/Codex will regress from their agent icon to Oz.

@zachbai zachbai force-pushed the zb/agent-conversation-entry branch from b6a5b47 to ab1fa14 Compare May 5, 2026 23:26
@zachbai zachbai force-pushed the zb/migrate-list-view branch from 093ac2a to 9f13cec Compare May 5, 2026 23:26
Base automatically changed from zb/agent-conversation-entry to master May 5, 2026 23:51
@zachbai zachbai force-pushed the zb/migrate-list-view branch from 9f13cec to 4f69792 Compare May 6, 2026 00:58
@zachbai zachbai merged commit 143ec08 into master May 6, 2026
39 of 41 checks passed
@zachbai zachbai deleted the zb/migrate-list-view branch May 6, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants