Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Milestone 1 #3

Merged
merged 11 commits into from
Dec 3, 2021
Merged

Milestone 1 #3

merged 11 commits into from
Dec 3, 2021

Conversation

jasonbahl
Copy link
Contributor

@jasonbahl jasonbahl commented Dec 3, 2021

New "Router"

This PR introduces a new "Router" component which consists of a left-sidebar nav that allow for new screens to be added and routed to.

The Router includes 2 initial screens:

  • GraphiQL
  • Help

GraphiQL Screen

The GraphiQL screen includes the GraphiQL IDE that is pretty similar to the initial release of this repo.

It includes a re-built GraphQL Query Composer (formerly called "Explorer") and an "Auth Switch" that allows you to toggle between executing GraphQL requests as a public (non-authenticated) user and an authenticated user (using the cookie of your WordPress admin user).

Help Screen

There's a new help screen that provides quick access to resources in the WPGraphQL ecosystem. This screen will improve over time, but it's a start that should help make it a bit more convenient to find resources when you need them.

No More Code Exporter

The GraphiQL IDE that currently ships with WPGraphQL includes a "Code Exporter" feature, but at the moment it only includes a few code templates for Gatsby, and they're all outdated since Gatsby Source WordPress has become the official source plugin of Gatsby.

So, at the moment, the code-exporter feature actually provides negative value for users, so we've removed it.

We plan to re-think it and bring it back in the future, with more relevant code templates (Apollo, Relay, Faust.JS, etc), and we want to make it extendable so 3rd parties can provide their own templates that can be used.

Keep an eye out for that in the future.

@jasonbahl jasonbahl self-assigned this Dec 3, 2021
@jasonbahl jasonbahl added the enhancement New feature or request label Dec 3, 2021
@jasonbahl jasonbahl merged commit 647d9e2 into master Dec 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant