Skip to content

refactor(docsite): remove XLE/XLO Layout DSL from the public playground#3283

Merged
cixzhang merged 2 commits into
mainfrom
navi/feat/migrate-xle-playground-to-sandbox
Jun 30, 2026
Merged

refactor(docsite): remove XLE/XLO Layout DSL from the public playground#3283
cixzhang merged 2 commits into
mainfrom
navi/feat/migrate-xle-playground-to-sandbox

Conversation

@thedjpetersen

Copy link
Copy Markdown
Contributor

What

Removes the XLE/XLO Layout DSL tool from the public docsite playground (astryx.atmeta.com/playground). The layout-expression tool already lives in the internal component sandbox (apps/sandbox → Tools → Layout DSL), which is its intended home — it had been duplicated into the public playground and "got pushed out." This keeps it sandbox-only.

Why

Per the thread: the XLO playground was meant to live in the internal sandbox first, not the public playground. The sandbox copy is complete and self-contained; this PR just removes the leftover public-playground duplicate.

Changes (docsite only)

  • Drop the Layout DSL SideNavItem, the 'layout' LeftView, and the XLEPanel pane from PlaygroundClient.tsx (also removes the now-unused Wand2 icon import)
  • Delete apps/docsite/src/app/playground/XLEPanel.tsx and xleExamples.ts
  • Delete apps/docsite/scripts/generate-xle-{registry,tokenizer}.mjs and remove them from the generate pipeline in package.json
  • Remove the now-unused gpt-tokenizer devDependency and the public/xle-tokenizer.mjs .gitignore entry

Not touched

The sandbox implementation (apps/sandbox/src/app/(sandbox)/pages/layout-dsl) is untouched — it has its own self-contained page, generate scripts, tokenizer handling, and registry. Verified no dangling references to the deleted files remain in the docsite.

…ground

The XLE/XLO layout-expression tool now lives in the internal component
sandbox (apps/sandbox Tools → 'Layout DSL'), which is its intended home.
It had also been shipped in the public docsite playground (astryx.atmeta.com/playground);
this removes that duplicate so the layout DSL stays sandbox-only.

- drop the 'Layout DSL' SideNavItem + 'layout' LeftView and the XLEPanel pane
- delete the playground XLEPanel.tsx / xleExamples.ts
- delete the docsite generate-xle-{registry,tokenizer}.mjs build scripts and
  drop them from the 'generate' pipeline
- remove the now-unused gpt-tokenizer devDependency and the
  public/xle-tokenizer.mjs gitignore entry

The sandbox copy (apps/sandbox/src/app/(sandbox)/pages/layout-dsl) is
self-contained and unaffected.
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jun 30, 2026 6:05pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 30, 2026
The docsite no longer depends on gpt-tokenizer (XLE tokenizer moved to the
sandbox), so remove it from the docsite importer in the lockfile. The package
is still resolved via packages/cli, so the package/snapshot entries stay.
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.6KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

github-actions Bot added a commit that referenced this pull request Jun 30, 2026
@cixzhang cixzhang merged commit f6cd746 into main Jun 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants