-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Avoid creating new tabs on header state #3371
Conversation
🦋 Changeset detectedLatest commit: 3c2b436 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
Solves #2825, an old bug where new tabs were created on every refresh the bug occurred when: 1. `shouldPersistHeaders` is not set to true 2. `headers` or `defaultHeaders` are provided as props 3. the user refreshes the browser
19f2b70
to
3c2b436
Compare
The latest changes of this PR are available as canary in npm (based on the declared
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3371 +/- ##
==========================================
- Coverage 55.76% 55.75% -0.02%
==========================================
Files 110 110
Lines 5242 5243 +1
Branches 1425 1426 +1
==========================================
Hits 2923 2923
- Misses 1896 1897 +1
Partials 423 423
|
✅ Deploy Preview for graphiql-test ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Solves #2825, an old bug where new tabs were created on every refresh
the bug occurred when:
shouldPersistHeaders
is not set to trueheaders
ordefaultHeaders
are provided as propsI could not get cypress to re-create the bug, but I was able to manually confirm the fix