Skip to content

refactor(core): drop xds-resizable localStorage legacy fallback#3066

Merged
ejhammond merged 1 commit into
mainfrom
navi/refactor/resizable-key-astryx
Jun 25, 2026
Merged

refactor(core): drop xds-resizable localStorage legacy fallback#3066
ejhammond merged 1 commit into
mainfrom
navi/refactor/resizable-key-astryx

Conversation

@ejhammond

Copy link
Copy Markdown
Contributor

Drop the LEGACY_STORAGE_PREFIX ('xds-resizable:') read-fallback from useResizable. The primary prefix is already 'astryx-resizable:' and all writes target it; this removes the compat-window read of the old key before OSS. Users with old persisted panel sizes will have them reset once on first interaction.

Remove the LEGACY_STORAGE_PREFIX ('xds-resizable:') read-fallback from
useResizable. The primary STORAGE_PREFIX is already 'astryx-resizable:' and
all writes go there; this just drops the compat-window read of the old key.

Users with persisted panel sizes under the old key will have them reset once
on first interaction (acceptable pre-OSS). No new xds-named references remain
in useResizable.
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@ejhammond must be a member of the Meta Open Source team on Vercel to deploy.
- Click here to add @ejhammond to the team.
- If you initiated this build, request access.

Learn more about collaboration on Vercel and other options here.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Vercel Preview Deployment

Status ✅ Deployed
Preview Open Preview
Commit 4766aba
Inspect Vercel Dashboard
Workflow View Logs

No authentication required — anyone with the link can view the preview.

@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 24, 2026
ejhammond added a commit that referenced this pull request Jun 24, 2026
The agent-docs CLI (xds init --features agents) now emits <!-- ASTRYX:START -->
and <!-- ASTRYX:END --> markers in generated AGENTS.md/CLAUDE.md. When the
script runs on a file with legacy <!-- XDS:START/END --> markers, it reads
and replaces that section — the new output naturally overwrites the legacy
markers with ASTRYX ones, migrating consumers on the spot.

- MARKER_START/END constants now emit 'ASTRYX:START/END'.
- LEGACY_MARKER_START/END kept for read-only fallback (finds existing XDS blocks).
- doctor check accepts either marker set as valid.
- Tests: assertions on generated output expect ASTRYX markers; fixture files
  with XDS markers remain to verify the legacy-read + overwrite behavior.

No changeset (internal script behavior). The 'xds-resizable' localStorage key
cut is a separate PR (#3066).
ejhammond added a commit that referenced this pull request Jun 24, 2026
…3067)

The agent-docs CLI (xds init --features agents) now emits <!-- ASTRYX:START -->
and <!-- ASTRYX:END --> markers in generated AGENTS.md/CLAUDE.md. When the
script runs on a file with legacy <!-- XDS:START/END --> markers, it reads
and replaces that section — the new output naturally overwrites the legacy
markers with ASTRYX ones, migrating consumers on the spot.

- MARKER_START/END constants now emit 'ASTRYX:START/END'.
- LEGACY_MARKER_START/END kept for read-only fallback (finds existing XDS blocks).
- doctor check accepts either marker set as valid.
- Tests: assertions on generated output expect ASTRYX markers; fixture files
  with XDS markers remain to verify the legacy-read + overwrite behavior.

No changeset (internal script behavior). The 'xds-resizable' localStorage key
cut is a separate PR (#3066).
@ejhammond ejhammond merged commit e457dac into main Jun 25, 2026
17 of 18 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.

2 participants