Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

chore: remove stale sonner references - #2958

Merged
adamleithp merged 1 commit into
mainfrom
chore/remove-sonner-refs
Jun 27, 2026
Merged

chore: remove stale sonner references#2958
adamleithp merged 1 commit into
mainfrom
chore/remove-sonner-refs

Conversation

@adamleithp

Copy link
Copy Markdown
Contributor

Toasts now route through @posthog/quill, not sonner. This clears the leftover references:

  • Drop the redundant toast as sonnerToast import aliases in useInboxCloudTaskRunner.ts and ConfigureAgentsSection.tsx; sonnerToast.dismisstoast.dismiss.
  • Reword the three sonner-mentioning comments in the toast.tsx quill wrapper.
  • Remove Sonner from the Key Libraries list in AGENTS.md (CLAUDE.md symlinks to it).

No behavior change — pure cleanup.

🤖 Generated with Claude Code

Toasts now route through quill, not sonner. Drop the leftover
`sonnerToast` import aliases, reword the toast wrapper comments, and
remove Sonner from the key-libraries list.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 60ae388.

@adamleithpadamleithp added the Stamphog This will request an autostamp by stamphog on small changes label Jun 27, 2026
@adamleithp
adamleithp enabled auto-merge (squash) June 27, 2026 05:17
@greptile-apps

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "chore: remove stale sonner references" | Re-trigger Greptile

@github-actionsgithub-actionsBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pure cosmetic cleanup removing a redundant import alias — sonnerToast and toast were the same object, so all call sites are functionally identical after the change. Comment and doc updates are non-functional.

@adamleithp
adamleithp merged commit 53c87c7 into mainJun 27, 2026
23 checks passed
@adamleithp
adamleithp deleted the chore/remove-sonner-refs branch June 27, 2026 05:24
raquelmsmith added a commit that referenced this pull request Jun 27, 2026
FolderPicker imported `toast` from `sonner`, but `sonner` is not a declared
dependency (it was removed in #2958) and is absent from the lockfile, so
`build` and `typecheck` fail on main. Use the canonical
`@posthog/ui/primitives/toast` (the same `toast.error(title, { description })`
API) like the other 66 call sites.
Generated-By: PostHog Code
Task-Id: dc505d33-c219-41c9-ac6b-192caf7730ea
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

StamphogThis will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@adamleithp