Agentic UI: Make the Xdebug sidebar bug playful - #4563
Draft
shaunandrews wants to merge 1 commit into
Draft
Conversation
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.
Related issues
How AI was used in this PR
AI helped explore the motion language, split the existing glyph into independently animated parts, implement the interaction and transition states, and add focused tests. I reviewed the resulting behavior in the production Agentic UI build in both light and dark themes.
Executive summary
Xdebug can only be enabled for one Studio site at a time, so its sidebar bug is already a useful little status marker. This draft makes that marker feel alive without turning it into constant visual noise.
Proposed Changes
prefers-reduced-motion.Review guide
Please focus on the motion character and timing:
The transition-state plumbing and SVG path separation are implementation details and can be skimmed after validating the interaction model.
Motion demo
This high-resolution motion study uses the component's actual SVG paths, production keyframe angles, and production timing. It is enlarged here so the independent antenna and leg movement is easy to review; in the app it plays at the bug's native 20px size before handing off to the start/stop affordance.
Known tradeoffs and follow-ups
Testing Instructions
npm run cli:build:ui && node apps/cli/dist/cli/main.mjs ui --no-open.http://localhost:8081and find the site with Xdebug enabled.Automated verification completed locally:
npx eslint --fixon the modified TypeScript files (no errors; one pre-existing unused-argument warning)npm run typechecknpm test -- apps/ui/src/components/site-list/index.test.tsx(30 tests passing)npm run cli:build:uiPre-merge Checklist