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

Offline mode ✈️ for https://console.hasura.io/local/graphql #10671

Open
bitjson opened this issue Feb 6, 2025 · 1 comment
Open

Offline mode ✈️ for https://console.hasura.io/local/graphql #10671

bitjson opened this issue Feb 6, 2025 · 1 comment
Labels
k/enhancement New feature or improve an existing feature

Comments

@bitjson
Copy link

bitjson commented Feb 6, 2025

It looks like the v3 engine doesn't support hosting it's own console? ddn console --local opens in a browser: https://console.hasura.io/local?url=http://localhost:3280&promptQLUrl=

But console.hasura.io/local is not a PWA either, so I'm not able to use it locally without consistent internet access. (And hasura.io also happened to have some downtime shortly before I submitted this issue. 😅)

Could the console either:

  1. Support offline usage via PWA, or
  2. Let ddn console --local host a local, static build of the console?

I'd certainly prefer the 2nd option, but I understand the PWA route if e.g. Hasura plans to keep the console closed-source.

@bitjson bitjson added the k/enhancement New feature or improve an existing feature label Feb 6, 2025
@hgiasac
Copy link
Contributor

hgiasac commented Feb 6, 2025

@bitjson the v3-engine container already ships the Graphiql playground. You can browse http://localhost:3280 to run GraphQL queries locally. Other features such as model explorer and observability are exclusive to the Hasura DDN cloud only. They require an internet connection to get data from Hasura cloud services.

However, there are alternatives if you want to view Traces and metrics locally. for example, add Jaeger container to the docker-compose file and modify the otel-collector.yaml config to export traces to Jaeger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants