Skip to content

Fix browser compatibility: guard requestIdleCallback and startViewTransition#1460

Closed
N2D4 wants to merge 1 commit into
devfrom
devin/1779395147-browser-compat-fixes
Closed

Fix browser compatibility: guard requestIdleCallback and startViewTransition#1460
N2D4 wants to merge 1 commit into
devfrom
devin/1779395147-browser-compat-fixes

Conversation

@N2D4
Copy link
Copy Markdown
Contributor

@N2D4 N2D4 commented May 21, 2026

Add feature checks for two browser APIs that aren't universally supported:

  • requestIdleCallback: Falls back to setTimeout on browsers that don't support it (e.g. Safari)
  • document.startViewTransition: Applies the theme change directly when the View Transitions API is unavailable

Link to Devin session: https://app.devin.ai/sessions/c77b612db7834e9aa71c6b5a0fde316b
Requested by: @N2D4

…nsition

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
stack-auth-hosted-components Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-auth-mcp Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-auth-skills Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-backend Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-dashboard Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-demo Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-docs Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-preview-backend Ready Ready Preview, Comment May 21, 2026 8:34pm
stack-preview-dashboard Ready Ready Preview, Comment May 21, 2026 8:34pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 21, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f9fc38bf-6acd-4e8f-8999-3652d9d4e35a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch devin/1779395147-browser-compat-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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