Skip to content
Open
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
09ef590
feat: notifications page ui new icons added
asika-gadgeon Sep 12, 2025
fe7f280
feat: recommendation ui added new icon
asika-gadgeon Sep 12, 2025
f8dc9ab
feat: notification ui added new icon
asika-gadgeon Sep 15, 2025
bebb618
feat: notifications page ui new icons
asika-gadgeon Sep 15, 2025
24c5c3f
feat: Icons for Recommendation status
chith-git Sep 15, 2025
12d5241
feat: Icon name change
chith-git Sep 15, 2025
804bb0a
feat:new root for connecting athena apis
chith-git Sep 23, 2025
e93208e
feat: chatbot changes
asika-gadgeon Sep 30, 2025
754404e
adding new icons
chith-git Sep 30, 2025
3722b01
feat: chatbot makdown styles updated
asika-gadgeon Oct 1, 2025
d6dba96
Icons added
chith-git Oct 1, 2025
a610454
icons changing to IconsV2
chith-git Oct 6, 2025
16646ea
Removing unwanted changes
chith-git Oct 6, 2025
e013add
Icons adding
chith-git Oct 6, 2025
91a76e3
Adding medium icon
chith-git Oct 6, 2025
dc4ef22
Correct icon replaced
chith-git Oct 6, 2025
df3d18f
code formatting
chith-git Oct 6, 2025
516f676
Removing service paths
chith-git Oct 6, 2025
4961797
API changes added
chith-git Oct 7, 2025
10443db
feat: Runbook implentation
chith-git Oct 12, 2025
85943f0
Changing the path
chith-git Oct 15, 2025
ac708d7
duplicates icons removed
chith-git Oct 22, 2025
a66904e
feat: chatbot graphs
asika-gadgeon Oct 13, 2025
e23ba7a
audit-logs
asika-gadgeon Oct 23, 2025
867f263
sample run book link added
chith-git Oct 23, 2025
a882d6c
version bump
chith-git Oct 23, 2025
195f2a9
version bump
chith-git Oct 23, 2025
1f4c37c
charts added axes configs
asika-gadgeon Oct 25, 2025
bfa8934
chart config version update
asika-gadgeon Oct 25, 2025
2b2a5de
version bump
chith-git Oct 27, 2025
ad6dab7
Merge remote-tracking branch 'origin/kubecon-2025' into develop-kubeo…
chith-git Nov 3, 2025
bd2f185
Merge pull request #945 from devtron-labs/develop-kubeon-devtron
chith-git Nov 3, 2025
0c4370c
version bump
chith-git Nov 3, 2025
6c415b0
version bump
chith-git Nov 3, 2025
b11fedc
reverted changes in axes config
asika-gadgeon Nov 4, 2025
39a74ab
version bump
asika-gadgeon Nov 4, 2025
81d2be0
graph fix version update
asika-gadgeon Nov 4, 2025
71be984
Merge remote-tracking branch 'origin/kubecon-2025' into develop-kubec…
asika-gadgeon Nov 7, 2025
5f49f1b
merged changes in chart
asika-gadgeon Nov 7, 2025
34effbd
Merge pull request #954 from devtron-labs/develop-kubecon-merge
chith-git Nov 7, 2025
762ed02
version bump
chith-git Nov 7, 2025
d9fd69d
Changing sample doc url
chith-git Nov 7, 2025
a6798df
version bump
chith-git Nov 7, 2025
e0e86aa
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
AbhishekA1509 Nov 7, 2025
3ba5401
chore: bump version to 1.20.6-pre-45 in package.json and package-lock…
AbhishekA1509 Nov 7, 2025
9168352
feat: update version to 1.20.6-pre-46, add notifications icon, and in…
AbhishekA1509 Nov 10, 2025
733755e
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/devtro…
AbhishekA1509 Nov 10, 2025
1264044
chore: remove unused SVG icons and clean up Chart component props
arunjaindev Nov 11, 2025
29d315a
Merge remote-tracking branch 'origin/fix/ai-fixes' into chore/update-…
arunjaindev Nov 11, 2025
89fdc67
chore: remove unused SVG icons for confirmation and failure states
arunjaindev Nov 11, 2025
a488946
chore: remove unused SVG icons from Icon component
arunjaindev Nov 11, 2025
cab41b9
feat: Add SVG icon and expose hook.
arunjaindev Dec 5, 2025
801b8c3
Merge pull request #973 from devtron-labs/refactor/ai-chat-history
arunjaindev Dec 5, 2025
6faffb6
Merge pull request #958 from devtron-labs/chore/update-icons
arunjaindev Dec 5, 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.6-pre-44",
"version": "1.20.6-pre-46",
"description": "Supporting common component library",
"type": "module",
"main": "dist/index.js",
Expand Down
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-arrow-white.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-bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/Assets/IconV2/ic-book-gear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/Assets/IconV2/ic-bulb.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-green.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/Assets/IconV2/ic-circle-progress.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-close-circle-red.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-close-circle.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-confirm.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-dot-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/Assets/IconV2/ic-failure-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/Assets/IconV2/ic-info-filled-new.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-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/Assets/IconV2/ic-new-chat.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-pencil-white.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-piggybank.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-priority-high-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/Assets/IconV2/ic-priority-low-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/Assets/IconV2/ic-priority-urgent-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/Assets/IconV2/ic-red-bulb.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-spider.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-timer-green.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-timer-red.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/Common/API/CoreAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class CoreAPI {
method: type,
signal,
body: data ? JSON.stringify(data) : undefined,
headers: {
'Content-Type': 'application/json',
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting Content-Type: application/json header for all requests, including GET requests that don't have a body, may not be ideal. While this usually doesn't cause issues, it's unnecessary for GET requests and could be problematic with some APIs. Consider only setting this header when data is present: ...(data && { 'Content-Type': 'application/json' })

Suggested change
'Content-Type': 'application/json',
...(data && !isMultipartRequest ? { 'Content-Type': 'application/json' } : {}),

Copilot uses AI. Check for mistakes.
},
}
// eslint-disable-next-line dot-notation
options['credentials'] = 'include' as RequestCredentials
Expand Down
6 changes: 2 additions & 4 deletions src/Common/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const DATA_PROTECTION_ROOT = '/data-protection-management'
const DATA_PROTECTION_BACKUP_AND_SCHEDULE =
`${DATA_PROTECTION_ROOT}/backup-and-schedule/:view(${Object.values(BackupAndScheduleListViewEnum).join('|')})` as const
const GLOBAL_CONFIG_ROOT = '/global-configuration'
const AI_RECOMMENDATIONS_ROOT = '/ai-recommendations'

export const URLS = {
LOGIN: '/login',
Expand Down Expand Up @@ -116,6 +115,7 @@ export const URLS = {
INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/chart-store/discover`,
INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/resource-browser`,
INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/resource-watcher`,
INFRASTRUCTURE_MANAGEMENT_AUDIT_LOGS: `${INFRASTRUCTURE_MANAGEMENT_ROOT}/audit-logs`,
// SOFTWARE RELEASE MANAGEMENT
SOFTWARE_RELEASE_MANAGEMENT: SOFTWARE_RELEASE_MANAGEMENT_ROOT,
// COST VISIBILITY
Expand All @@ -136,6 +136,7 @@ export const URLS = {
// AUTOMATION AND ENABLEMENT
AUTOMATION_AND_ENABLEMENT: AUTOMATION_AND_ENABLEMENT_ROOT,
AUTOMATION_AND_ENABLEMENT_JOB: `${AUTOMATION_AND_ENABLEMENT_ROOT}/job`,
AUTOMATION_ENABLEMENT_RUNBOOKS: `${AUTOMATION_AND_ENABLEMENT_ROOT}/runbooks`,
// DATA PROTECTION
DATA_PROTECTION: DATA_PROTECTION_ROOT,
DATA_PROTECTION_OVERVIEW: `${DATA_PROTECTION_ROOT}/overview`,
Expand All @@ -150,9 +151,6 @@ export const URLS = {
GLOBAL_CONFIG_DOCKER: `${GLOBAL_CONFIG_ROOT}/docker`,
GLOBAL_CONFIG_EDIT_CLUSTER: `${GLOBAL_CONFIG_ROOT}/cluster-env/edit/:clusterId`,
PERMISSION_GROUPS: `${GLOBAL_CONFIG_ROOT}/auth/groups`,
// AI RECOMMENDATIONS
AI_RECOMMENDATIONS: AI_RECOMMENDATIONS_ROOT,
AI_RECOMMENDATIONS_OVERVIEW: `${AI_RECOMMENDATIONS_ROOT}/overview`,
EXTERNAL_APPS: 'ea',
} as const

Expand Down
6 changes: 6 additions & 0 deletions src/Shared/Components/Charts/Chart.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ ChartJSTooltip.positioners.barElementCenterPositioner = (items, eventPosition) =
* @param type - Chart type: 'area', 'pie', 'semiPie', 'stackedBar', 'stackedBarHorizontal', or 'line'
* @param xAxisLabels - Array of labels for the x-axis (or categories for pie/semi-pie charts)
* @param datasets - Chart data: array of datasets for most charts, single dataset object for pie/semi-pie charts
* @param xAxisConfig
* @param yAxisConfig
*
* @performance
* **Memoization Recommendations:**
Expand Down Expand Up @@ -220,6 +222,8 @@ const Chart = (props: ChartProps) => {
yAxisMax,
yScaleTitle,
centerText,
xAxisConfig,
yAxisConfig,
} = props
const { getTooltipContent, placement } = tooltipConfig || { placement: 'top' }

Expand Down Expand Up @@ -317,6 +321,8 @@ const Chart = (props: ChartProps) => {
yAxisMax,
yScaleTitle,
centerText,
xAxisConfig,
yAxisConfig,
])

return (
Expand Down
15 changes: 13 additions & 2 deletions src/Shared/Components/Charts/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,26 @@ export interface CenterTextConfig {
fontFamily?: string
}

export interface AxisConfig {
title?: string
unit?: string
unitPosition?: 'prefix' | 'suffix'
labelFormatter?: (value: number | string, index: number) => string | string[] | number | number[]
hide?: boolean
max?: number
min?: number
stepSize?: number
}

type XYAxisMax = {
xAxisMax?: number
yAxisMax?: number
/**
* Optional reference lines to draw across the chart
*/
referenceLines?: ReferenceLineConfigType[]
xAxisConfig?: AxisConfig
yAxisConfig?: AxisConfig
}

type OnChartClickHandler = (datasetName: string, value: number) => void
Expand Down Expand Up @@ -130,9 +143,7 @@ export type ChartProps = {
placement?: TooltipProps['placement']
datasetValueFormatter?: (value: number) => string | number
}
/** A title for x axis */
xScaleTitle?: string
/** A title for y axis */
yScaleTitle?: string
} & TypeAndDatasetsType

Expand Down
3 changes: 2 additions & 1 deletion src/Shared/Components/DocLink/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export const DOCUMENTATION = {
GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: 'global-configurations/authorization/sso-login/microsoft',
GLOBAL_CONFIG_PULL_IMAGE_DIGEST: 'global-configurations/pull-image-digest',
GLOBAL_CONFIG_TAGS: 'getting-started/global-configurations/tags-policy',

// TODO: Replace with correct Url
SAMPLE_RUNBOOK_LINK: 'https://docs.devtron.ai/user-guide/ai-recommendations/runbook#add-runbook-spec',
// Software Release Management
SOFTWARE_DISTRIBUTION_HUB: 'usage/software-distribution-hub',
RELEASE_TRACKS: 'usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions',
Expand Down
Loading