Job Alerts DS

Feedback

Toast policy (what deserves one, how long it lives) and empty-state pattern. Dialogs were decided in Section 2; skeletons in Section 5.

Show audit of the app before this rule

Audit — what we have today

✓ Already right

  • One toast API (hooks/use-toast → Mantine notifications) — no competing systems.
  • Error toasts carry the server message, not generic text.
  • Per-section skeletons exist; destructive confirm dialog shipped in Section 2.

✗ Violations / gaps

  1. 27 toasts, ~13 of them green successfor routine saves ("Template saved", "Workday saved"…) whose result is already visible in the UI — noise, and green loses meaning (Section 1).
  2. Errors auto-dismisslike successes — a missed red toast is a missed failure; research says errors shouldn't fade.
  3. Empty states are bare one-liners("No captures match this filter.") — no next step, no distinction between first-use and filtered-empty.
  4. Toast API has only two variants (default=green / destructive=red) — no neutral option.

Axis 1 — Toast policy

Mock of what the same three events produce under each policy.

Option A — quiet successes, loud errors

✓ CHOSEN

Success toast ONLY when the result isn't visible where the user acted (background enrich, delete, cross-section effects). Routine saves rely on the UI updating. Errors: persistent until dismissed.

Save template → no toast (list updates in place)

Draft saved and enriched

Capture analysis found 4 fields.

auto-hides 5s

Workday save failed

Network error — nothing was saved. Try again.

✕ stays until dismissed

+ Green stays meaningful; errors can't be missed; fewer interruptions in a logging-heavy tool.
− Users who expect a “saved!” pat on the back lose it.

Option B — toast everything (codify current)

Every mutation toasts. Standardize 5s duration; errors also auto-dismiss.

Template saved

auto-hides 5s

Draft saved and enriched

auto-hides 5s

Workday save failed

Network error.

auto-hides 5s

+ Zero code audit; every action acknowledged.
− Toast fatigue in a tool used dozens of times per day; fading errors get missed; green flood.

Axis 2 — Empty states

Two distinct situations: nothing exists yet vs a filter matched nothing.

Option A — two-pattern system

✓ CHOSEN

First-use: headline + why it's useful + primary action. Filtered-empty: one line naming the active filter + "Clear filters".

No proposals yet

Log your first sent proposal and the funnel starts tracking replies, wins, and cost per connect automatically.

No proposals match “design” with status Won.

+ First-use guidance measurably lifts activation; filtered-empty explains itself and offers the fix.
− A few more components to write.

Option B — specific one-liners

Keep single-line empty states but make each one name its context. No actions.

No proposals found.

No captures match this filter.

+ Minimal diff.
− Blank first-run dashboard gives a new user nothing to do — the highest-value moment stays dead.

Shared rules (all options)

  • One toast API (hooks/use-toast). Position bottom-right; max ~10 words per message.
  • Toasts never carry the only copy of critical information and never appear over modals/wizards.
  • Blocking problems use a dialog or inline error (Section 3), not a toast.
  • Error toast text says what failed AND whether anything was saved.
  • Empty states never say "no data" — they name the thing and the reason.
  • Loading = skeleton for sections (Section 5), button loading for actions.
Show research sources

✓ Decision: Option A + Option A

Why A/A:

  1. Only section where codifying current would codify a problem: 13 routine success toasts = fatigue + green flood; fading errors = missed failures.
  2. First-use empty states guide the highest-value moment (activation lift).

Success-toast keep list (result not visible in place):

  • "Draft saved (and enriched)" — background AI enrichment.
  • "Marked as sent" — creates a proposal in another section.
  • "Workday deleted" — confirms permanence after the dialog.
  • "Capture settings saved" — save has no visible result nearby.

Removed: Template saved · Workday saved/updated · Proposal saved · Marked as replied/won · Capture analyzed (all visible in place). All error toasts persist until dismissed.

Design system for a freelance job-alert app. App copies are downstream.