Components
Removal feedback and Undo
Offer an immediate, named recovery action after removing an agenda block.
On this page
Purpose and usage
Offer an immediate, named recovery action after removing an agenda block.
Use for reversible agenda removal; destructive project deletion needs a different pattern.
Anatomy
| Part | Contract |
|---|---|
| Message | Names the removed entry. |
| Undo | Restores the last removed entry for its date. |
| Dismiss | Closes the notification. |
Variants and configuration
| Configuration | Behavior |
|---|---|
| message | Product-specific removal message. |
| onUndo/onDismiss | Parent owns the mutation and visibility. |
State coverage
| State | Implemented behavior |
|---|---|
| Visible | Fixed bottom notification respects safe-area inset. |
| Undo | Entry restored and the notification cleared. |
| Timed out | RadarCalendar clears the removed state after seven seconds. |
Interaction and responsive behavior
- Undo restores an agenda entry, not the entire project or task history.
- Do not obscure critical phone actions with the fixed toast.
- A seven-second opportunity needs accessibility review before being accepted as the only recovery route.
Accessibility contract
- role=status and aria-atomic support announcement.
- Dismiss has an explicit accessible name.
- Verify that Undo is reachable before automatic dismissal.
Known gaps and readiness
The source exposes only a short-lived immediate recovery. Long-term restoration and timed-interaction accessibility need further product decisions.
Composition example
<AgendaRemovalToast message="Atlas customer portal removed from this day"
onUndo={restoreRemovedBlock} onDismiss={dismissToast} />Source references
| File | Responsibility |
|---|---|
| app/components/agenda-removal-toast.tsx | Status notification |
| app/components/radar-calendar.tsx | Removal state, restore logic and seven-second lifetime |
Examples from the app
Actual Radarist components with fictional data. Captured at 2× resolution or higher. Select an image to inspect it full size.
Related topics
Source audit: 2026-10-07 · Revision 0103e2549959 · Documentation v0.1