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

add toolbar.additionalComponent, remove initialState for react editor state hooks #3447

Merged
merged 8 commits into from
Nov 2, 2023

Conversation

acao
Copy link
Member

@acao acao commented Oct 31, 2023

No description provided.

Copy link

changeset-bot bot commented Oct 31, 2023

🦋 Changeset detected

Latest commit: ea19c44

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

This PR includes changesets to release 4 packages
Name Type
@graphiql/react Patch
@graphiql/plugin-code-exporter Patch
@graphiql/plugin-explorer Patch
graphiql 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

Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #3447 (ea19c44) into main (2348641) will increase coverage by 0.10%.
Report is 19 commits behind head on main.
The diff coverage is 79.31%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3447      +/-   ##
==========================================
+ Coverage   55.75%   55.85%   +0.10%     
==========================================
  Files         110      110              
  Lines        5243     5264      +21     
  Branches     1426     1435       +9     
==========================================
+ Hits         2923     2940      +17     
- Misses       1897     1898       +1     
- Partials      423      426       +3     
Files Coverage Δ
packages/graphiql-react/src/editor/context.tsx 73.39% <100.00%> (ø)
...raphql-language-service-server/src/GraphQLCache.ts 50.88% <50.00%> (ø)
...ql-language-service-server/src/MessageProcessor.ts 46.11% <50.00%> (-0.11%) ⬇️
...nguage-service/src/utils/getVariablesJSONSchema.ts 94.59% <98.38%> (+0.71%) ⬆️
packages/graphiql/src/components/GraphiQL.tsx 68.96% <0.00%> (-0.97%) ⬇️
packages/graphiql-react/src/editor/hooks.ts 40.15% <23.52%> (+1.56%) ⬆️

Copy link
Contributor

github-actions bot commented Oct 31, 2023

The latest changes of this PR are available as canary in npm (based on the declared changesets):

graphiql@3.0.9-canary-5c561479.0
@graphiql/plugin-code-exporter@1.0.2-canary-5c561479.0
@graphiql/plugin-explorer@1.0.2-canary-5c561479.0
@graphiql/react@0.20.2-canary-5c561479.0

@acao acao changed the title set initialState when a default is provided and no editor value is present add toolbar.additionalComponent prop, remove initialState for react editor state hooks Nov 1, 2023
@acao acao changed the title add toolbar.additionalComponent prop, remove initialState for react editor state hooks add toolbar.additionalComponent, remove initialState for react editor state hooks Nov 1, 2023
@acao acao merged commit 8468a3b into main Nov 2, 2023
14 checks passed
@acao acao deleted the initialState-fix branch November 2, 2023 12:28
@acao acao mentioned this pull request Nov 2, 2023
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