Skip to content

feat(storybook): add PropertyInspector view for component schema inspection#75

Open
geoffjay wants to merge 1 commit into
issue-52from
issue-53
Open

feat(storybook): add PropertyInspector view for component schema inspection#75
geoffjay wants to merge 1 commit into
issue-52from
issue-53

Conversation

@geoffjay
Copy link
Copy Markdown
Owner

Closes #53

Summary

  • New crates/nemo/src/storybook/inspector.rsPropertyInspector GPUI view
  • Reads a component's ConfigSchema from the registry and renders a property table
  • Each row shows property name (with * for required), type, default value, and constraints
  • inspect(component_name, component_id, cx) method sets the target component and triggers re-render
  • set_property() calls runtime.set_component_property() to update the live preview
  • mod storybook; added to main.rs

Depends on #52. Part of epic #9.

…ection

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant