Skip to content

Add local deploy popup and Inspect command banner - #1172

Open
AbhinRustagi wants to merge 12 commits into
mainfrom
codex/deploy-telemetry-gaps
Open

AbhinRustagi wants to merge 12 commits into
mainfrom
codex/deploy-telemetry-gaps

Conversation

@AbhinRustagi

@AbhinRustagi AbhinRustagi commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

What

Narrow this PR to local deployment discovery in OpenUI Devtools. Related to #1171; this no longer closes the broader adoption/telemetry issue.

Changes

  • Keep the dismissible popup after a non-empty local renderer stream settles with no detected UI errors. Once per browser origin; no focus stealing, automatic panel opening, or deployment.
  • Add a compact deployment command row at the top of the scrollable Inspect event list, with copy/docs buttons and a close cross. Available before any response and after the popup is dismissed; banner dismissal persists separately in local storage.
  • Share the command-copy control, accessible copy button, clipboard success/failure feedback, and manually selectable command across both surfaces.
  • Both surfaces are internal widget behavior, enabled only in local development (loopback); no new public configuration prop. A blocked localStorage suppresses the popup but still allows the Inspect banner to close for the current mount. Production suppression also applies when Inspect is explicitly enabled.
  • Link to the existing CLI deployment documentation. Include a devtools patch changeset; no README changes.
  • Preserve the local .Codex ignore rule; no local plans are tracked.

Removed from this PR

Website changes, new deployment guide/sidebar, CLI behavior changes, telemetry/experiment attribution, template/example documentation changes, and the CLI changeset. Earlier work remains recoverable in branch history. No post-deployment tracking, key provisioning, model calls, deployments, or package publication.

Verification

  • All 30 existing devtools tests pass with NODE_OPTIONS=--no-experimental-webstorage.
  • Devtools typecheck, build, formatting, and git diff checks pass.
  • Lint passes with the same two pre-existing hook warnings.
  • In-memory DOM checks cover popup eligibility, persistent banner before a response and after dismissal, clipboard success/failure, production/nonlocal suppression, IPv4/IPv6 loopback, blocked storage, and the docs link.
  • Browser QA covers desktop and 390px mobile layouts, the popup, Inspect banner, clipboard confirmation, and dark theme.
  • No new test files or network analytics added.

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openui-docs Ready Ready Preview Sep 15, 2026 5:54am UTC

Request Review

@AbhinRustagi AbhinRustagi changed the title Improve deploy telemetry and experiment attribution Improve deployment discovery, developer experience, and telemetry Sep 14, 2026
@AbhinRustagi AbhinRustagi changed the title Improve deployment discovery, developer experience, and telemetry Add local deploy popup and Inspect command banner Sep 15, 2026
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