Skip to content

[QUALITY-648] Maybe close message previews by default#10935

Merged
kjankov merged 4 commits into
masterfrom
katarina/quality-648-maybe-close-message-previews-by-default
May 15, 2026
Merged

[QUALITY-648] Maybe close message previews by default#10935
kjankov merged 4 commits into
masterfrom
katarina/quality-648-maybe-close-message-previews-by-default

Conversation

@kjankov
Copy link
Copy Markdown
Contributor

@kjankov kjankov commented May 14, 2026

Description

  • Collapse orchestration message bodies by default so multi-agent transcripts are less noisy on first render.
  • Keep StartAgent prompts expanded by default while applying the collapsed default to SendMessageToAgent output and received-agent message rows.
  • Add focused AI block unit coverage for the new collapse-default behavior.

Linked Issue

  • Linear: QUALITY-648
  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • I have manually tested my changes locally with ./script/run
  • cargo fmt
  • cargo clippy --workspace --all-targets --all-features --tests -- -D warnings
  • cargo test -p warp block::tests --lib

Screenshots / Videos

  • Screenshot of the collapsed orchestration message previews end to end:

Collapsed orchestration message previews

Agent Mode

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

Artifacts

CHANGELOG-NONE

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

kjankov and others added 3 commits May 14, 2026 13:45
Collapse orchestration message bodies by default while keeping start-agent prompts expanded.

Add focused AI block tests covering the new collapsible-state defaults.

Co-Authored-By: Oz <oz-agent@warp.dev>
Run cargo fmt after merging origin/master into the AI block module changes.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 14, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 14, 2026

@kjankov

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

@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 collapses orchestration send-message and received-agent message bodies by default, keeps StartAgent prompts expanded, and adds focused unit coverage.

Concerns

  • ⚠️ [IMPORTANT] This is a user-facing behavior change, but the PR has no screenshot or short recording demonstrating the collapsed message previews end to end. Please attach visual evidence for review.

Verdict

Found: 0 critical, 1 important, 0 suggestions

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

@kjankov kjankov requested a review from cephalonaut May 14, 2026 19:29
@kjankov
Copy link
Copy Markdown
Contributor Author

kjankov commented May 15, 2026

Added the requested screenshot for the user-visible collapse behavior.

This capture shows:

  • the StartAgent prompt still expanded
  • the sent message preview collapsed by default
  • the received message preview collapsed by default

Collapsed orchestration message previews

@kjankov
Copy link
Copy Markdown
Contributor Author

kjankov commented May 15, 2026

/oz-review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 15, 2026

@kjankov

I'm re-reviewing this pull request in response to a review 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

@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 changes orchestration transcript rendering so sent-message bodies and received-agent message rows start collapsed while StartAgent prompts remain expanded, with focused unit coverage for the default state helper. No security concerns were identified in the diff.

Concerns

  • This is a user-facing behavior change, but the PR description states screenshots/videos are not included. For this user-facing change, please include screenshots or a screen recording demonstrating it working end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

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

@kjankov
Copy link
Copy Markdown
Contributor Author

kjankov commented May 15, 2026

/oz-review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 15, 2026

@kjankov

I'm re-reviewing this pull request in response to a review 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

@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 updates AI block collapsible-state defaults so orchestration send-message bodies and received-agent message rows start collapsed, while StartAgent prompts keep the existing expanded default. It also adds focused unit coverage for the helper-level defaults.

Concerns

  • No blocking concerns found in the annotated diff.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

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

Powered by Oz

…views-by-default

Co-Authored-By: Oz <oz-agent@warp.dev>
@kjankov kjankov merged commit b816f9d into master May 15, 2026
25 checks passed
@kjankov kjankov deleted the katarina/quality-648-maybe-close-message-previews-by-default branch May 15, 2026 16:34
lawsmd pushed a commit to lawsmd/cortex that referenced this pull request May 22, 2026
## Description
- Collapse orchestration message bodies by default so multi-agent
transcripts are less noisy on first render.
- Keep `StartAgent` prompts expanded by default while applying the
collapsed default to `SendMessageToAgent` output and received-agent
message rows.
- Add focused AI block unit coverage for the new collapse-default
behavior.

## Linked Issue
- Linear:
[QUALITY-648](https://linear.app/warpdotdev/issue/QUALITY-648/maybe-close-message-previews-by-default)
- [ ] The linked issue is labeled `ready-to-spec` or
`ready-to-implement`.
- [x] Where appropriate, screenshots or a short video of the
implementation are included below (especially for user-visible or UI
changes).

## Testing
- [ ] I have manually tested my changes locally with `./script/run`
- `cargo fmt`
- `cargo clippy --workspace --all-targets --all-features --tests -- -D
warnings`
- `cargo test -p warp block::tests --lib`

### Screenshots / Videos
- Screenshot of the collapsed orchestration message previews end to end:

![Collapsed orchestration message
previews](https://github.com/warpdotdev/warp/raw/katarina/quality-648-pr-assets/pr-assets/quality-648/orchestration_message_previews_collapsed.png)

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

## Artifacts
- Conversation:
https://app.warp.dev/conversation/4e2fa677-3c3c-46e3-b834-6b0487a1e1f9
- Plan: [Make orchestration messages collapsed by
default](https://app.warp.dev/drive/notebook/B00gaFErILl9rPmGi1PDYs)

CHANGELOG-NONE

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

---------

Co-authored-by: Oz <oz-agent@warp.dev>
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