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

Cannot change away from dark theme in GraphQL router playground #744

Closed
rickpasetto opened this issue Apr 19, 2024 · 7 comments · Fixed by #805
Closed

Cannot change away from dark theme in GraphQL router playground #744

rickpasetto opened this issue Apr 19, 2024 · 7 comments · Fixed by #805
Labels
bug Something isn't working internally-reviewed The issue has been reviewed internally.

Comments

@rickpasetto
Copy link
Contributor

Component(s)

router

Component version

0.75.0

wgc version

0.51.3

controlplane version

cloud?

router version

0.75.0

What happened?

Description

Open up the endpoint to the GraphQL Playground on the router. It always defaults to dark mode. Changing the theme in settings has no effect

I can reproduce this problem both running the router locally and by running it self-hosted.

Steps to Reproduce

  • Open up the endpoint to the GraphQL Playground on the router
  • Open Settings
  • Click "Light" or "System Settings". It has no effect. Theme stays dark (and, admittedly, extremely difficult to read).

Expected Result

  • Ability to change theme

Actual Result

  • Cannot change theme from dark theme
Screenshot 2024-04-19 at 3 51 12 PM
Screen.Recording.2024-04-19.at.3.51.52.PM.mov

Environment information

Environment

OS: macOS running Chrome 123.0.6312.124

Router configuration

No response

Router execution config

No response

Log output

No response

Additional context

No response

@rickpasetto rickpasetto added the bug Something isn't working label Apr 19, 2024
Copy link

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible.
The roadmap is driven by our customers and we have to prioritize issues that are important to them.
You can influence the priority by becoming a customer. Please contact us here.

@StarpTech
Copy link
Contributor

Thanks for reporting! Please use the native theme switcher.
CleanShot 2024-04-30 at 11 19 15@2x

@StarpTech StarpTech added the internally-reviewed The issue has been reviewed internally. label Apr 30, 2024
@rickpasetto
Copy link
Contributor Author

rickpasetto commented Apr 30, 2024

@StarpTech sorry I don't know how you open the native theme switcher. Is this in a different version?
(If you look at the videos above that shows what I see...)

@StarpTech
Copy link
Contributor

StarpTech commented May 1, 2024

Oh, you were referring to the local router playground. Got it.

@rickpasetto
Copy link
Contributor Author

I am viewing the studio pointing at a self-hosted router running on AWS. Is it possible that I've misconfigured it somehow?

@StarpTech
Copy link
Contributor

I can't validate it with the provided information but it doesn't looks like. Your report is valid. The playground does not support theming. In the Studio, you can only use our own light / dark mode.

@rickpasetto
Copy link
Contributor Author

Hm. But it appears that it is "stuck" in dark mode, even if you choose "light" mode. I even notice in the playground (cosmo.wundergraph.com) I am unable to switch the theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internally-reviewed The issue has been reviewed internally.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants