Description
Users may perform multiple undoable actions in rapid succession. Design a stacked Undo banner pattern that consolidates banners into a stack with per-item undo, plus an "Undo all" affordance.
Requirements and context
- Must be accessible (WCAG 2.1 AA), responsive, and documented in the design system
- Should be consistent with existing patterns and easy to review
- Relevant code:
src/components/UndoBanner
- Stack must cap at 4 visible items with a "+N more" overflow
Suggested execution
- Fork the repo and create a branch
git checkout -b uiux/undo-banner-stacking
- Implement changes
- Design stacked banner anatomy and overflow
- Specify aggregate "Undo all" affordance
- Draft the auto-dismiss timing per stack size
- Validate accessibility and responsive assumptions
Test and commit
- Run checks
npm run lint and component/visual tests
- Cover edge cases
- Very rapid action bursts, mobile stack, screen reader announcements
- Include screenshots/before-after and accessibility (axe) notes
Example commit message
design: undo banner stacking pattern
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Description
Users may perform multiple undoable actions in rapid succession. Design a stacked Undo banner pattern that consolidates banners into a stack with per-item undo, plus an "Undo all" affordance.
Requirements and context
src/components/UndoBannerSuggested execution
git checkout -b uiux/undo-banner-stackingTest and commit
npm run lintand component/visual testsExample commit message
design: undo banner stacking patternGuidelines