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

API Playground does not display cursor and response to settings changing #1383

Closed
rankun203 opened this issue Jul 20, 2018 · 5 comments
Closed

Comments

@rankun203
Copy link

rankun203 commented Jul 20, 2018

I'm reporting an issue I encountered with apollo-server@2.0.0, cursors does not show up in the Playground, also switching between light / dark theme mode is not work.

  • I've restarted my laptop and the issue persists, so it seems not a GPU issue.
  • Browser's developer tools reported no error, both Safari and Chrome did not work.
  • I've tried incognito window, no luck.
  • I've tried apollo-server@ 2.0.0-rc.4, it was working, now it is not, I think the possibility of hardware issue has increased.

Hardware info:

  • macOS 10.13.5 (17F77)
  • Mid 2014 Macbook Pro with NVIDIA GeForce GT 750M

📹View this screencast to give it a closer look (and repro steps).

@rankun203 rankun203 changed the title API Playground does not display cursor and response to settings API Playground does not display cursor and response to settings changing Jul 20, 2018
@tonychuuy
Copy link

I have the same problem in mac 10.13.5 (Intel Iris Graphics 540 1536 MB)

@mikeclymer
Copy link

See: graphql/graphql-playground#790

@rankun203
Copy link
Author

rankun203 commented Jul 20, 2018

@mikeclymer Thanks.

Let's move to that issue instead.

@ghost
Copy link

ghost commented Aug 24, 2018

Can somebody add editor.cursorShape': 'line' to default playground configuration, to solve this?

File: apollo-server/packages/apollo-server-core/src/playground.ts

export const defaultPlaygroundOptions = {
  version: playgroundVersion,
  settings: {
    'general.betaUpdates': false,
    'editor.theme': 'dark' as Theme,
    'editor.reuseHeaders': true,
    'tracing.hideTracingResponse': true,
    'editor.fontSize': 14,
    'editor.fontFamily': `'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace`,
    'request.credentials': 'omit',
  },
};

@abernix
Copy link
Member

abernix commented Sep 5, 2018

As an update, this is fixed in the latest versions of Apollo Server thanks to #1586.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants