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

Use manifest schema descriptions and examples in the builder UI #24574

Closed
flash1293 opened this issue Mar 27, 2023 · 2 comments
Closed

Use manifest schema descriptions and examples in the builder UI #24574

flash1293 opened this issue Mar 27, 2023 · 2 comments

Comments

@flash1293
Copy link
Contributor

flash1293 commented Mar 27, 2023

Depends on #23837 - load the descriptions and examples of individual components in the UI for tooltips and labels where-ever possible.

This includes bundling the schema as part of the webapp (right now only derived types are used during the build phase) and providing a helper function to easily load description, title and examples in the react components in the appropriate places. Ideally trying to load description/title/examples from a non-existing component (e.g. due to changes in the manifest) is causing a Typescript error.

Acceptance criteria

  • In all possible places, field label and tooltip are sourced from the schema title, description and example fields
@flash1293 flash1293 changed the title Use descriptions and examples in the builder UI Use manifest schema descriptions and examples in the builder UI Mar 27, 2023
@girarda
Copy link
Contributor

girarda commented Mar 29, 2023

additional acceptance criteria:

  • Render examples of type object example

@flash1293
Copy link
Contributor Author

Duplicate of #20271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants