Skip to content

docs: scrub remaining cosmetic XDS references (example apps, storybook, eslint, tests)#3468

Open
ejhammond wants to merge 1 commit into
mainfrom
navi/docs/scrub-xds-cosmetic
Open

docs: scrub remaining cosmetic XDS references (example apps, storybook, eslint, tests)#3468
ejhammond wants to merge 1 commit into
mainfrom
navi/docs/scrub-xds-cosmetic

Conversation

@ejhammond

Copy link
Copy Markdown
Contributor

What

Cosmetic-only cleanup of leftover XDS brand references across example apps, Storybook, the ESLint config, and unit tests. No functional change — every edit is prose, a placeholder string, an internal variable name, or a stale test fixture/comment.

This clears the actionable remainder of the scrub-epic (pre-OSS de-xds). Reconciled against current main first — three sibling tasks (scrub-file-renames, scrub-sandbox-misc, scrub-pkg-keywords) were already done by prior PRs and have been closed.

Changes

  • Example apps (all six example-*): XDSAstryx in demo page/App headings, prose, <title>s, and CSS layer-order comments.
  • Storybook: picsum placeholder image seeds seed/xds-*seed/astryx-* (arbitrary seeds; different placeholder image, zero behavior impact).
  • eslint.config.js + eslint-plugin-astryx/README.md: renamed local vars xdsPlugin/xdsConfigastryxPlugin/astryxConfig and comment headers. The '@astryx' plugin namespace key is unchanged.
  • Unit tests: fixed stale xds-* references —
    • useChatNewMessages.test.tsx: fixtures now use astryx-chat-message / astryx-chat-layout to match the hook's actual getElementsByClassName('astryx-chat-message') selector (they were previously mismatched).
    • DropdownMenu.test.tsx: arbitrary test id xds-dropdown-menuastryx-dropdown-menu.
    • paths.test.mjs: fixture package name @acme/xds-widgets@acme/astryx-widgets, aligning the name with its own directory (@acme/astryx-widgets).
    • Toolbar/Section: stale xds-section comments that no longer matched the .astryx-section assertions.

Intentionally left alone

Legacy references that are deliberate and gated post-v0.1.0: migration codemods, the @xds/* compat scope, the XDS-prefix detection logic (CLI + .github/scripts), the XDS:START/END marker fallback, and CHANGELOGs.

Testing

  • Touched test suites pass: useChatNewMessages, DropdownMenu, Toolbar, Section, paths95/95.
  • eslint.config.js loads correctly with renamed vars (lint runs clean).
  • sync-exports --check, check-sync — pass.

…k, eslint, tests)

Cosmetic-only cleanup of leftover XDS brand references, no functional change:

- Example apps: XDS -> Astryx in demo page/App headings, prose, <title>s, and
  layer-order comments across all six example-* apps.
- Storybook: picsum placeholder image seeds seed/xds-* -> seed/astryx-*.
- eslint.config.js + eslint-plugin-astryx README: renamed local vars
  xdsPlugin/xdsConfig -> astryxPlugin/astryxConfig and comment headers (the
  '@AstryX' plugin namespace is unchanged).
- Unit tests: fixed stale xds-* references — chat fixtures now use
  astryx-chat-message/astryx-chat-layout to match the hook's actual selector;
  arbitrary test ids (astryx-dropdown-menu) and a mismatched fixture package
  name (@acme/astryx-widgets, aligning name with its directory); stale
  xds-section comments.

Intentional legacy references (codemods, @xds/* compat scope, XDS-prefix
detection logic, CHANGELOGs) are left untouched.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 2, 2026
@vercel

vercel Bot commented Jul 2, 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 Jul 2, 2026 9:00pm

Request Review

@github-actions

github-actions Bot commented Jul 3, 2026

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 Jul 3, 2026
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.

1 participant