APP-4889 - fixed-height expandable toasts with 3-active cap subagent
APP-4889 - fixed-height expandable toasts with 3-active cap is a Claude Code subagent specifying toast UI limits for Warp. It caps active toasts at three and makes long messages expandable.
AGPL-3.0 ★ 720 updated 2026-11-10
.claude/agents/APP-4889---fixed-height-expandable-toasts-with-3-active-cap.mdWhat APP-4889 - fixed-height expandable toasts with 3-active cap does
The subagent guides the implementation of toast UI constraints in the warpdotdev/warp Rust desktop application. It updates DismissibleToastStack to cap active toasts at three items, evicting the oldest entry whenever a new notification arrives. If an evicted ephemeral toast has a running timer, that abort handle cancels immediately.
Toasts receive a bounded collapsed height clamped to roughly two wrapped lines via ConstrainedBox. Messages exceeding this threshold show a focusable toggle labeled "Show more" or "Show less" for screen readers. Short messages omit the toggle entirely. Each toast tracks its expansion state independently.
Changes apply directly to app/src/view_components/dismissible_toast.rs, updating both toast_stack and update_toast_stack in the workspace. The neighboring AgentToastStack component remains untouched.
What it helps with
- Cap active Warp toast notifications to at most three
- Clamp collapsed toast height for long error messages
- Provide accessible show-more toggles for truncated toasts
- Evict oldest notifications during error floods
Example prompts for the agent
- Implement the APP-4889 toast specification in
DismissibleToastStack - Cap active toasts at three inside
app/src/view_components/dismissible_toast.rs - Add expandable message toggles to Warp dismissible toasts per APP-4889
How to install APP-4889 - fixed-height expandable toasts with 3-active cap
Manually: put the files in place
.claude/agents/APP-4889---fixed-height-expandable-toasts-with-3-active-cap.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/APP-4889---fixed-height-expandable-toasts-with-3-active-cap.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/APP-4889---fixed-height-expandable-toasts-with-3-active-cap.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about APP-4889 - fixed-height expandable toasts with 3-active cap
How to install APP-4889 - fixed-height expandable toasts with 3-active cap in Claude Code?
To install it in Claude Code, place the subagent file at .claude/agents/APP-4889---fixed-height-expandable-toasts-with-3-active-cap.md.
What does APP-4889 - fixed-height expandable toasts with 3-active cap do?
The subagent provides technical specifications for toast UI in the Warp client. It limits visible toasts to three and truncates long text behind an accessible expand toggle.
Which components are modified by the APP-4889 specification?
Modifications apply to DismissibleToastStack and DismissibleToast in app/src/view_components/dismissible_toast.rs. The AgentToastStack component remains unaffected.