Write our own toasts and combobox #120

Merged
jcoffey-dev merged 1 commits from phase1/toast-combobox into main 2026-10-19 00:25:22 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 1a42516646 Write our own toasts and combobox
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 12s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m22s
The toast list is a small store of our own (hooks/use-toast.ts), read
through useSyncExternalStore, with tests: newest first, five at most, gone
after five seconds or the toast's own duration, and a handle to take it down
or change it. toast(), useToast() and the variants work as before. The
toaster draws the list itself, so components/ui/toast.tsx goes.

The combobox is rewritten too, with the same props. Its list now takes the
button's width from Radix's trigger-width variable instead of measuring it.
2026-10-18 16:34:03 -07:00