Skip to content

Remove graphiql - #8702

Merged
n1ru4l merged 14 commits into
mainfrom
remove-graphiql
Nov 10, 2026
Merged

n1ru4l merged 14 commits into
mainfrom
remove-graphiql

Conversation

@jonathanawesome

Copy link
Copy Markdown
Member

This PR removes the GraphiQL tab now that the Hive Laboratory covers its preflight runtime, carries its per-browser state over and has end-to-end coverage of its own.

  • The laboratory route renders the Hive Laboratory only...the version toggle, the welcome dialog, the GraphiQL page, its collections modals, the preflight worker iframe and the /dev GraphiQL page are gone, along with the graphiql, @graphiql/*, @repeaterjs/repeater and crypto-js app dependencies and both graphiql patches.
  • On the first visit the lab copies a GraphiQL user's env and preflight toggle, then clears every GraphiQL-era key. GraphiQL's own unsaved tabs, run history and week-old operation drafts are not carried over...collections, operations and preflight scripts live server-side and are unaffected.
  • The collection mutations now select the same fields and operations(first: 100) list the page's query reads, so the collections list stays current through the cache without the removed updaters and without a refetch.
  • /dev was reachable by URL in production (only its menu entry was development-only), it now 404s. The CSP frame-src entry that served the removed iframe can be tightened in a deployment change.

@theguild-bot

theguild-bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
hive 15.2.0-alpha-20261110013848-212a0bb84ca73e5f6273b52d37d7729fd00ee522 npm ↗︎ unpkg ↗︎

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/arm64

Image Tags: 15.2.0-alpha-212a0bb, 212a0bb, 212a0bb84ca73e5f6273b52d37d7729fd00ee522

# Conflicts:
#	package.json
#	packages/web/app/package.json
#	packages/web/app/src/components/target/laboratory/collection-form.tsx
#	packages/web/app/src/components/target/laboratory/create-collection-modal.tsx
#	packages/web/app/src/components/target/laboratory/create-operation-modal.tsx
#	packages/web/app/src/components/target/laboratory/delete-collection-modal.tsx
#	packages/web/app/src/components/target/laboratory/delete-operation-modal.tsx
#	packages/web/app/src/components/target/laboratory/edit-operation-modal.tsx
#	packages/web/app/src/components/target/laboratory/operation-form.spec.tsx
#	packages/web/app/src/components/target/laboratory/operation-form.tsx
#	packages/web/app/src/components/ui/prompt.tsx
#	packages/web/app/src/lib/hooks/laboratory/use-operation-collections-plugin.tsx
#	packages/web/app/src/lib/preflight/graphiql-plugin.tsx
#	packages/web/app/src/pages/target-laboratory.tsx
#	packages/web/app/vite.config.ts
#	pnpm-lock.yaml
@n1ru4l
n1ru4l merged commit 0519c74 into main Nov 10, 2026
31 checks passed
@n1ru4l
n1ru4l deleted the remove-graphiql branch November 10, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants