From 70b45d7081c6153d96955f81a47235f7816a5135 Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Tue, 13 May 2025 12:04:53 +0530 Subject: [PATCH 01/26] feat: add icons for various strategy --- src/Assets/IconV2/ic-strategy-blue-green.svg | 6 ++++++ src/Assets/IconV2/ic-strategy-canary.svg | 5 +++++ src/Assets/IconV2/ic-strategy-recreate.svg | 4 ++++ src/Assets/IconV2/ic-strategy-rolling.svg | 6 ++++++ src/Shared/Components/Icon/Icon.tsx | 8 ++++++++ 5 files changed, 29 insertions(+) create mode 100644 src/Assets/IconV2/ic-strategy-blue-green.svg create mode 100644 src/Assets/IconV2/ic-strategy-canary.svg create mode 100644 src/Assets/IconV2/ic-strategy-recreate.svg create mode 100644 src/Assets/IconV2/ic-strategy-rolling.svg diff --git a/src/Assets/IconV2/ic-strategy-blue-green.svg b/src/Assets/IconV2/ic-strategy-blue-green.svg new file mode 100644 index 000000000..a93ef002e --- /dev/null +++ b/src/Assets/IconV2/ic-strategy-blue-green.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/Assets/IconV2/ic-strategy-canary.svg b/src/Assets/IconV2/ic-strategy-canary.svg new file mode 100644 index 000000000..07f926bc2 --- /dev/null +++ b/src/Assets/IconV2/ic-strategy-canary.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/Assets/IconV2/ic-strategy-recreate.svg b/src/Assets/IconV2/ic-strategy-recreate.svg new file mode 100644 index 000000000..d9288107f --- /dev/null +++ b/src/Assets/IconV2/ic-strategy-recreate.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/Assets/IconV2/ic-strategy-rolling.svg b/src/Assets/IconV2/ic-strategy-rolling.svg new file mode 100644 index 000000000..643a04586 --- /dev/null +++ b/src/Assets/IconV2/ic-strategy-rolling.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/Shared/Components/Icon/Icon.tsx b/src/Shared/Components/Icon/Icon.tsx index 5db478d3f..82709b283 100644 --- a/src/Shared/Components/Icon/Icon.tsx +++ b/src/Shared/Components/Icon/Icon.tsx @@ -104,6 +104,10 @@ import { ReactComponent as ICSortable } from '@IconsV2/ic-sortable.svg' import { ReactComponent as ICSpinny } from '@IconsV2/ic-spinny.svg' import { ReactComponent as ICStack } from '@IconsV2/ic-stack.svg' import { ReactComponent as ICStamp } from '@IconsV2/ic-stamp.svg' +import { ReactComponent as ICStrategyBlueGreen } from '@IconsV2/ic-strategy-blue-green.svg' +import { ReactComponent as ICStrategyCanary } from '@IconsV2/ic-strategy-canary.svg' +import { ReactComponent as ICStrategyRecreate } from '@IconsV2/ic-strategy-recreate.svg' +import { ReactComponent as ICStrategyRolling } from '@IconsV2/ic-strategy-rolling.svg' import { ReactComponent as ICSuccess } from '@IconsV2/ic-success.svg' import { ReactComponent as ICSuspended } from '@IconsV2/ic-suspended.svg' import { ReactComponent as ICTata1mg } from '@IconsV2/ic-tata1mg.svg' @@ -227,6 +231,10 @@ export const iconMap = { 'ic-spinny': ICSpinny, 'ic-stack': ICStack, 'ic-stamp': ICStamp, + 'ic-strategy-blue-green': ICStrategyBlueGreen, + 'ic-strategy-canary': ICStrategyCanary, + 'ic-strategy-recreate': ICStrategyRecreate, + 'ic-strategy-rolling': ICStrategyRolling, 'ic-success': ICSuccess, 'ic-suspended': ICSuspended, 'ic-tata1mg': ICTata1mg, From 227719d17ea96bc148c6320d6341e90225f78c09 Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Tue, 13 May 2025 17:48:39 +0530 Subject: [PATCH 02/26] chore: update deployment strategy type --- src/Assets/IconV2/ic-flask.svg | 3 +++ src/Shared/Components/CICDHistory/types.tsx | 3 +-- src/Shared/Components/Icon/Icon.tsx | 2 ++ src/Shared/types.ts | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/Assets/IconV2/ic-flask.svg diff --git a/src/Assets/IconV2/ic-flask.svg b/src/Assets/IconV2/ic-flask.svg new file mode 100644 index 000000000..b78213fc2 --- /dev/null +++ b/src/Assets/IconV2/ic-flask.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Shared/Components/CICDHistory/types.tsx b/src/Shared/Components/CICDHistory/types.tsx index 417f5ed8b..c1db811d0 100644 --- a/src/Shared/Components/CICDHistory/types.tsx +++ b/src/Shared/Components/CICDHistory/types.tsx @@ -33,6 +33,7 @@ import { import { DeploymentStageType } from '../../constants' import { AggregationKeys, + DeploymentStrategyType, GitTriggers, Node, NodeType, @@ -801,8 +802,6 @@ export interface DeploymentHistory { runSource?: RunSourceType } -type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN' - export interface DeploymentStrategy { deploymentTemplate: DeploymentStrategyType config: any diff --git a/src/Shared/Components/Icon/Icon.tsx b/src/Shared/Components/Icon/Icon.tsx index 82709b283..e82a59993 100644 --- a/src/Shared/Components/Icon/Icon.tsx +++ b/src/Shared/Components/Icon/Icon.tsx @@ -48,6 +48,7 @@ import { ReactComponent as ICEnv } from '@IconsV2/ic-env.svg' import { ReactComponent as ICError } from '@IconsV2/ic-error.svg' import { ReactComponent as ICFailure } from '@IconsV2/ic-failure.svg' import { ReactComponent as ICFileKey } from '@IconsV2/ic-file-key.svg' +import { ReactComponent as ICFlask } from '@IconsV2/ic-flask.svg' import { ReactComponent as ICFolderUser } from '@IconsV2/ic-folder-user.svg' import { ReactComponent as ICGear } from '@IconsV2/ic-gear.svg' import { ReactComponent as ICGit } from '@IconsV2/ic-git.svg' @@ -175,6 +176,7 @@ export const iconMap = { 'ic-error': ICError, 'ic-failure': ICFailure, 'ic-file-key': ICFileKey, + 'ic-flask': ICFlask, 'ic-folder-user': ICFolderUser, 'ic-gear': ICGear, 'ic-git': ICGit, diff --git a/src/Shared/types.ts b/src/Shared/types.ts index 869bd4357..de093cf87 100644 --- a/src/Shared/types.ts +++ b/src/Shared/types.ts @@ -1159,3 +1159,5 @@ export interface IntelligenceConfig { prompt: string analyticsCategory: string } + +export type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE-GREEN' From 603c8e4a5a5b4f1a245e7edfdc2b761129058897 Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Thu, 15 May 2025 19:21:34 +0530 Subject: [PATCH 03/26] feat: add common loading card --- src/Assets/IconV2/ic-fast-forward.svg | 4 ++++ src/Assets/IconV2/ic-lego.svg | 3 +++ src/Assets/IconV2/ic-magnifying-glass.svg | 3 +++ src/Assets/IconV2/ic-play-outline.svg | 3 +++ src/Common/Types.ts | 3 ++- .../Details/CDPipeline/services.ts | 2 ++ .../DevtronApps/Details/CDPipeline/types.tsx | 3 ++- src/Shared/Components/Icon/Icon.tsx | 8 ++++++++ src/Shared/Components/LoadingCard.tsx | 19 +++++++++++++++++++ src/Shared/Components/index.ts | 1 + src/Shared/types.ts | 2 ++ 11 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 src/Assets/IconV2/ic-fast-forward.svg create mode 100644 src/Assets/IconV2/ic-lego.svg create mode 100644 src/Assets/IconV2/ic-magnifying-glass.svg create mode 100644 src/Assets/IconV2/ic-play-outline.svg create mode 100644 src/Shared/Components/LoadingCard.tsx diff --git a/src/Assets/IconV2/ic-fast-forward.svg b/src/Assets/IconV2/ic-fast-forward.svg new file mode 100644 index 000000000..97cf87d0d --- /dev/null +++ b/src/Assets/IconV2/ic-fast-forward.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/Assets/IconV2/ic-lego.svg b/src/Assets/IconV2/ic-lego.svg new file mode 100644 index 000000000..fbefc99b3 --- /dev/null +++ b/src/Assets/IconV2/ic-lego.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-magnifying-glass.svg b/src/Assets/IconV2/ic-magnifying-glass.svg new file mode 100644 index 000000000..f560eb621 --- /dev/null +++ b/src/Assets/IconV2/ic-magnifying-glass.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-play-outline.svg b/src/Assets/IconV2/ic-play-outline.svg new file mode 100644 index 000000000..991073048 --- /dev/null +++ b/src/Assets/IconV2/ic-play-outline.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Common/Types.ts b/src/Common/Types.ts index 9f67632bd..4dc7b9bbd 100644 --- a/src/Common/Types.ts +++ b/src/Common/Types.ts @@ -28,6 +28,7 @@ import { ButtonProps, ComponentLayoutType, StatusType, + DeploymentStrategyType, } from '../Shared' import { ACTION_STATE, @@ -845,7 +846,7 @@ export interface AppEnvironment { } export interface Strategy { - deploymentTemplate: string + deploymentTemplate: DeploymentStrategyType config: any default?: boolean } diff --git a/src/Pages/Applications/DevtronApps/Details/CDPipeline/services.ts b/src/Pages/Applications/DevtronApps/Details/CDPipeline/services.ts index 3dcbaa952..de98bd239 100644 --- a/src/Pages/Applications/DevtronApps/Details/CDPipeline/services.ts +++ b/src/Pages/Applications/DevtronApps/Details/CDPipeline/services.ts @@ -73,6 +73,7 @@ export const triggerCDNode = ({ abortControllerRef, skipIfHibernated, isRollbackTrigger = false, + strategy, }: TriggerCDNodeServiceProps) => { const areRuntimeParamsConfigured = runtimeParamsPayload && (stageType === DeploymentNodeType.POSTCD || stageType === DeploymentNodeType.PRECD) @@ -85,6 +86,7 @@ export const triggerCDNode = ({ isRollbackDeployment: isRollbackTrigger, ...(areRuntimeParamsConfigured && runtimeParamsPayload), ...(skipIfHibernated ? { skipIfHibernated: true } : {}), + ...(strategy ? { strategy } : {}), } if (deploymentWithConfig) { diff --git a/src/Pages/Applications/DevtronApps/Details/CDPipeline/types.tsx b/src/Pages/Applications/DevtronApps/Details/CDPipeline/types.tsx index cf167f860..7f3ce0d8f 100644 --- a/src/Pages/Applications/DevtronApps/Details/CDPipeline/types.tsx +++ b/src/Pages/Applications/DevtronApps/Details/CDPipeline/types.tsx @@ -17,7 +17,7 @@ import { BuildStageType, FormType } from '@Common/CIPipeline.Types' import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '@Common/Types' import { DeploymentStrategy } from '@Shared/Components' -import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '@Shared/types' +import { DeploymentStrategyType, EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '@Shared/types' import { STAGE_MAP } from '@Pages/index' interface ConfigSecretType { @@ -136,6 +136,7 @@ export interface TriggerCDNodeServiceProps extends Pick ( +
+
+
+
+
+
+
+
+
+) + +export default LoadingCard diff --git a/src/Shared/Components/index.ts b/src/Shared/Components/index.ts index abcb23727..fd86c73ba 100644 --- a/src/Shared/Components/index.ts +++ b/src/Shared/Components/index.ts @@ -72,6 +72,7 @@ export * from './InfoIconTippy' export * from './InvalidYAMLTippy' export * from './KeyValueTable' export * from './License' +export { default as LoadingCard } from './LoadingCard' export * from './LoginBanner' export * from './MaterialHistory' export * from './ModalSidebarPanel' diff --git a/src/Shared/types.ts b/src/Shared/types.ts index de093cf87..fc7a57477 100644 --- a/src/Shared/types.ts +++ b/src/Shared/types.ts @@ -1161,3 +1161,5 @@ export interface IntelligenceConfig { } export type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE-GREEN' + +export type DeploymentStrategyTypeWithDefault = DeploymentStrategyType | 'DEFAULT' From 63cd02936df3b636151b91bf757bab1fc9737882 Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Mon, 19 May 2025 01:16:30 +0530 Subject: [PATCH 04/26] feat: revamp loading card --- src/Shared/Components/LoadingCard.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Shared/Components/LoadingCard.tsx b/src/Shared/Components/LoadingCard.tsx index 5e8a678f2..c2e88e089 100644 --- a/src/Shared/Components/LoadingCard.tsx +++ b/src/Shared/Components/LoadingCard.tsx @@ -4,14 +4,18 @@ interface LoadingCardType { const LoadingCard = ({ wider }: LoadingCardType) => (
-
-
-
+
+ +
-
-
+
+
) From 0b0e10de5316ce75166c6fb6c9c17e14c111e5c0 Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Mon, 19 May 2025 11:57:06 +0530 Subject: [PATCH 05/26] chore: version bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01938014c..4ba478ef3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.13.0", + "version": "1.13.0-pre-6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.13.0", + "version": "1.13.0-pre-6", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index a10088e67..4227d5d2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.13.0", + "version": "1.13.0-pre-6", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", From 760fc2fdf8ce66afc4338d4d1b927fd4fdede7db Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Mon, 19 May 2025 11:58:05 +0530 Subject: [PATCH 06/26] chore: version bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ba478ef3..4de27b84f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.13.0-pre-6", + "version": "1.13.0-beta-7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.13.0-pre-6", + "version": "1.13.0-beta-7", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 4227d5d2a..351847c19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.13.0-pre-6", + "version": "1.13.0-beta-7", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", From 3a309cb64e0d45c30b9e61e2019c26e7d9536962 Mon Sep 17 00:00:00 2001 From: Rohit Raj Date: Mon, 19 May 2025 13:41:18 +0530 Subject: [PATCH 07/26] chore: add new icons --- src/Assets/IconV2/ic-arrows-clockwise.svg | 3 +++ src/Assets/IconV2/ic-hibernate-circle.svg | 3 +++ src/Assets/IconV2/ic-hibernate.svg | 4 ++-- src/Assets/IconV2/ic-more-vertical.svg | 3 +++ src/Assets/IconV2/ic-sun.svg | 3 +++ src/Assets/IconV2/ic-traffic-signal.svg | 3 +++ src/Shared/Components/Icon/Icon.tsx | 10 ++++++++++ src/Shared/Components/StatusComponent/utils.ts | 2 +- 8 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 src/Assets/IconV2/ic-arrows-clockwise.svg create mode 100644 src/Assets/IconV2/ic-hibernate-circle.svg create mode 100644 src/Assets/IconV2/ic-more-vertical.svg create mode 100644 src/Assets/IconV2/ic-sun.svg create mode 100644 src/Assets/IconV2/ic-traffic-signal.svg diff --git a/src/Assets/IconV2/ic-arrows-clockwise.svg b/src/Assets/IconV2/ic-arrows-clockwise.svg new file mode 100644 index 000000000..413309aa6 --- /dev/null +++ b/src/Assets/IconV2/ic-arrows-clockwise.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-hibernate-circle.svg b/src/Assets/IconV2/ic-hibernate-circle.svg new file mode 100644 index 000000000..9e1d1a729 --- /dev/null +++ b/src/Assets/IconV2/ic-hibernate-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-hibernate.svg b/src/Assets/IconV2/ic-hibernate.svg index b26d59ce6..91e884ee2 100644 --- a/src/Assets/IconV2/ic-hibernate.svg +++ b/src/Assets/IconV2/ic-hibernate.svg @@ -14,6 +14,6 @@ - limitations under the License. --> - - + + diff --git a/src/Assets/IconV2/ic-more-vertical.svg b/src/Assets/IconV2/ic-more-vertical.svg new file mode 100644 index 000000000..66c4d477a --- /dev/null +++ b/src/Assets/IconV2/ic-more-vertical.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-sun.svg b/src/Assets/IconV2/ic-sun.svg new file mode 100644 index 000000000..58025d300 --- /dev/null +++ b/src/Assets/IconV2/ic-sun.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-traffic-signal.svg b/src/Assets/IconV2/ic-traffic-signal.svg new file mode 100644 index 000000000..b29f5592f --- /dev/null +++ b/src/Assets/IconV2/ic-traffic-signal.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Shared/Components/Icon/Icon.tsx b/src/Shared/Components/Icon/Icon.tsx index e82a59993..9fbf0d81f 100644 --- a/src/Shared/Components/Icon/Icon.tsx +++ b/src/Shared/Components/Icon/Icon.tsx @@ -7,6 +7,7 @@ import { ReactComponent as ICApica } from '@IconsV2/ic-apica.svg' import { ReactComponent as ICAppGroup } from '@IconsV2/ic-app-group.svg' import { ReactComponent as ICArrowClockwise } from '@IconsV2/ic-arrow-clockwise.svg' import { ReactComponent as ICArrowRight } from '@IconsV2/ic-arrow-right.svg' +import { ReactComponent as ICArrowsClockwise } from '@IconsV2/ic-arrows-clockwise.svg' import { ReactComponent as ICArrowsLeftRight } from '@IconsV2/ic-arrows-left-right.svg' import { ReactComponent as ICAther } from '@IconsV2/ic-ather.svg' import { ReactComponent as ICAzure } from '@IconsV2/ic-azure.svg' @@ -66,6 +67,7 @@ import { ReactComponent as ICHelm } from '@IconsV2/ic-helm.svg' import { ReactComponent as ICHelpFilled } from '@IconsV2/ic-help-filled.svg' import { ReactComponent as ICHelpOutline } from '@IconsV2/ic-help-outline.svg' import { ReactComponent as ICHibernate } from '@IconsV2/ic-hibernate.svg' +import { ReactComponent as ICHibernateCircle } from '@IconsV2/ic-hibernate-circle.svg' import { ReactComponent as ICInProgress } from '@IconsV2/ic-in-progress.svg' import { ReactComponent as ICInfoFilled } from '@IconsV2/ic-info-filled.svg' import { ReactComponent as ICInfoOutline } from '@IconsV2/ic-info-outline.svg' @@ -84,6 +86,7 @@ import { ReactComponent as ICMemory } from '@IconsV2/ic-memory.svg' import { ReactComponent as ICMicrosoft } from '@IconsV2/ic-microsoft.svg' import { ReactComponent as ICMissing } from '@IconsV2/ic-missing.svg' import { ReactComponent as ICMonitoring } from '@IconsV2/ic-monitoring.svg' +import { ReactComponent as ICMoreVertical } from '@IconsV2/ic-more-vertical.svg' import { ReactComponent as ICNew } from '@IconsV2/ic-new.svg' import { ReactComponent as ICNodeScript } from '@IconsV2/ic-node-script.svg' import { ReactComponent as ICOidc } from '@IconsV2/ic-oidc.svg' @@ -110,6 +113,7 @@ import { ReactComponent as ICStrategyCanary } from '@IconsV2/ic-strategy-canary. import { ReactComponent as ICStrategyRecreate } from '@IconsV2/ic-strategy-recreate.svg' import { ReactComponent as ICStrategyRolling } from '@IconsV2/ic-strategy-rolling.svg' import { ReactComponent as ICSuccess } from '@IconsV2/ic-success.svg' +import { ReactComponent as ICSun } from '@IconsV2/ic-sun.svg' import { ReactComponent as ICSuspended } from '@IconsV2/ic-suspended.svg' import { ReactComponent as ICTata1mg } from '@IconsV2/ic-tata1mg.svg' import { ReactComponent as ICTerminalFill } from '@IconsV2/ic-terminal-fill.svg' @@ -117,6 +121,7 @@ import { ReactComponent as ICThumbDown } from '@IconsV2/ic-thumb-down.svg' import { ReactComponent as ICThumbUp } from '@IconsV2/ic-thumb-up.svg' import { ReactComponent as ICTimeoutDash } from '@IconsV2/ic-timeout-dash.svg' import { ReactComponent as ICTimer } from '@IconsV2/ic-timer.svg' +import { ReactComponent as ICTrafficSignal } from '@IconsV2/ic-traffic-signal.svg' import { ReactComponent as ICTravclan } from '@IconsV2/ic-travclan.svg' import { ReactComponent as ICUnknown } from '@IconsV2/ic-unknown.svg' import { ReactComponent as ICUserKey } from '@IconsV2/ic-user-key.svg' @@ -135,6 +140,7 @@ export const iconMap = { 'ic-app-group': ICAppGroup, 'ic-arrow-clockwise': ICArrowClockwise, 'ic-arrow-right': ICArrowRight, + 'ic-arrows-clockwise': ICArrowsClockwise, 'ic-arrows-left-right': ICArrowsLeftRight, 'ic-ather': ICAther, 'ic-azure': ICAzure, @@ -193,6 +199,7 @@ export const iconMap = { 'ic-helm': ICHelm, 'ic-help-filled': ICHelpFilled, 'ic-help-outline': ICHelpOutline, + 'ic-hibernate-circle': ICHibernateCircle, 'ic-hibernate': ICHibernate, 'ic-in-progress': ICInProgress, 'ic-info-filled': ICInfoFilled, @@ -212,6 +219,7 @@ export const iconMap = { 'ic-microsoft': ICMicrosoft, 'ic-missing': ICMissing, 'ic-monitoring': ICMonitoring, + 'ic-more-vertical': ICMoreVertical, 'ic-new': ICNew, 'ic-node-script': ICNodeScript, 'ic-oidc': ICOidc, @@ -238,6 +246,7 @@ export const iconMap = { 'ic-strategy-recreate': ICStrategyRecreate, 'ic-strategy-rolling': ICStrategyRolling, 'ic-success': ICSuccess, + 'ic-sun': ICSun, 'ic-suspended': ICSuspended, 'ic-tata1mg': ICTata1mg, 'ic-terminal-fill': ICTerminalFill, @@ -245,6 +254,7 @@ export const iconMap = { 'ic-thumb-up': ICThumbUp, 'ic-timeout-dash': ICTimeoutDash, 'ic-timer': ICTimer, + 'ic-traffic-signal': ICTrafficSignal, 'ic-travclan': ICTravclan, 'ic-unknown': ICUnknown, 'ic-user-key': ICUserKey, diff --git a/src/Shared/Components/StatusComponent/utils.ts b/src/Shared/Components/StatusComponent/utils.ts index b6303d7c8..904140458 100644 --- a/src/Shared/Components/StatusComponent/utils.ts +++ b/src/Shared/Components/StatusComponent/utils.ts @@ -67,7 +67,7 @@ export const getIconName = (status: string, showAnimatedIcon: boolean): IconName return 'ic-in-progress' case 'hibernating': case 'hibernated': - return 'ic-hibernate' + return 'ic-hibernate-circle' case 'timedout': case 'timed_out': return 'ic-timeout-dash' From 02b98071e99d3e945ced58d12fdeea2a7bc37fc0 Mon Sep 17 00:00:00 2001 From: Rohit Raj Date: Tue, 20 May 2025 14:55:33 +0530 Subject: [PATCH 08/26] feat: Checkbox - add error prop to Checkbox --- src/Common/Checkbox.tsx | 2 +- src/Common/Types.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Common/Checkbox.tsx b/src/Common/Checkbox.tsx index ee6b18d41..d8e8b1cfe 100644 --- a/src/Common/Checkbox.tsx +++ b/src/Common/Checkbox.tsx @@ -35,7 +35,7 @@ export class Checkbox extends Component {