Skip to content

[docs] Wave 3 guide: taking playground-ui off antd - #5700

Merged
bekossy merged 5 commits into
fe-refactor/entity-ui-off-antdfrom
docs/antd-wave-3-playground-ui
Aug 5, 2026
Merged

[docs] Wave 3 guide: taking playground-ui off antd#5700
bekossy merged 5 commits into
fe-refactor/entity-ui-off-antdfrom
docs/antd-wave-3-playground-ui

Conversation

@ardaerzin

Copy link
Copy Markdown
Contributor

Context

Wave 3 of the antd migration is @agenta/playground-ui: 31 antd files, and no Storybook coverage at all today. We are not doing this wave ourselves, so it needs a guide that carries what waves 1 and 2 learned rather than assuming the reader was there for them.

Changes

Adds antd-inventory/playground-ui.md and links it from STATUS.md.

The numbers in it are measured, not estimated: 78 files, 31 on antd, about 8k lines, and 213 atom hooks across 31 jotai files. That last figure is the highest data-coupling density of any package so far, and it drives the advice. The six suggested chunks are grouped by data coupling rather than file count, because a 1,084-line presentational file is a smaller job than a 250-line container with nine atom reads.

It records what is specific to this package and would otherwise be learned the hard way:

  • PlaygroundUIContext is a second data seam alongside jotai. Eight files read it, and providing a context in a story beats seeding atoms.
  • The package sits above @agenta/entity-ui, so the composites built in waves 1 and 2 are already available. Check before building a second version.
  • antd Upload has no primitive, but SkillUploadZone from wave 2 is a working precedent.
  • Chunks 4, 5 and 6 share ExecutionItems helpers. Waves 1 and 2 ran six agents in parallel safely only because the chunks touched disjoint files, so this one carries an explicit warning against doing that blindly.

It also adds standards for contributors working with coding agents. A frontier model is asked for on migration and gate triage, justified with evidence rather than as policy: every expensive mistake in the first two waves was silent. Typography.Text type="secondary" maps to colorTextDescription, not the identically named colorTextSecondary, and 26 sites were wrong where the pixel gate could not see it. An accessible name passed to a Slider's Root instead of its thumb looks correct at the call site and names nothing. Lexical takes aria-label, and an ariaLabel prop type-checks and is dropped. Small models are explicitly fine for the mechanical parts once the mapping is decided.

The six agent rules are the ones that were actually violated during our waves, and the maintainer review checklist is written so it can be grepped, for example "does the parity story contain an antd half".

Notes

Docs only, no code. Stacked on #5694 because the guide builds on what wave 2 produced, including the corrections now recorded in entity-ui.md. Split out of #5694 so contributors can pick wave 3 up without waiting for a 256-file PR to clear review.

…f antd

We are not doing this wave ourselves, so the guide has to carry what the last
two waves learned rather than assume the reader was there.

Measured, not estimated: 78 files, 31 on antd, zero Storybook coverage today,
and 213 atom hooks across 31 jotai files. That last number is the point of the
chunking advice — the fixtures are the work here, not the antd swaps, so the
six suggested chunks are grouped by data coupling rather than file count.

Records what is specific to this package: the PlaygroundUIContext seam (prefer
providing a context over seeding atoms), the entity-ui composites already
available to reuse, antd Upload having no primitive but a working precedent,
and the shared ExecutionItems helpers that make three of the chunks unsafe to
run in parallel.

Adds standards for contributors using coding agents. A frontier model is asked
for on migration and gate triage because every expensive mistake in waves 1 and
2 was silent: a token that type-checks, an accessible name that lands on the
wrong element, a prop a wrapper drops. Small models are fine for the mechanical
parts once the mapping is decided. The agent rules are the ones that were
actually violated, and the review checklist is what a maintainer can grep.
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 3, 2026
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview Aug 5, 2026 10:27am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 452f28c7-8b23-4052-92e6-0c113d1c787c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dosubot dosubot Bot added the documentation Improvements or additions to documentation label Aug 3, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Aug 5, 2026
@bekossy
bekossy merged commit fcadc9c into fe-refactor/entity-ui-off-antd Aug 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants