refactor(docsite): remove XLE/XLO Layout DSL from the public playground#3283
Merged
Conversation
…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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
cixzhang
approved these changes
Jun 30, 2026
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.
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)
Layout DSLSideNavItem, the'layout'LeftView, and theXLEPanelpane fromPlaygroundClient.tsx(also removes the now-unusedWand2icon import)apps/docsite/src/app/playground/XLEPanel.tsxandxleExamples.tsapps/docsite/scripts/generate-xle-{registry,tokenizer}.mjsand remove them from thegeneratepipeline inpackage.jsongpt-tokenizerdevDependency and thepublic/xle-tokenizer.mjs.gitignoreentryNot 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.