Skip to content

Commit 51f58cb

Browse files
committed
feat: update node status badge icon and color for connecting state
- Replaced the download icon with a cloud upload icon in the NodeStatusBadgeWidget for better representation of the connecting state. - Updated the color for the connecting status to a more appropriate shade of yellow.
1 parent 5bca2bb commit 51f58cb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/widgets/dashboard/nodes/node-status-badge/node-status-badge.widget.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
PiDownloadDuotone,
2+
PiCloudArrowUpDuotone,
33
PiProhibitDuotone,
44
PiPulseDuotone,
55
PiWarningCircle
@@ -23,8 +23,10 @@ export function NodeStatusBadgeWidget({ node, fetchedNode, ...rest }: IProps) {
2323
color = 'teal'
2424
status = t('node-status-badge.widget.connected')
2525
} else if (nodeData.isConnecting) {
26-
icon = <PiDownloadDuotone size={18} style={{ color: 'var(--mantine-color-orange-3)' }} />
27-
color = 'orange'
26+
icon = (
27+
<PiCloudArrowUpDuotone size={18} style={{ color: 'var(--mantine-color-yellow-3)' }} />
28+
)
29+
color = 'var(--mantine-color-yellow-3)'
2830
status = t('node-status-badge.widget.connecting')
2931
} else if (nodeData.isDisabled) {
3032
icon = <PiProhibitDuotone size={18} style={{ color: 'var(--mantine-color-gray-6)' }} />

0 commit comments

Comments
 (0)