-
Notifications
You must be signed in to change notification settings - Fork 3k
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: Add parent container hierarchy label to the container #11705
feat: Add parent container hierarchy label to the container #11705
Conversation
@jjoyce0510 @chriscollins3456 @shirshanka - Please review the PR when you get chance. |
icon = newIcon; | ||
label = newLabel; | ||
// Scenario where the filter entity exists and filterField is container | ||
if (filterField === CONTAINER_FILTER_NAME) { |
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.
please elevate this condition to the same level as
else if (filterField === PLATFORM_FILTER_NAME)
to keep things consistent (instead of nesting it down 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.
Updated the condition
) : ( | ||
entityRegistry.getIcon(EntityType.DataPlatform, size || 12, IconStyleType.ACCENT, ANTD_GRAY[9]) | ||
); | ||
label = entityRegistry.getDisplayName(filterEntity.type, filterEntity); |
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.
Nice this change looks great!
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.
Few minor stylistic comments that should be very quick to address. Otherwise things LGTM!
Thanks!
Thanks @jjoyce0510 for reviewing the PR. Feedback has been addressed. Please review once again when you get time. |
@jjoyce0510 - I will fix the linting issues shortly and let you know. |
@jjoyce0510 - Feedback has been addressed. Please review when you get time today. |
This is to add parent hierarchy on top of the container name.
Before Advance Filter Container View:
After Advance Filter Container View:
Basic Filter Container View:
Create View Page:
Checklist