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: WPGraphQL Settings page fails to load when "graphiql_enabled" setting is "off" #3137

Merged

Conversation

jasonbahl
Copy link
Collaborator

What does this implement/fix? Explain your changes.

This fixes a bug where the WPGraphQL Settings page would fail to load after the "Enable GraphiQL IDE" setting is set to "off".

Does this close any currently open issues?

closes #3136

Any other comments?

When setting the "Enable GraphiQL IDE" setting to "off" and saving the settings:

Before

The settings page fails to load and a console error is displayed.

CleanShot 2024-05-20 at 21 55 02@2x

After

Now the settings page loads as expected, but the IDE is disabled, also as expected.

CleanShot 2024-05-20 at 21 54 12@2x

…hiql_link_in_admin_bar" settings and how they impact the settings page
@jasonbahl jasonbahl self-assigned this May 21, 2024
@coveralls
Copy link

coveralls commented May 21, 2024

Coverage Status

coverage: 84.347% (-0.02%) from 84.37%
when pulling f79051b on jasonbahl:fix/3136-settings-page-wont-load
into 5d3cd82 on wp-graphql:develop.

josephfusco
josephfusco previously approved these changes May 21, 2024
Copy link

codeclimate bot commented May 21, 2024

Code Climate has analyzed commit f79051b and detected 0 issues on this pull request.

View more on Code Climate.

@jasonbahl jasonbahl merged commit 4a7403a into wp-graphql:develop May 30, 2024
30 of 31 checks passed
@jasonbahl jasonbahl mentioned this pull request Jun 5, 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.

Settings page fails to load when "Enable GraphiQL IDE" setting is turned "off"
3 participants