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

feat(ui) Add structured properties support in the UI #9695

Conversation

chriscollins3456
Copy link
Collaborator

This PR builds off of the recent backend PR where we are now supporting Structured Properties for both base entities and schema fields in the UI. If you use our YAML ingesters to add structured props to entities or schema fields, we will show them in the properties tab or the schema tab. As such, the schema tab now sees a little uplift with a new schema field drawer you can click on to open it up.

Note: this is only supported for datasets to start. We have a ticket and piece of work planned for supporting all entity types with structured props.

Screenshots:
image

image

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Comment on lines 287 to 290
if (error) {
console.log(`Received an error! ${error}`);
}

Copy link
Contributor

@samblackk samblackk Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a remnant of testing? Ideally we shouldn't push errors to the console. If it's for internal capture - let's send to a reporting agent, if it's user-relevant feedback let's show it in an error message in the UI.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah no this just got copied over since it's in acryl-main, didn't mean to add it. can remove since we already show the error to the user below it looks like

@chriscollins3456 chriscollins3456 merged commit a78c689 into datahub-project:master Jan 25, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants