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

Studio Explorer Boilerplate HTML #68

Closed
abernix opened this issue Jul 12, 2021 · 0 comments · Fixed by #526
Closed

Studio Explorer Boilerplate HTML #68

abernix opened this issue Jul 12, 2021 · 0 comments · Fixed by #526
Assignees

Comments

@abernix
Copy link
Member

abernix commented Jul 12, 2021

Requirements

This replaces the behavior of redirecting directly to studio with the more complete implementation which includes a landing-page that is served locally and offers a redirect to Studio. This will match the behavior of Apollo Server and Apollo Gateway today, exactly. This offers more transparency to the user to understand what about to happen (the redirect) and allows them to optionally make the behavior sticky (on account of a browser cookie) for future requests.

  • Rather than redirect on the Router's configured endpoint, this replaces that redirect with serving of HTML boilerplate (e.g., with content-type: text/html) when the appropriate accept header with a satisfying text/html value is met.
  • Renders the same boilerplate HTML that Apollo Server uses, which the implementation for should be found here

Effectively, this should produce this experience:
image

Will Resolve #380

@o0Ignition0o o0Ignition0o transferred this issue from another repository Nov 4, 2021
@abernix abernix added 2021-12 and removed 2021-11 labels Dec 3, 2021
@bnjjj bnjjj self-assigned this Feb 22, 2022
@abernix abernix added this to the v0.1.0-alpha.7 milestone Feb 25, 2022
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 a pull request may close this issue.

3 participants