docs(sdk-playground): accurate README with stage coverage and CanResult#1429
Conversation
This was referenced Jun 14, 2026
Collaborator
Author
3 tasks
91c6b42 to
edb9a98
Compare
5 tasks
edb9a98 to
79044aa
Compare
…nt cascade - header undo/redo buttons disabled when canUndo()/canRedo() returns false - History/inspect op section shows live canUndo/canRedo badges (update on every patch) - removeElement logs override-set after removal to demonstrate cascade + orphan cleanup - README: stage 4 row updated to full coverage; Danger section + Ops table annotated - mutate.ts: add fallow-ignore-file code-duplication (structural handler boilerplate) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jun 14, 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
Rewrites
packages/sdk-playground/README.mdto accurately document what the playground does, what SDK stages it exercises, and what's still unimplemented.Why
The original README had several inaccuracies that would mislead reviewers:
moveElementlistedcomp.moveElement(id, { parent, index })but that method/signature doesn't exist. Drag-to-reposition usescomp.setStyle(id, { left, top })internally. No explicit moveElement button in the ops panel.can()docs — described as returning a plain boolean; it now returnsCanResult {ok: boolean, code?: string, message?: string, hint?: string}(landed in PR feat(sdk): can() returns CanResult; T4 dispatch-boundary tests #1426).addGsapKeyframe,setGsapKeyframe,removeGsapKeyframeare implemented in the SDK but have no UI in the playground; the old README omitted this gap.Changes
moveElementrow; added combinedsetGsapTween / removeGsapTweenrow; fixedaddLabel/removeLabeldispatch syntaxcan()docs to showCanResultshape with exampleTest plan
bun run --cwd packages/sdk-playground dev→ Ops tab)