Skip to content

Commit b525ddc

Browse files
committed
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat/app-details-chat
2 parents d793738 + 60f024f commit b525ddc

File tree

66 files changed

+1079
-1305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1079
-1305
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ LOGIN_PAGE_IMAGE=
7272
FEATURE_ASK_DEVTRON_EXPERT=false
7373
FEATURE_MANAGE_TRAFFIC_ENABLE=false
7474
FEATURE_REDFISH_NODE_ENABLE=false
75+
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE=false

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ src/components/app/details/appDetails/utils.tsx
8888
src/components/app/details/cIDetails/CIDetails.tsx
8989
src/components/app/details/cIDetails/cIDetails.util.tsx
9090
src/components/app/details/cdDetails/CDDetails.tsx
91-
src/components/app/details/cdDetails/service.ts
9291
src/components/app/details/cicdHistory/History.components.tsx
9392
src/components/app/details/main.tsx
9493
src/components/app/details/metrics/BenchmarkModal.tsx

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.15.0-pre-4",
7+
"@devtron-labs/devtron-fe-common-lib": "1.15.1-pre-1",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/CreateCluster.component.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ const CreateClusterForm = importComponentFromFELibrary(
2828
'CreateClusterForm',
2929
() => (
3030
<EnterpriseTrialDialog
31-
featureTitle="EKS Cluster"
32-
featureDescription="With Devtron, you can effortlessly create an Amazon EKS cluster."
31+
featureTitle="Create Kubernetes Cluster"
32+
featureDescription="Use Devtron to easily create Kubernetes clusters on popular cloud providers. Simplify cluster
33+
provisioning and management with a guided, user-friendly interface."
3334
/>
3435
),
3536
'function',
@@ -74,7 +75,7 @@ const CreateCluster = ({ handleReloadClusterList, handleRedirectOnModalClose }:
7475
FooterComponent={FooterComponent}
7576
/>
7677
)
77-
case CreateClusterTypeEnum.CREATE_EKS_CLUSTER:
78+
case CreateClusterTypeEnum.CREATE_CLUSTER:
7879
return (
7980
<CreateClusterForm
8081
apiCallInProgress={apiCallInProgress}

src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/constants.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,15 @@ export const SIDEBAR_CONFIG: SidebarConfigType = {
1212
</p>
1313
),
1414
},
15-
[CreateClusterTypeEnum.CREATE_EKS_CLUSTER]: {
16-
title: 'Create EKS Cluster',
17-
iconName: 'ic-cluster',
18-
dataTestId: 'create-eks-cluster-tab',
15+
[CreateClusterTypeEnum.CREATE_CLUSTER]: {
16+
title: 'Create Kubernetes Cluster',
17+
iconName: 'ic-new',
18+
dataTestId: 'create-cluster-tab',
1919
body: (
20-
<>
21-
<p className="m-0">With Devtron, you can effortlessly create an Amazon EKS cluster.</p>
22-
<p className="m-0">
23-
Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed Kubernetes service that enables
24-
you to run Kubernetes seamlessly in both AWS Cloud and on-premises data centers.
25-
</p>
26-
</>
20+
<p className="m-0">
21+
Use Devtron to easily create Kubernetes clusters on popular cloud providers. Simplify cluster
22+
provisioning and management with a guided, user-friendly interface.
23+
</p>
2724
),
2825
isEnterprise: true,
2926
},

src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { IconName } from '@devtron-labs/devtron-fe-common-lib'
22

33
export enum CreateClusterTypeEnum {
44
CONNECT_CLUSTER = 'connect-cluster',
5-
CREATE_EKS_CLUSTER = 'create-eks-cluster',
5+
CREATE_CLUSTER = 'create-cluster',
66
ADD_ISOLATED_CLUSTER = 'add-isolated-cluster',
77
}
88

src/assets/icons/ic-world.svg

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/components/ApplicationGroup/Details/EnvCDDetails/__mock__/EnvCDDetails.mock.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { ResponseType } from '@devtron-labs/devtron-fe-common-lib'
18-
19-
import { ModuleConfigResponse } from '../../../../app/details/appDetails/appDetails.type'
17+
import { ModuleConfigResponse, ResponseType } from '@devtron-labs/devtron-fe-common-lib'
2018

2119
export async function mockCDList(): Promise<ResponseType> {
2220
const response = {

src/components/CIPipelineN/CIPipeline.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import {
4949
FloatingVariablesSuggestions,
5050
TriggerType,
5151
DeleteCINodeButton,
52+
handleAnalyticsEvent,
5253
} from '@devtron-labs/devtron-fe-common-lib'
5354
import Tippy from '@tippyjs/react'
5455
import {
@@ -541,6 +542,11 @@ export default function CIPipeline({
541542
handleClose()
542543
}
543544

545+
const handleAdvancedOptions = () => {
546+
setIsAdvanced(true)
547+
handleAnalyticsEvent({category: 'CI Pipeline', action: 'DA_BUILD_ADVANCED'})
548+
}
549+
544550
const renderSecondaryButton = () => {
545551
if (ciPipelineId) {
546552
const canDeletePipeline = connectCDPipelines === 0 && ciPipeline.linkedCount === 0
@@ -582,9 +588,7 @@ export default function CIPipeline({
582588
type="button"
583589
data-testid="create-build-pipeline-advanced-options-button"
584590
className="cta cta--workflow cancel mr-16 flex"
585-
onClick={() => {
586-
setIsAdvanced(true)
587-
}}
591+
onClick={handleAdvancedOptions}
588592
>
589593
Advanced options
590594
{mandatoryPluginData && (!mandatoryPluginData.isValidPre || !mandatoryPluginData.isValidPost) && (

src/components/ClusterNodes/ClusterTerminal.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
ComponentSizeType,
2424
get,
2525
getIsRequestAborted,
26+
handleAnalyticsEvent,
2627
NodeTaintType,
2728
noop,
2829
OptionType,
@@ -642,7 +643,13 @@ const ClusterTerminal = ({
642643
}
643644

644645
const toggleScreenView = (): void => {
645-
setFullScreen(!isFullScreen)
646+
if (!isFullScreen) {
647+
handleAnalyticsEvent({
648+
category: 'Cluster Terminal',
649+
action: 'RB_TERMINAL_FULLSCREEN',
650+
})
651+
}
652+
setFullScreen((prev) => !prev)
646653
}
647654

648655
const selectEventsTab = (): void => {

0 commit comments

Comments
 (0)