Skip to content

Fix publish race error toast - #82

Merged
naaiyy merged 7 commits into
mainfrom
fix/publish-error-toast
Aug 28, 2026
Merged

Fix publish race error toast#82
naaiyy merged 7 commits into
mainfrom
fix/publish-error-toast

Conversation

@naaiyy

@naaiyy naaiyy commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • prefer Convex structured error data over the transport wrapper
  • keep empty Convex envelopes out of user-facing toasts
  • cover stale-draft and empty-envelope cases

Verification

  • bun test
  • bun run check-types
  • bunx biome check apps/web/features/editor/publish-dialog.tsx apps/web/features/editor/publish-dialog.test.ts

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
base-blocks Ready Ready Preview Aug 28, 2026 9:19pm

Request Review

@github-actions

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 8dfc7a5.

@naaiyy
naaiyy merged commit 1829acd into main Aug 28, 2026
9 checks passed
@naaiyy
naaiyy deleted the fix/publish-error-toast branch August 28, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant