Skip to content

feat: add --with-editor flag to CLI ui command#346

Merged
leotrs merged 1 commit intomainfrom
std-fufq
Mar 27, 2026
Merged

feat: add --with-editor flag to CLI ui command#346
leotrs merged 1 commit intomainfrom
std-fufq

Conversation

@leotrs
Copy link
Copy Markdown
Collaborator

@leotrs leotrs commented Mar 27, 2026

Summary

  • Adds --with-editor flag to studio ui command that sets localStorage['ws-panel-editor'] = 'true'
  • Works in both direct browser launch and --playwright script generation paths
  • Without this flag, the editor panel doesn't mount, Y.js doesn't connect, and headless tests can't exercise the compile/edit pipeline

Test plan

  • 4 new unit tests covering both paths (with/without flag × browser/playwright)
  • All 123 CLI tests pass
  • CI validates full suite

🤖 Generated with Claude Code

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 27, 2026

Deploy Preview for rsm-studio-frontend canceled.

Name Link
🔨 Latest commit cecddbf
🔍 Latest deploy log https://app.netlify.com/projects/rsm-studio-frontend/deploys/69c654fc63d8800008e9ace4

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 27, 2026

Deploy Preview for rsm-studio-site canceled.

Name Link
🔨 Latest commit cecddbf
🔍 Latest deploy log https://app.netlify.com/projects/rsm-studio-site/deploys/69c654fae4caed00082ab9c9

@leotrs
Copy link
Copy Markdown
Collaborator Author

leotrs commented Mar 27, 2026

CI is failing after 5 work cycles. Needs human intervention to unblock.

Without this flag, the editor panel doesn't mount when using the CLI to
open a browser session, so Y.js never connects and headless browser tests
can't exercise the real compile/edit pipeline. The new --with-editor flag
sets localStorage ws-panel-editor=true in both the direct browser and
--playwright script paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@leotrs leotrs merged commit 0adff57 into main Mar 27, 2026
18 checks passed
@leotrs leotrs deleted the std-fufq branch March 27, 2026 10:46
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