Conversation
… into feat/lab-query-plan
There was a problem hiding this comment.
Code Review
This pull request introduces Hive Router query plan rendering to the Hive Laboratory, featuring a new visual graph component and a text-based viewer. It also expands the laboratory's configuration options for fetch operations and subscription protocols. Feedback highlights the need to adhere to the repository's style guide by using fetchWithRetry for introspection, improving the retry logic to handle HTTP errors, securing unsafe JSON parsing in the UI, and optimizing performance in the graph rendering logic.
…h), modal to disable move canvas when open
… into feat/lab-settings
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphql-hive/laboratory |
0.1.4-alpha-20260415093228-17e1c35cf207aec6f6f51752b46a6c6b1efdac82 |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/render-laboratory |
0.1.4-alpha-20260415093228-17e1c35cf207aec6f6f51752b46a6c6b1efdac82 |
npm ↗︎ unpkg ↗︎ |
hive |
11.0.3-alpha-20260415093228-17e1c35cf207aec6f6f51752b46a6c6b1efdac82 |
npm ↗︎ unpkg ↗︎ |
|
🐋 This PR was built and pushed to the following Docker images: Targets: Platforms: Image Tag: |
| return signal; | ||
| } | ||
|
|
||
| export async function fetchWithRetry( |
There was a problem hiding this comment.
this we don't need, removed
| @@ -0,0 +1,30 @@ | |||
| export function createRequestSignal( | |||
There was a problem hiding this comment.
this we need for introspection query only
182dc80 to
978ee50
Compare
cde6b30 to
2dc4fd2
Compare
2dc4fd2 to
1960f7f
Compare
| "eslint-plugin-react-refresh": "^0.4.26", | ||
| "globals": "^16.5.0", | ||
| "graphql": "^16.12.0", | ||
| "graphql-sse": "^2.5.3", |
There was a problem hiding this comment.
Do we still need graphql-sse and graphql-ws dependencies?
Background
Description
Implemented fetch related settings in order to provide back compatibility configuration with old lab in gateway.
Screen.Recording.2026-04-15.at.11.48.57.mov
Checklist