Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a workflow for creating examples/prefabs of a component when required props are missing #256

Open
itsdouges opened this issue Dec 11, 2024 · 0 comments
Labels
New feature New feature or request

Comments

@itsdouges
Copy link
Collaborator

itsdouges commented Dec 11, 2024

When opening a component that has missing required props, and if they can't be auto-inferred by #33, then they're left with a manual step needing to create a component and declare the required props.

We already notify users when a required prop is missing:

image

We can streamline this by:

  • informing them of the missing complex prop
  • creating a component for them so they don't have to
  • building a prefab/example system around this so when changing a components props in component controls you can "persist" it to an example
  • be able to switch between persisted examples in component controls via some file system convention
@itsdouges itsdouges added the New feature New feature or request label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant