-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MINOR: open links in new tab in DataAssetsHeader #18172
MINOR: open links in new tab in DataAssetsHeader #18172
Conversation
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
href={mlModelDetail.server} | ||
label={t('label.server')} | ||
value={mlModelDetail.server} | ||
/> | ||
)} | ||
{mlModelDetail.dashboard && ( | ||
<ExtraInfoLink | ||
newTab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't be new tab, it's internal route
openmetadata-ui/src/main/resources/ui/src/utils/DataAssetsHeader.utils.tsx
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/src/utils/DataAssetsHeader.utils.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @fuzmish, left one comment and rest looks good.
href={mlModelDetail.server} | ||
label={t('label.server')} | ||
value={mlModelDetail.server} | ||
/> | ||
)} | ||
{mlModelDetail.dashboard && ( | ||
<ExtraInfoLink | ||
newTab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fuzmish, I believe this is an internal path, so we don’t need the newTab as true here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your comment. a4bd542 I've fixed it.
Quality Gate passed for 'open-metadata-ui'Issues Measures |
* MINOR: open links in new tab in DataAssetsHeader * fix: make mlModelDetail.dashboard internal link
Describe your changes:
(No issue opened explicitly)
<a>
links in the DataAssetsHeader component.References:
Type of change:
Checklist:
My PR title isFixes <issue-number>: <short explanation>
For JSON Schema changes: I updated the migration scripts or explained why it is not needed.For connector/ingestion changes: I updated the documentation.