feat(response-status): adding agent steps to response status#6318
feat(response-status): adding agent steps to response status#6318aramos-adobe wants to merge 5 commits into
Conversation
|
|
The build is broken here 😄 Please fix so it also deploys |
📚 Branch Preview Links🔍 First Generation Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Description
Extends
swc-response-statusto support agentic AI execution states from the ConvAI Response Status design spec, while preserving the existing legacy API (plain-text reasoning +loading/open).What's included
swc-response-status-step— light-DOM step descriptor (title,detail,kind,status) slotted into response statusswc-response-statuswhenphaseis set and/or step children are present:phase:initiating|processing|completedurationfor complete summary (Thought for N seconds)initiating-label,loading-label,complete-labelopenduring processing and complete)swc-progress-circlefor loading states in this PR)Figma reference
Taniya/Aziz working file — Agentic states (node 29-189)
Motivation and context
ConvAI needs a status surface that reflects initiation → processing (collapsed/expanded) → completed (collapsed/expanded) so users can see rolling step titles while the model works and review execution steps after the fact. This PR implements the engineering spike toward that design and unblocks API/RFC review with design.
Addresses parent story SWC-2134 (Support Response Status Design). Related design ticket: SUE-170.
Related issue(s)
Screenshots (if appropriate)
Author's checklist
Reviewer's checklist
patch,minor, ormajorfeaturesManual review test cases
Agentic states — processing expanded
phase="processing",open, and multipleswc-response-status-stepchildrenAgentic states — complete collapsed
phase="complete"andduration="9"with completed stepsLegacy reasoning (regression)
<swc-response-status loading>then complete with default-slot reasoning textDevice review
Accessibility testing checklist
Keyboard — Tab to disclosure button when steps/reasoning exist; Enter/Space toggles
open; focus visiblearia-expanded/aria-controlsto reflect panel stateScreen reader — Processing header uses
role="status"; step list usesrole="list"/listitemreasoning-label) announcedKnown gaps / follow-ups (SWC-2134 sub-tasks)
durationvscomplete-labelprecedence fix (SWC-2158)step idpattern (SWC-2157, SWC-2163)