Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c4ba138
fix: gift-animated gpu rendering
AbhishekA1509 Sep 19, 2025
426b295
chore: bump version to 1.20.2-beta-1 and update SVG animation styles
AbhishekA1509 Sep 19, 2025
6848232
chore: bump version to 1.20.2-beta-2 and update SVG animation for ic-…
AbhishekA1509 Sep 22, 2025
bf51e4a
chore: bump version to 1.20.2-beta-3 and update SVG loader styles
AbhishekA1509 Sep 22, 2025
d5b1faa
chore: bump version to 1.20.2-beta-4 and enhance SVG loader performance
AbhishekA1509 Sep 22, 2025
47779b6
chore: bump version to 1.20.2-beta-5 and optimize SVG loader animations
AbhishekA1509 Sep 22, 2025
b2e36fa
chore: update version to 1.20.2-beta-6 in package.json and package-lo…
AbhishekA1509 Sep 22, 2025
1693c47
chore: bump version to 1.20.2-beta-7 and update SVG loader animations
AbhishekA1509 Sep 22, 2025
ac957fe
chore: bump version to 1.20.2-beta-8, add new Devtron freemium illust…
AbhishekA1509 Sep 22, 2025
f52d09d
chore: remove unused Devtron freemium illustrations
AbhishekA1509 Sep 22, 2025
13c906b
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 Sep 22, 2025
003399d
chore: bump version to 1.20.3-pre-3 in package.json and package-lock.…
AbhishekA1509 Sep 22, 2025
19a5ce8
Merge pull request #904 from devtron-labs/fix/gatekeeper-animation-perf
AbhishekA1509 Sep 22, 2025
8bc5e76
chore: bump version to 1.20.3-pre-8 in package.json and package-lock.…
AbhishekA1509 Sep 24, 2025
357309f
Merge pull request #906 from devtron-labs/fix/ic-rotate-devtron
AbhishekA1509 Sep 24, 2025
171756f
chore: add icons
arunjaindev Sep 29, 2025
f434d57
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
arunjaindev Sep 29, 2025
0575779
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
arunjaindev Sep 29, 2025
dd98925
chore: resource context added in context switcher
shivani170 Sep 30, 2025
3f10890
chore: version bump
shivani170 Sep 30, 2025
69ab02a
Merge pull request #912 from devtron-labs/feat/context-switcher-text
shivani170 Sep 30, 2025
bf11ffe
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
arunjaindev Oct 1, 2025
22de5f6
chore: hide tooltip on chart click
arunjaindev Oct 2, 2025
313c463
chore: add connection failed in cluster status filter
arunjaindev Oct 6, 2025
f7c8690
chore: add icon
arunjaindev Oct 6, 2025
6b0f1a6
chore: add icon
arunjaindev Oct 6, 2025
4729768
Merge branch 'main' of https://github.com/devtron-labs/devtron-fe-com…
arunjaindev Oct 8, 2025
ddf292a
Merge pull request #922 from devtron-labs/chore/sync-main
arunjaindev Oct 8, 2025
89f88f8
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
arunjaindev Oct 9, 2025
0619646
chore: version bump
arunjaindev Oct 9, 2025
03f32ad
fix: config drift window from app status modal
arunjaindev Oct 9, 2025
1b7d216
Merge pull request #923 from devtron-labs/chore/misc-fixes
arunjaindev Oct 9, 2025
dcf1162
Merge branch 'main' of https://github.com/devtron-labs/devtron-fe-com…
arunjaindev Oct 9, 2025
d5d6c46
chore: version bump
arunjaindev Oct 9, 2025
4fbef3b
Merge pull request #924 from devtron-labs/chore/sync-main
arunjaindev Oct 9, 2025
3a34e91
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
arunjaindev Oct 10, 2025
7cd65c5
chore: version bump
arunjaindev Oct 10, 2025
7a8ed41
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
arunjaindev Oct 10, 2025
239db7d
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
arunjaindev Oct 10, 2025
bd14d6a
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
arunjaindev Oct 10, 2025
7d7c263
chore: move svg to illustration
arunjaindev Oct 10, 2025
a10aef4
chore: remove icon from map
arunjaindev Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devtron-labs/devtron-fe-common-lib",
"version": "1.20.3-pre-11",
"version": "1.20.3-beta-3",
"description": "Supporting common component library",
"type": "module",
"main": "dist/index.js",
Expand Down
11 changes: 11 additions & 0 deletions src/Assets/IconV2/ic-bg-cpu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/Assets/IconV2/ic-bg-memory.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-check-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 38 additions & 1 deletion src/Assets/IconV2/ic-gift-animated.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-warning-stroke.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Shared/Components/Charts/Chart.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ const Chart = (props: ChartProps) => {
chartProps: props,
appTheme,
externalTooltipHandler: debouncedExternalTooltipHandler,
setTooltipVisible,
})

chartRef.current = new ChartJS(ctx, {
Expand Down
3 changes: 2 additions & 1 deletion src/Shared/Components/Charts/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from 'react'
import { Dispatch, ReactNode, SetStateAction } from 'react'
import { TooltipOptions, TooltipPositionerFunction } from 'chart.js'

import { TooltipProps } from '@Common/Tooltip'
Expand Down Expand Up @@ -139,6 +139,7 @@ export interface GetDefaultOptionsParams {
chartProps: ChartProps
appTheme: AppThemeType
externalTooltipHandler: TooltipOptions['external']
setTooltipVisible: Dispatch<SetStateAction<boolean>>
}

declare module 'chart.js' {
Expand Down
12 changes: 10 additions & 2 deletions src/Shared/Components/Charts/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ export const getChartJSType = (type: ChartType): ChartJSChartType => {
}

const handleChartClick =
({ type, onChartClick, datasets, xAxisLabels }: ChartProps) =>
({
type,
onChartClick,
datasets,
xAxisLabels,
setTooltipVisible,
}: ChartProps & Pick<GetDefaultOptionsParams, 'setTooltipVisible'>) =>
(_, elements: ActiveElement[]) => {
if (!elements || elements.length === 0 || !datasets || (Array.isArray(datasets) && datasets.length === 0)) {
return
Expand All @@ -116,6 +122,7 @@ const handleChartClick =

onChartClick?.(datasets[datasetIndex].datasetName, index)
}
setTooltipVisible(false)
}

const handleChartHover =
Expand Down Expand Up @@ -170,6 +177,7 @@ export const getDefaultOptions = ({
chartProps,
appTheme,
externalTooltipHandler,
setTooltipVisible,
}: GetDefaultOptionsParams): ChartOptions => {
const {
onChartClick,
Expand Down Expand Up @@ -217,7 +225,7 @@ export const getDefaultOptions = ({
},
...(onChartClick
? {
onClick: handleChartClick(chartProps),
onClick: handleChartClick({ ...chartProps, setTooltipVisible }),
onHover: handleChartHover(chartProps),
}
: {}),
Expand Down
8 changes: 8 additions & 0 deletions src/Shared/Components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ import { ReactComponent as ICAzure } from '@IconsV2/ic-azure.svg'
import { ReactComponent as ICAzureAks } from '@IconsV2/ic-azure-aks.svg'
import { ReactComponent as ICBgBuild } from '@IconsV2/ic-bg-build.svg'
import { ReactComponent as ICBgCluster } from '@IconsV2/ic-bg-cluster.svg'
import { ReactComponent as ICBgCpu } from '@IconsV2/ic-bg-cpu.svg'
import { ReactComponent as ICBgDeploy } from '@IconsV2/ic-bg-deploy.svg'
import { ReactComponent as ICBgEnvironment } from '@IconsV2/ic-bg-environment.svg'
import { ReactComponent as ICBgMemory } from '@IconsV2/ic-bg-memory.svg'
import { ReactComponent as ICBgProductionPipelines } from '@IconsV2/ic-bg-production-pipelines.svg'
import { ReactComponent as ICBgProject } from '@IconsV2/ic-bg-project.svg'
import { ReactComponent as ICBgScan } from '@IconsV2/ic-bg-scan.svg'
Expand All @@ -49,6 +51,7 @@ import { ReactComponent as ICChatCircleDots } from '@IconsV2/ic-chat-circle-dots
import { ReactComponent as ICChatCircleOnline } from '@IconsV2/ic-chat-circle-online.svg'
import { ReactComponent as ICCheck } from '@IconsV2/ic-check.svg'
import { ReactComponent as ICCheckAll } from '@IconsV2/ic-check-all.svg'
import { ReactComponent as ICCheckCircle } from '@IconsV2/ic-check-circle.svg'
import { ReactComponent as ICCheckSquare } from '@IconsV2/ic-check-square.svg'
import { ReactComponent as ICChecks } from '@IconsV2/ic-checks.svg'
import { ReactComponent as ICCiLinked } from '@IconsV2/ic-ci-linked.svg'
Expand Down Expand Up @@ -265,6 +268,7 @@ import { ReactComponent as ICVisibilityOff } from '@IconsV2/ic-visibility-off.sv
import { ReactComponent as ICVisibilityOn } from '@IconsV2/ic-visibility-on.svg'
import { ReactComponent as ICWarning } from '@IconsV2/ic-warning.svg'
import { ReactComponent as ICWarningFill } from '@IconsV2/ic-warning-fill.svg'
import { ReactComponent as ICWarningStroke } from '@IconsV2/ic-warning-stroke.svg'
import { ReactComponent as ICWebhook } from '@IconsV2/ic-webhook.svg'
import { ReactComponent as ICWifiSlash } from '@IconsV2/ic-wifi-slash.svg'
import { ReactComponent as ICWorldGlobe } from '@IconsV2/ic-world-globe.svg'
Expand Down Expand Up @@ -297,8 +301,10 @@ export const iconMap = {
'ic-azure': ICAzure,
'ic-bg-build': ICBgBuild,
'ic-bg-cluster': ICBgCluster,
'ic-bg-cpu': ICBgCpu,
'ic-bg-deploy': ICBgDeploy,
'ic-bg-environment': ICBgEnvironment,
'ic-bg-memory': ICBgMemory,
'ic-bg-production-pipelines': ICBgProductionPipelines,
'ic-bg-project': ICBgProject,
'ic-bg-scan': ICBgScan,
Expand All @@ -322,6 +328,7 @@ export const iconMap = {
'ic-chat-circle-dots': ICChatCircleDots,
'ic-chat-circle-online': ICChatCircleOnline,
'ic-check-all': ICCheckAll,
'ic-check-circle': ICCheckCircle,
'ic-check-square': ICCheckSquare,
'ic-check': ICCheck,
'ic-checks': ICChecks,
Expand Down Expand Up @@ -538,6 +545,7 @@ export const iconMap = {
'ic-visibility-off': ICVisibilityOff,
'ic-visibility-on': ICVisibilityOn,
'ic-warning-fill': ICWarningFill,
'ic-warning-stroke': ICWarningStroke,
'ic-warning': ICWarning,
'ic-webhook': ICWebhook,
'ic-wifi-slash': ICWifiSlash,
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/Components/SelectPicker/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export const getCommonSelectStyle = <OptionValue, IsMulti extends boolean>({
}),
menuPortal: (base) => ({
...base,
zIndex: 2,
zIndex: 3,
}),
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/Shared/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -613,3 +613,5 @@ export const REMOTE_CONNECTION_TYPE_LABEL_MAP: Record<RemoteConnectionType, stri
[RemoteConnectionType.Proxy]: 'Via Proxy',
[RemoteConnectionType.SSHTunnel]: 'Via SSH Tunnel',
}

export const TARGET_K8S_VERSION_SEARCH_KEY = 'targetK8sVersion'