-
Notifications
You must be signed in to change notification settings - Fork 50
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: enhance Ingress details view #3205
Conversation
Skipping CI for Draft Pull Request. |
t('ingresses.labels.secret-name'), | ||
]} | ||
rowRenderer={tls => [ | ||
tls?.hosts?.join(', ') ?? EMPTY_TEXT_PLACEHOLDER, |
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.
I think it would make sense to use the <Tokens
> component here instead of joining strings
}); | ||
|
||
setHealthyPods(healthyPods); | ||
}; |
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.
we can merge these two methods, using a single loop for both
also, is the naming pods vs. ports intended?
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.
No, it was a typo :)
cy.getMidColumn() | ||
.contains(/tls/i) | ||
.should('be.visible'); | ||
|
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.
you could add a check if the given hosts and secretName are displayed correctly :)
), | ||
}, | ||
customContent: [ | ||
...(ingress.hostname |
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.
as far as I see we can remove those spread operators here and below and simply not place the resulting object inside of an array
{`${t('ingresses.labels.host-name')}:`} | ||
</span> | ||
{`${ingress.hostname}`} | ||
</div> |
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.
can we replace this somehow with a UI5 component?
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.
I don't think so, that's how we are doing it in metadata and status - Labels have slightly different color
Description
Changes proposed in this pull request:
Related issue(s)
Closes #3067
Definition of done
backlog#4567