T24a round 1 fix
- overlays::Dialog caps its card at the window, a title bar's height clear at each end, and scrolls its body while heading and actions stay; the fullscreen body scrolls too; test a_tall_dialog_keeps_its_actions_in_the_window - ToolCallCard's tool name gives way with an Ellipsis, so time and chevron stay in a narrow column; the gallery shows one at 280px - the Agent script shuts the card it opened, so each theme's shot opens it - AGENTS: dialogs fit the window
This commit is contained in:
7 files changed
+86
-9
No files matched your search
@@ -24,6 +24,9 @@ const SCRIPT: &[Step] = &[
|
||||
Step::Shot("approval"),
|
||||
Step::Key("escape"),
|
||||
Step::Wait(200),
|
||||
Step::DownAt("agent-call", 60.0, 18.0),
|
||||
Step::UpAt("agent-call", 60.0, 18.0),
|
||||
Step::Wait(200),
|
||||
];
|
||||
|
||||
fn render(window: &mut Window, cx: &mut App) -> AnyElement {
|
||||
|
||||
@@ -59,6 +59,14 @@ pub fn calls(_: &mut Window, cx: &mut App) -> impl IntoElement + use<> {
|
||||
.summary("src/theme/lift.rs")
|
||||
.arguments(WRITE),
|
||||
)
|
||||
.child(
|
||||
div().w(px(280.)).child(
|
||||
ToolCallCard::new("agent-narrow", "mcp__filesystem__read_multiple_files", StepState::Done)
|
||||
.summary("3 files")
|
||||
.took(Duration::from_millis(1_100))
|
||||
.arguments(READ),
|
||||
),
|
||||
)
|
||||
.child(
|
||||
ToolCallGroup::new("agent-group", "Read 3 files")
|
||||
.child(ToolCallCard::new("agent-group-1", "read_file", StepState::Done).summary("src/theme/mod.rs").took(Duration::from_millis(120)))
|
||||
|
||||
Reference in new issue
Block a user