From 48884171ee2ffae3b664eaceda522e0620015208 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 14:05:37 +0530 Subject: [PATCH 01/12] follow cursor type added --- src/Common/Types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Common/Types.ts b/src/Common/Types.ts index 209970c3a..a26660cad 100644 --- a/src/Common/Types.ts +++ b/src/Common/Types.ts @@ -79,6 +79,7 @@ export interface TippyCustomizedProps { documentationLink?: string documentationLinkText?: string children: React.ReactElement + followCursor?: boolean } export interface GenericEmptyStateType { title: ReactNode From 718ccb3d7372827a3647bd6a7b2dd0e0c6a78cf1 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 14:06:58 +0530 Subject: [PATCH 02/12] package updated --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 913e06f6f..74701fed9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42", + "version": "0.0.42-beta-3", "description": "Supporting common component library", "main": "dist/index.js", "scripts": { From 60039961943bc2529d3d7236bfe8d8cf85d065b2 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 14:09:59 +0530 Subject: [PATCH 03/12] Version updated to 42-beta-4 --- 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 6fdd543cc..92742905b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.40-beta-8", + "version": "0.0.42-beta-4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.40-beta-8", + "version": "0.0.42-beta-4", "license": "ISC", "dependencies": { "sass": "^1.56.2", diff --git a/package.json b/package.json index 74701fed9..15ae03108 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-3", + "version": "0.0.42-beta-4", "description": "Supporting common component library", "main": "dist/index.js", "scripts": { From 9e0c11c84e2d7c84e07d624189fd18bf1b95367b Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 16:47:04 +0530 Subject: [PATCH 04/12] className added in alphabet icon functionality --- package-lock.json | 4 ++-- package.json | 2 +- src/Common/Helper.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 92742905b..d4dc70131 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-4", + "version": "0.0.42-beta-5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-4", + "version": "0.0.42-beta-5", "license": "ISC", "dependencies": { "sass": "^1.56.2", diff --git a/package.json b/package.json index 15ae03108..da629b13e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-4", + "version": "0.0.42-beta-5", "description": "Supporting common component library", "main": "dist/index.js", "scripts": { diff --git a/src/Common/Helper.tsx b/src/Common/Helper.tsx index 7f1ff4876..ad8cf7a93 100644 --- a/src/Common/Helper.tsx +++ b/src/Common/Helper.tsx @@ -116,11 +116,11 @@ export function getRandomColor(email: string): string { return colors[sum % colors.length] } -export const getAlphabetIcon = (str: string) => { +export const getAlphabetIcon = (str: string, intialAlphabetClassName?: string) => { if (!str) return null return ( {str[0]} From 62c75eba2b445961f93bd2395ae5a4fe6d4def4d Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 17:16:20 +0530 Subject: [PATCH 05/12] code refactoring in getAlphabetIcon --- src/Common/Helper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Helper.tsx b/src/Common/Helper.tsx index ad8cf7a93..4fa7e7e88 100644 --- a/src/Common/Helper.tsx +++ b/src/Common/Helper.tsx @@ -120,7 +120,7 @@ export const getAlphabetIcon = (str: string, intialAlphabetClassName?: string) = if (!str) return null return ( {str[0]} From a41243a3b085d63a9ef27dd48db0887876a98b13 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 17:16:52 +0530 Subject: [PATCH 06/12] version updated to 42-beta-6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index da629b13e..2cfc4daa3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-5", + "version": "0.0.42-beta-6", "description": "Supporting common component library", "main": "dist/index.js", "scripts": { From ef9f4303666e779a8fa14b71a5b5b724e0692c96 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 17:17:12 +0530 Subject: [PATCH 07/12] json added --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d4dc70131..4cebe9997 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-5", + "version": "0.0.42-beta-6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-5", + "version": "0.0.42-beta-6", "license": "ISC", "dependencies": { "sass": "^1.56.2", From a18624e9b1c5b4974b51d46e4f9ab04358378b85 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 30 Nov 2023 17:18:54 +0530 Subject: [PATCH 08/12] .0.42-beta-7 --- 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 4cebe9997..b71a8fa37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-6", + "version": "0.0.42-beta-7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-6", + "version": "0.0.42-beta-7", "license": "ISC", "dependencies": { "sass": "^1.56.2", diff --git a/package.json b/package.json index 2cfc4daa3..a44b77aec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "0.0.42-beta-6", + "version": "0.0.42-beta-7", "description": "Supporting common component library", "main": "dist/index.js", "scripts": { From d6e6303804e6cbfff5420222a1f74004275cf187 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Tue, 5 Dec 2023 12:53:04 +0530 Subject: [PATCH 09/12] intialAlphabetClassName added in get alphabet icon --- src/Common/Helper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Helper.tsx b/src/Common/Helper.tsx index 55917885d..e285f9be6 100644 --- a/src/Common/Helper.tsx +++ b/src/Common/Helper.tsx @@ -120,7 +120,7 @@ export const getAlphabetIcon = (str: string, intialAlphabetClassName?: string) = if (!str) return null return ( {str[0]} From e376fc440c3affdb8c63e8980093bfcf3e5efe80 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Tue, 5 Dec 2023 13:05:25 +0530 Subject: [PATCH 10/12] removed unnecessary code --- src/Common/Types.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Common/Types.ts b/src/Common/Types.ts index a26660cad..209970c3a 100644 --- a/src/Common/Types.ts +++ b/src/Common/Types.ts @@ -79,7 +79,6 @@ export interface TippyCustomizedProps { documentationLink?: string documentationLinkText?: string children: React.ReactElement - followCursor?: boolean } export interface GenericEmptyStateType { title: ReactNode From f35e01be8ad80b8164669fa9650a70d8a8d87d7f Mon Sep 17 00:00:00 2001 From: shivani170 Date: Tue, 5 Dec 2023 14:42:25 +0530 Subject: [PATCH 11/12] renaming of class name --- src/Common/Helper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/Helper.tsx b/src/Common/Helper.tsx index e285f9be6..a6dbbb0b2 100644 --- a/src/Common/Helper.tsx +++ b/src/Common/Helper.tsx @@ -116,11 +116,11 @@ export function getRandomColor(email: string): string { return colors[sum % colors.length] } -export const getAlphabetIcon = (str: string, intialAlphabetClassName?: string) => { +export const getAlphabetIcon = (str: string, rootClassName?: string) => { if (!str) return null return ( {str[0]} From 4e36afe76d24ce943043a52ba2e31565eefa58e1 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Wed, 6 Dec 2023 14:04:03 +0530 Subject: [PATCH 12/12] default value for rootclass name added --- src/Common/Helper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/Helper.tsx b/src/Common/Helper.tsx index a6dbbb0b2..7131d9632 100644 --- a/src/Common/Helper.tsx +++ b/src/Common/Helper.tsx @@ -116,11 +116,11 @@ export function getRandomColor(email: string): string { return colors[sum % colors.length] } -export const getAlphabetIcon = (str: string, rootClassName?: string) => { +export const getAlphabetIcon = (str: string, rootClassName: string = "") => { if (!str) return null return ( {str[0]}