Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(devtools): avoid polluting user console #5936

Merged
merged 4 commits into from May 13, 2024

Conversation

aliemir
Copy link
Member

@aliemir aliemir commented May 9, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

Changes

When users create a new project or their devtools token expires, their console is polluted with network errors due to missing authentication. This PR removes these errors by handling auth requests in a user-friendly way.

When <DevtoolsProvider /> component is mounted in apps with React's strict mode, it will try to initialize the websocket connection twice and first one will be closed immediately before the connection is established. This PR will delay closing the websocket connection until it's established properly to prevent these errors from appearing in the console.

RK-640 RK-641

@aliemir aliemir requested a review from a team as a code owner May 9, 2024 07:06
Copy link

changeset-bot bot commented May 9, 2024

🦋 Changeset detected

Latest commit: 86f2797

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented May 9, 2024

Deploy Preview for refine-video-club ready!

Name Link
🔨 Latest commit 86f2797
🔍 Latest deploy log https://app.netlify.com/sites/refine-video-club/deploys/663c75effc99aa0008f32550
😎 Deploy Preview https://deploy-preview-5936--refine-video-club.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

nx-cloud bot commented May 9, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 86f2797. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 75 targets

Sent with 💌 from NxCloud.

Copy link

cypress bot commented May 9, 2024

Passing run #11051 ↗︎

0 378 33 0 Flakiness 0

Details:

Merge 86f2797 into 18b13d3...
Project: refine Commit: ca5fdbe346 ℹ️
Status: Passed Duration: 25:39 💡
Started: May 9, 2024 7:14 AM Ended: May 9, 2024 7:40 AM

Review all test suite changes for PR #5936 ↗︎

@aliemir aliemir added this to the June Release milestone May 9, 2024
@aliemir aliemir changed the base branch from master to releases/june May 13, 2024 17:49
@aliemir aliemir merged commit 0391a9e into releases/june May 13, 2024
98 checks passed
@aliemir aliemir deleted the fix/devtools-avoid-polluting-user-console branch May 13, 2024 17:50
@aliemir aliemir mentioned this pull request May 13, 2024
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.

None yet

3 participants