Keep the Agent command center visible during archive and delete (#53804)

## Why

Archive and delete progress replaced the task list, hiding the selected task and surrounding context while the request was pending.

## What changed

Render progress as a centered dialog over the Agent command center. Preserve the selected task and shared scroll/filter state, and re-render the backdrop on terminal resize.

## Testing

Update narrow-terminal snapshots for both archive and delete to cover the progress overlay, task list, and selected row. Adapt the existing modal input-isolation test to supply a backdrop.

GitOrigin-RevId: e155478aeaddef189fbc53b27b8ff05d54bc3711
This commit is contained in:
Eric Traut
2026-10-13 23:58:39 +00:00
committed by copyberry
parent 9e03960cf8
commit 923f276f57
7 changed files with 111 additions and 19 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ impl Renderable for ViewStack<'_> {
}
/// A dialog placed within the supplied viewport, without taking over its backdrop.
pub(crate) struct CenteredView<'a>(pub(super) &'a dyn BottomPaneView);
pub(crate) struct CenteredView<'a>(pub(crate) &'a dyn BottomPaneView);
impl Renderable for CenteredView<'_> {
fn render(&self, area: Rect, buf: &mut Buffer) {