Repository navigation
Open property editor when node is selected in component tree - #331
dustinwhuang wants to merge 48 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new standalone PropertyEditor component (extracted from the gallery) and a new ComponentTree debug panel, integrating both into the composer workspace layout via Dockview. It also updates end-to-end and unit tests to accommodate these new panels. Feedback on the changes highlights a potential infinite recursion bug in inferControlFromValue within property-editor-utils.ts when handling circular references in runtime values, suggesting the use of a tracking set to prevent stack overflow errors.
⚡ A2UI Composer PR PreviewYour automated preview is successfully live (commit
|
jgindin
left a comment
There was a problem hiding this comment.
Great work wiring Component Tree node selection to the Property Editor panel and implementing keyboard navigation. Left inline comments covering:
- Locking
PropertyEditorduring active LLM streaming (chatState.isProgrammaticStreamActive()), inlinecreateSurface.componentssupport ingetSurfaceComponent/updateSurfaceComponent, and migrating savedDOCKVIEW_LAYOUTs soopenPanel(PropertyEditor)doesn't silently no-op - Scoping
resetKey, clearing stalejsonFieldErrorson external draft edits, reconciling staleselectednodes across session resets / structural edits, and handlingmissing-node selection,statusMessagevisibility, and selected.badgecontrast - Repo convention violations (
.agents/rules/testing_and_qa_workflow.mdforbidding directfixture.nativeElementqueries in favor of CDKComponentHarness;.agents/rules/angular.md_selected+asReadonly()signal encapsulation & 300ms input throttling;.agents/rules/typescript_and_clean_code.mdexportedTreeNodeRefJSDoc & DRY draft parsing;shared/style encapsulation) - Missing unhappy-path unit tests and Playwright E2E user journey coverage per
.agents/rules/testing_and_qa_workflow.md
1cfb95b to
db4a722
Compare
db4a722 to
9827bfa
Compare
…g, add missing node message
f72d1e1 to
81a5b60
Compare
Description
OpenPanelEvent(ComposerPanelId.PropertyEditor)when a node is selected to activate the Property Editor tab.getSurfaceComponentandupdateSurfaceComponenthelpers incomponent-tree-builder.tsto read and update the selected component in the active draft.Pre-launch Checklist