Skip to content

Commit 5b2d1b0

Browse files
committed
feat: update Edit Taints Modal messaging and icon
1 parent c5e968a commit 5b2d1b0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/components/ClusterNodes/NodeActions/EditTaintsModal.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,14 @@ const EditTaintsModal = ({ name, version, kind, taints, closePopup }: EditTaints
181181
<>
182182
<div className="flex dc__content-space">
183183
<div className="flex">
184-
<Icon name="ic-error" color="N900" />
185-
<h3 className="fs-14 lh-20 fw-6 cn-9 mt-0 mb-0 ml-8 mr-4">Taints</h3>
184+
<Icon name="ic-spray-can" color="N900" />
185+
<h3 className="fs-14 lh-20 fw-6 cn-9 mt-0 mb-0 ml-8 mr-4">
186+
{EDIT_TAINTS_MODAL_MESSAGING.infoTitle}
187+
</h3>
186188
<InfoIconTippy
187189
heading="Taints"
188190
documentationLinkText="View documentation"
189-
documentationLink="https://docs.devtron.ai/usage/resource-browser#taint-a-node"
191+
documentationLink="TAINT"
190192
additionalContent={<AdditionalContent />}
191193
/>
192194
</div>

src/components/ClusterNodes/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export const CLUSTER_NODE_ACTIONS_LABELS = {
104104

105105
export const EDIT_TAINTS_MODAL_MESSAGING = {
106106
titlePrefix: 'Edit taints for node ',
107+
infoTitle: 'Taints',
107108
infoText:
108109
'Add taints to nodes to prevent or discourage pods from being scheduled on them. Use tolerations on pods to let them run on nodes with matching taints.',
109110
description: {

0 commit comments

Comments
 (0)