Skip to content

Add noText prop to kubeStatusIndicator#4029

Merged
joshri merged 3 commits intomainfrom
no-text
Sep 20, 2023
Merged

Add noText prop to kubeStatusIndicator#4029
joshri merged 3 commits intomainfrom
no-text

Conversation

@joshri
Copy link
Copy Markdown
Contributor

@joshri joshri commented Sep 19, 2023

Related: weaveworks/weave-gitops-enterprise#3309

There is a case in EE where we'd like the KubeStatusIndicator component to render the correct status icon without text - right now there's a bit of a hack in place to set display: none to the span in the component, but I think this functionality is worth having in the component itself. I also changed the code a bit so we don't run computeMessage unless we have to.

@joshri joshri added the area/ui Issues that require front-end work label Sep 19, 2023
@joshri joshri merged commit f9d6409 into main Sep 20, 2023
@joshri joshri deleted the no-text branch September 20, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui Issues that require front-end work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants