Skip to content

Keep dev UI data inspector read-only - #133

Draft
spencerc99 wants to merge 1 commit into
mainfrom
cx/read-only-dev-ui
Draft

Keep dev UI data inspector read-only#133
spencerc99 wants to merge 1 commit into
mainfrom
cx/read-only-dev-ui

Conversation

@spencerc99

@spencerc99 spencerc99 commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Keep the dev data inspector read-only by default
  • Add an explicit developmentMode.allowDataReset opt-in for the Reset All control
  • Gate Reset All to local and known hosted-development domains, while suppressing it on production-looking hosts
  • Keep per-element reset controls removed
  • Document the new init option and add a patch changeset

Verification

  • /Users/spencerchang/.bun/bin/bun run test src/__tests__/duplicate-ids.test.ts
  • ../../node_modules/.bin/tsc
  • /Users/spencerchang/.bun/bin/bun run test
  • /Users/spencerchang/.bun/bin/bun run build in packages/common
  • /Users/spencerchang/.bun/bin/bun run build in packages/playhtml
  • /Users/spencerchang/.bun/bin/bun run build in apps/docs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 24, 2026

Copy link
Copy Markdown

Deploying playhtml with  Cloudflare Pages  Cloudflare Pages

Latest commit: 957afe2
Status: ✅  Deploy successful!
Preview URL: https://0570f3a1.playhtml.pages.dev
Branch Preview URL: https://cx-read-only-dev-ui.playhtml.pages.dev

View logs

@pkg-pr-new

pkg-pr-new Bot commented May 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

bun add https://pkg.pr.new/@playhtml/common@133
bun add https://pkg.pr.new/playhtml@133
bun add https://pkg.pr.new/@playhtml/react@133

commit: 957afe2

@spencerc99
spencerc99 force-pushed the cx/read-only-dev-ui branch from d8670e4 to 957afe2 Compare May 26, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant