feat(forms) Add support for metadata forms on entities in the UI #9718
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.
This PR adds support for the forms feature in the UI - the backend piece was already merged in this PR: #9626
Here, we build out all of the frontend components to check to see if an entity has any forms (supports more than 1 form). If so, we display a new section in the sidebar of an entity's profile page. If you are assigned to fill out this form, then we will show you a CTA to respond to the form if need be, or shows you information about the documentation or verification status.
The CTA will open a full page modal allowing you to edit or view the form for that entity. If there is more than one form on an entity you can select which one you want to view. Editing the form will automatically update the entity and add the metadata you fill out.
Right now the only metadata we support on forms is structured properties. Soon we will be expanding this to include support for owners, domains, tags etc.
Note: right now this is only supported for datasets, but we are planning on expanding forms and structured properties to all entities with profile pages as a followup
Screenshots:
Checklist