Skip to content

Conversation

@hugo-vrijswijk
Copy link
Contributor

@hugo-vrijswijk hugo-vrijswijk commented Aug 20, 2025

Issue

When opening a new tab and no defaultHeaders is configured, headers are cleared. Rather than keeping the headers entered from previous tabs.

Headers are often used for authorization. Having to re-enter the headers for every tab is very inconvenient.

Demo of the bug

Screen.Recording.2025-08-20.at.16.20.24.mov

Demo of the fix

Screen.Recording.2025-08-20.at.16.29.15.mov

@changeset-bot
Copy link

changeset-bot bot commented Aug 20, 2025

🦋 Changeset detected

Latest commit: 28211c7

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

This PR includes changesets to release 1 package
Name Type
@graphiql/react Patch

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

@hugo-vrijswijk hugo-vrijswijk changed the title headers previous tabs Use headers from previous tabs, if available Aug 20, 2025
@hugo-vrijswijk hugo-vrijswijk marked this pull request as draft August 20, 2025 13:02
@hugo-vrijswijk hugo-vrijswijk marked this pull request as ready for review August 20, 2025 14:17
@hugo-vrijswijk
Copy link
Contributor Author

hugo-vrijswijk commented Nov 18, 2025

ping @benjie @dimaMachina

@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.96%. Comparing base (9361440) to head (28211c7).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4096      +/-   ##
==========================================
- Coverage   63.99%   63.96%   -0.04%     
==========================================
  Files          35       35              
  Lines        3086     3086              
  Branches      934      947      +13     
==========================================
- Hits         1975     1974       -1     
- Misses       1106     1107       +1     
  Partials        5        5              

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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