Skip to content

Create new queued prompts list UI#11439

Merged
harryalbert merged 5 commits into
masterfrom
harry/app-4532-update-queued-prompts-to-use-new-ui
May 27, 2026
Merged

Create new queued prompts list UI#11439
harryalbert merged 5 commits into
masterfrom
harry/app-4532-update-queued-prompts-to-use-new-ui

Conversation

@harryalbert
Copy link
Copy Markdown
Contributor

@harryalbert harryalbert commented May 20, 2026

Description

This PR adds a new queued prompt panel, which allows for multiple queued prompts at a time, queued prompt editing, queued prompt re-arranging, and allows you to collapse your queued prompts when you don't want to look at them.

In this PR, I only update it so that direct prompt queueing uses this new UI, keeping cloud conversation setup using the old queued prompt UI. I think cloud conversation setup should use the new UI, but that's a separate workstream (that should maybe be feature flagged), so I think it deserves its own PR.

As is, the new UI is not feature flagged, as queued prompts as a whole are still in dogfood.

This is a pretty large PR, but I go into solid detail about the architecture and product decisions in the tech and product specs.

Implements APP-4563

Testing

  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

https://www.loom.com/share/2689f5f8e12d4acabd14e6c3fa70c73e

Agent Mode

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

@cla-bot cla-bot Bot added the cla-signed label May 20, 2026
Copy link
Copy Markdown
Contributor Author

harryalbert commented May 20, 2026

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

oz-for-oss Bot commented May 20, 2026

@harryalbert

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

@harryalbert harryalbert changed the title update queued prompt UI Create new queued prompts list May 20, 2026
@harryalbert harryalbert changed the title Create new queued prompts list Create new queued prompts list UI May 20, 2026
@harryalbert harryalbert force-pushed the harry/app-4532-update-queued-prompts-to-use-new-ui branch from 5428969 to 332c4c9 Compare May 20, 2026 20:58
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 adds a terminal-owned queued prompt model and a new queued-prompts panel, then routes /queue and auto-queue submissions through it while leaving Cloud Mode and compact placeholders on the legacy pending-user-query UI.

Concerns

  • Two active-AI-block lookup paths no longer skip legacy pending-user-query rich content, so Cloud Mode/compact placeholders can hide the real active AI block from downstream logic.
  • The new test modules call QueuedQuery::into_text(), but the PR only defines text(), so the test build will fail.

Verdict

Found: 0 critical, 4 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

Comment thread app/src/terminal/view.rs
Comment thread app/src/terminal/view.rs
Comment thread app/src/ai/blocklist/queued_query_tests.rs Outdated
Comment thread app/src/terminal/view/queued_prompts_test.rs Outdated
@harryalbert harryalbert force-pushed the harry/app-4532-update-queued-prompts-to-use-new-ui branch from 332c4c9 to f31a7b6 Compare May 22, 2026 16:57
Comment thread specs/REMOTE-1543/PRODUCT.md Outdated
Comment thread specs/REMOTE-1543/PRODUCT.md Outdated
32. While that newly-fired prompt is mid-exchange, the rest of the queue stays intact, the panel updates the count to `<N-1> queued`, and additional prompts can still be queued at the tail.
33. The cycle continues until either the queue is empty or one of the abort conditions in (34) fires.
### Cancellation and error handling
34. When the active conversation finishes for any non-`Complete` reason — `Error`, `Cancelled`, `CancelledDuringRequestedCommandExecution` — auto-fire pauses immediately. The queue is not flushed.
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.

we should see how this feels in dev but I'm pretty sure that claude code auto-sends the next queued propmt on cancel

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.

hmm, that's interesting. I kind of think we should follow claude semantics given it's what people will expect, so I might just change this to send on cancel

Comment thread specs/REMOTE-1543/TECH.md Outdated
Comment thread app/src/ai/blocklist/context_model.rs Outdated
Comment thread app/src/ai/blocklist/queued_query.rs Outdated
@harryalbert harryalbert force-pushed the harry/app-4532-update-queued-prompts-to-use-new-ui branch 4 times, most recently from 4a0343f to e17fec3 Compare May 22, 2026 21:37
@harryalbert harryalbert force-pushed the harry/app-4532-update-queued-prompts-to-use-new-ui branch 3 times, most recently from c2404c2 to 7afeb71 Compare May 26, 2026 21:25
@harryalbert harryalbert force-pushed the harry/app-4532-update-queued-prompts-to-use-new-ui branch from 7afeb71 to 8076558 Compare May 27, 2026 14:16
@harryalbert harryalbert merged commit 98af7b6 into master May 27, 2026
26 checks passed
@harryalbert harryalbert deleted the harry/app-4532-update-queued-prompts-to-use-new-ui branch May 27, 2026 14:43
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