Skip to content

Check toast browser state at call time - #10605

Open
Tomeshwari-02 wants to merge 1 commit into
SandeepVashishtha:masterfrom
Tomeshwari-02:fix/10595-toast-runtime-window-check
Open

Check toast browser state at call time#10605
Tomeshwari-02 wants to merge 1 commit into
SandeepVashishtha:masterfrom
Tomeshwari-02:fix/10595-toast-runtime-window-check

Conversation

@Tomeshwari-02

Copy link
Copy Markdown

Summary

  • replace the module-load server check with a call-time browser check
  • allow toast group dismissal after a browser-like window is installed
  • keep server-side calls as no-ops

Issue

Closes #10595

Validation

  • node --test tests\toastGroups.test.mjs

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

@Tomeshwari-02 is attempting to deploy a commit to the sandeepvashishtha's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added quality:clean 1.2x type:bug gssoc:approved gssoc approved PR level:beginner 20pts size/S Small pull request labels Jul 14, 2026

@codescene-access codescene-access Bot 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.

Our agent can fix these. Install it.

No quality gates enabled for this code.

Quality Gate Profile: Custom Configuration
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved gssoc approved PR level:beginner 20pts quality:clean 1.2x size/S Small pull request type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: toast helpers lock into server mode when imported before window exists

1 participant