AddThisFeature

Toast Notifications

Give every action a clear, non-blocking confirmation.

simple UI & Polish

What it adds

A small, temporary message confirming that something worked — or explaining that it did not.

What your agent is told to do

3
  1. 1

    Add a single global toast region and a way to trigger it from anywhere.

  2. 2

    Find every mutating action in the app (create, update, delete, upload) and give it a toast on success and on failure.

  3. 3

    Wire it into the app's existing flash/notification mechanism if one exists, rather than building a parallel system.

Edge cases it handles

4
  • Several toasts at once must stack, not overlap.
  • An error toast must not auto-dismiss — the user needs time to read it.
  • A toast must never cover the primary action of the page, especially on mobile.
  • A toast must not be the only channel for a critical error.

Definition of done

7
  • Every mutating action confirms success or reports failure.
  • Toasts stack and dismiss cleanly.
  • Error toasts persist until dismissed.
  • Toasts are announced via an aria-live region.
  • They never obstruct navigation or primary actions on mobile.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.