use super::World;
use crate::test_support::window::seated;
pub(super) fn asked_world() -> World {
World {
name: "asked",
model: crate::test_support::window::asked(),
}
}
pub(super) fn docked() -> World {
let mut model = seated();
model.convs[0].state = crate::reply::convs::AgentState::InFlight;
World {
name: "docked",
model,
}
}
pub(super) fn tabbed() -> World {
let mut model = seated();
let second = crate::test_support::window::conv("20260830T052000Z-b2c3", "tidy the rule");
model.convs.push(second);
for root in ["20260830T052000Z-b2c3", "20260830T051200Z-a1b2"] {
model.select(root);
}
model.transcript = seated().transcript;
World {
name: "tabbed",
model,
}
}
pub(super) fn noticed() -> World {
let mut model = seated();
model.notice = Some(crate::ui::Notice::InDoubt {
op: "message".to_owned(),
why: "the connection closed before the reply".to_owned(),
});
World {
name: "noticed",
model,
}
}