Show one-time ToS/Privacy disclaimer in Studio CLI and Studio Code#3763
Merged
sejas merged 4 commits intoJun 10, 2026
Merged
Conversation
…ow-tos-disclaimer-in-studio-cli-and-studio-code
1 task
nightnei
approved these changes
Jun 10, 2026
Contributor
|
Some CodeQL actions were failing so I pushed an empty commit to trigger CI again. |
Collaborator
📊 Performance Test ResultsComparing 2c14418 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
sejas
added a commit
that referenced
this pull request
Jun 10, 2026
- On the onboarding screen, the "By continuing, you agree to our Terms of Service and have read our Privacy Policy." notice was pinned to the bottom of the window, far from the actions it refers to. It now appears directly above the "Log in to WordPress.com" / "Skip" buttons, so users see the terms before continuing — matching the intent of the one-time ToS disclaimer work in #3763.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Related issues
How AI was used in this PR
AI assisted with the implementation, tests, and code review passes.
Proposed Changes
It shows the terms of service and privacy policy the first time you execute a command. It doesn't stop the command from being executed it's just displayed above the command the first time.
Per legal guidelines, users must see a Terms of Service / Privacy Policy notice near the primary action the first time they use Studio from the terminal. Currently the CLI and Studio Code show no such notice.
studio code/studio ai), the notice renders natively inside the TUI, right under the welcome logo, instead of the CLI banner.--json(NDJSON) output and piped stdout stay machine-clean.Note:
studio code sessions list/deleteand other non-interactive invocations intentionally defer the notice to the next visible run.Testing Instructions
Setup:
npm install && npm run cli:build. To simulate a new user, remove thetosNoticeShownAtkey from~/.studio/cli.json.CLI first run
node apps/cli/dist/cli/main.mjs auth statusin a real terminal.~/.studio/cli.jsonnow containstosNoticeShownAt; running the command again shows no banner.Studio Code TUI
node apps/cli/dist/cli/main.mjs code.codeshows nothing.Second and following times executed
node apps/cli/dist/cli/main.mjs codeagainDesktop app
npm start, start a site, use Studio Code from the app — no CLI banner anywhere (IPC-spawned runs are suppressed). I'll create a follow-up for that.Pre-merge Checklist