cass

DocsThe terminal UI

Toast Notification System

On this page

cass uses a non-intrusive toast notification system for transient feedback—operations complete, errors occur, or state changes without modal dialogs interrupting your workflow.

Notification Types#

Type Icon Auto-Dismiss Use Case
Info i 3 seconds Status updates, tips
Success * 2 seconds Operations completed
Warning ! 4 seconds Non-critical issues
Error x 6 seconds Failures requiring attention

Behavior#

  • Non-Blocking: Toasts appear in the top-right corner without stealing focus (the position is fixed; there is no setting for it)
  • Auto-Dismiss: Each type has an appropriate display duration
  • Message Coalescing: Duplicate messages show a count badge instead of stacking
  • Maximum Visible: At most 5 toasts at once to prevent screen clutter

Visual Design#

Toasts feature:

  • Color-coded borders: Matches notification type (blue/green/yellow/red)
  • Theme-aware: Adapts to current dark/light theme
  • Subtle animation: Fade in/out for smooth appearance

Common Toast Messages#

Trigger Toast
Bulk copy of selected paths * "Copied 3 paths"
Bulk export * "Exported 3 items as JSON"
Copy failure x "Copy failed: ..."
Slow search "Slow search: 1840ms"
Semantic refinement failure "Refinement failed: ..."
Saved views * "Renamed slot 2", ! "Slot 4 is empty"