Skip to content
Open
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
5bb9c04
feat: REnaming navigation menu
chith-git Sep 15, 2025
e458f05
New root adding for athena
chith-git Sep 18, 2025
465906f
feat:changing targetUrl
chith-git Sep 23, 2025
fa0a892
changing the root
chith-git Sep 25, 2025
01ed8a6
feat: ai chatbot
asika-gadgeon Sep 30, 2025
1ded445
Enabling notification menu
chith-git Oct 6, 2025
8843260
Code formatting
chith-git Oct 6, 2025
2abb058
Adding proxy
chith-git Oct 7, 2025
8950b98
changing the athena root
chith-git Oct 7, 2025
2157880
setting the FEATURE_ASK_DEVTRON_EXPERT= false
chith-git Oct 8, 2025
fec823b
FEATURE_ASK_DEVTRON_EXPERT setting to false
chith-git Oct 8, 2025
993d01c
changing dataTestId
chith-git Oct 15, 2025
f17d41b
chore: misc fixes
arunjaindev Oct 16, 2025
c166317
Notification route changing
chith-git Oct 22, 2025
22da116
adding the Runbook
chith-git Oct 15, 2025
852cb24
audit-log
asika-gadgeon Oct 22, 2025
3f23096
audit-log
asika-gadgeon Oct 22, 2025
0da50ba
audit-logs
asika-gadgeon Oct 21, 2025
eee3642
audit-logs
asika-gadgeon Oct 23, 2025
ba0b42c
version bump
chith-git Oct 27, 2025
1d34caa
Merge remote-tracking branch 'origin/kubecon-2025' into develop-kubec…
chith-git Nov 3, 2025
9753c62
Merge pull request #2978 from devtron-labs/develop-kubecon-devtron
chith-git Nov 3, 2025
d4d2861
version bump
chith-git Nov 3, 2025
7ff0485
graph bug fix update
asika-gadgeon Nov 4, 2025
1cff34a
version bump
chith-git Nov 7, 2025
d13956f
Merge pull request #2983 from devtron-labs/feat/develop-kubecon-merge
chith-git Nov 7, 2025
be95c03
Merge remote-tracking branch 'origin/kubecon-2025' into develop-kubec…
chith-git Nov 7, 2025
0ffc383
Merge pull request #2984 from devtron-labs/develop-kubecon-merge
chith-git Nov 7, 2025
4063bf3
version bump
chith-git Nov 7, 2025
4798753
version bump
chith-git Nov 7, 2025
1888800
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/dashbo…
AbhishekA1509 Nov 7, 2025
c3a99f1
chore: update @devtron-labs/devtron-fe-common-lib to version 1.20.6-p…
AbhishekA1509 Nov 7, 2025
6a28a9b
chore: clean up imports and navigation constants, remove unused AI re…
AbhishekA1509 Nov 10, 2025
88ab364
chore: update @devtron-labs/devtron-fe-common-lib to version 1.20.6-p…
AbhishekA1509 Nov 10, 2025
3f06715
fix: update iframeSrc query parameter to use 'docusaurus-theme' inste…
AbhishekA1509 Nov 10, 2025
19cbc2a
Merge branch 'kubecon-2025' of https://github.com/devtron-labs/dashbo…
AbhishekA1509 Nov 10, 2025
2d3700f
fix: update devtron-fe-common-lib version to 1.20.6-pre-48
AbhishekA1509 Nov 10, 2025
003554e
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Dec 8, 2025
977e202
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Dec 12, 2025
33bac13
fix: update devtron-fe-common-lib version to 1.21.0-beta-13
AbhishekA1509 Dec 16, 2025
010bf6d
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
AbhishekA1509 Dec 16, 2025
a624fac
fix: update devtron-fe-common-lib version to 1.21.1-beta-2 and adjust…
AbhishekA1509 Dec 17, 2025
fe9d3b3
fix: improve license activation handling and loading state management…
AbhishekA1509 Dec 17, 2025
9ab0084
fix: update devtron-fe-common-lib version to 1.21.1-beta-3
AbhishekA1509 Dec 18, 2025
dd14d02
fix: update devtron-fe-common-lib version to 1.21.1-beta-5
AbhishekA1509 Dec 18, 2025
bed26da
fix: update devtron-fe-common-lib version to 1.21.1-beta-7
AbhishekA1509 Dec 19, 2025
d299eb9
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
AbhishekA1509 Dec 19, 2025
a373283
fix: update devtron-fe-common-lib version to 1.22.1
AbhishekA1509 Dec 19, 2025
a1efb7a
Merge pull request #3019 from devtron-labs/feat/saas
AbhishekA1509 Dec 22, 2025
4fd7831
fix: resource browser undefined issues
shivani170 Dec 22, 2025
b5c7d62
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Dec 22, 2025
16956b2
fix: app group && ci config undefined error fox
shivani170 Dec 23, 2025
3fefb47
chore: utils fixes
shivani170 Dec 23, 2025
6c59ada
refactor: app details
arunjaindev Dec 23, 2025
123500b
fix: getNodeSearchKeysOptionsList undefined fix
shivani170 Dec 24, 2025
a9e04e7
fix: undefined handling
shivani170 Dec 24, 2025
cdaf282
fix: status lower case unhandled issue
shivani170 Dec 24, 2025
0cdc6a5
Merge branch 'main' into fix/misc-sentry-undefined
shivani170 Dec 24, 2025
45c89d8
Merge pull request #3025 from devtron-labs/fix/misc-sentry-undefined
shivani170 Dec 24, 2025
c7a402b
fix: improve URL parameter handling for login redirection
arunjaindev Dec 24, 2025
3e87abd
fix: update URL encoding method for continue URL in login component
arunjaindev Dec 24, 2025
4acadb0
fix: update devtron-fe-common-lib version to 1.22.0-beta-1
AbhishekA1509 Dec 24, 2025
e15d5fb
fix: enhance URL parameter handling for login redirection
arunjaindev Dec 24, 2025
7472dc4
chore: version bump
arunjaindev Dec 24, 2025
696c68e
Merge pull request #3028 from devtron-labs/fix/param-redirection
arunjaindev Dec 24, 2025
f67bd2a
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
arunjaindev Dec 24, 2025
62e65ef
Merge pull request #3029 from devtron-labs/fix/param-redirection
arunjaindev Dec 24, 2025
5c1ddd2
feat: temporarily add option from params in selected filters
arunjaindev Dec 26, 2025
3d560d8
refactor: improve code clarity and maintainability in AppDetails and …
arunjaindev Dec 26, 2025
9c04a21
Merge branch 'hotfix-v0.43.0' of https://github.com/devtron-labs/dash…
arunjaindev Dec 26, 2025
1e16c2b
Merge branch 'refactor/app-details' of https://github.com/devtron-lab…
arunjaindev Dec 26, 2025
a37bd69
chore: version bump
arunjaindev Dec 26, 2025
8005003
feat: integrate AI expert feature toggle and update related components
AbhishekA1509 Dec 29, 2025
8aaf99e
fix: remove unused __ATHENA_ROOT__ variable from global window interface
AbhishekA1509 Dec 29, 2025
aeb7589
Merge branch 'main' into refactor/app-details
shivani170 Dec 29, 2025
1ed07fe
Merge branch 'refactor/app-details' into chore/retain-filter
shivani170 Dec 29, 2025
527c113
chore: version bump
shivani170 Dec 29, 2025
e3afb44
Merge pull request #3030 from devtron-labs/chore/retain-filter
shivani170 Dec 29, 2025
3e3e58f
fix: remove unused VITE_ATHENA_ROOT variable and clean up navigation …
AbhishekA1509 Dec 29, 2025
4f6308a
fix: app detail redirection
shivani170 Dec 29, 2025
eee01b5
frat: removed unnecessary code
shivani170 Dec 29, 2025
9739252
chore: app group redirection fix
shivani170 Dec 29, 2025
dcac126
chore: code formatting
shivani170 Dec 29, 2025
8d07f40
chore: fix for trigger cd node redirection
shivani170 Dec 29, 2025
e94ecbd
fix: app group redirection fix for other environment
shivani170 Dec 29, 2025
b48d091
Merge pull request #3031 from devtron-labs/fix/app-details-redrection
shivani170 Dec 30, 2025
ac24133
fix: update devtron-fe-common-lib version to 1.22.0-beta-2
AbhishekA1509 Dec 31, 2025
26fab4a
feat: add new height utility class for 360px
AbhishekA1509 Dec 31, 2025
0d5a426
chore: dix for git info material
shivani170 Dec 31, 2025
ddca819
fix: dockerRegistry null in UpdateTemplateConfig
shivani170 Jan 2, 2026
82b6856
fix: git info material length fix
shivani170 Jan 2, 2026
536503a
fix: updatedParentStateOrHandler optional chain added
shivani170 Jan 2, 2026
c09d2ae
Merge pull request #3032 from devtron-labs/fix/misc-sentry-null
shivani170 Jan 2, 2026
4a8d478
Merge branch 'main' into refactor/app-details
arunjaindev Jan 5, 2026
8967e34
chore: version bump
arunjaindev Jan 5, 2026
6a5e07b
feat: update AIAgentContext handling across components for improved c…
AbhishekA1509 Jan 5, 2026
65fad56
feat: integrate analytics event handling in navigation components and…
arunjaindev Jan 5, 2026
d071817
fix: update devtron-fe-common-lib version to 1.22.0-beta-3
AbhishekA1509 Jan 5, 2026
f0ce228
fix: update devtron-fe-common-lib version to 1.22.0-beta-4 and enhanc…
AbhishekA1509 Jan 5, 2026
ff923fc
feat: enhance app details handling with release mode checks and impro…
arunjaindev Jan 5, 2026
4be042c
refactor: simplify conditional rendering for SecurityVulnerabilityCar…
arunjaindev Jan 5, 2026
bace00c
refactor: update conditional rendering logic in SourceInfo component …
arunjaindev Jan 5, 2026
6d3fe69
refactor: update deployment status query to include pipeline and exte…
arunjaindev Jan 5, 2026
4f09708
chore: parse interval to number
arunjaindev Jan 5, 2026
80528c1
refactor: change queryClient.invalidateQueries to refetchQueries for …
arunjaindev Jan 5, 2026
db85680
refactor: add conditional rendering for ExplainWithAIButton based on …
arunjaindev Jan 6, 2026
bcb489f
refactor: add analytics event tracking for command bar shortcut and b…
arunjaindev Jan 6, 2026
8b2b30e
feat: add FEATURE_ATHENA_DEBUG_MODE_ENABLE flag and integrate AI cont…
AbhishekA1509 Jan 6, 2026
3113da5
feat: enhance AIAgentContext handling across multiple components for …
AbhishekA1509 Jan 6, 2026
e1c684a
fix: update devtron-fe-common-lib version to 1.22.0-beta-5
AbhishekA1509 Jan 6, 2026
fa538be
feat: enhance event explanation formatting in AI context for better r…
AbhishekA1509 Jan 7, 2026
55ad0c3
feat: integrate base event details into AI agent context for enhanced…
AbhishekA1509 Jan 7, 2026
7330135
feat: Add analytics for navigation and command bar interactions and u…
arunjaindev Jan 7, 2026
343bce4
fix: correct prompt formatting in AI context for improved clarity
AbhishekA1509 Jan 7, 2026
eb64def
fix: disable Athena debug mode in environment configuration
AbhishekA1509 Jan 7, 2026
7a4b1fa
Merge pull request #3035 from devtron-labs/feat/navigation-ga
arunjaindev Jan 7, 2026
78b96c1
fix: handle null aiAgentContext in debugAgentContext across multiple …
AbhishekA1509 Jan 7, 2026
21336bc
fix: Add avoidFocusTrap prop to Drawer component in K8sPermissionModal
arunjaindev Jan 8, 2026
0a7de3a
chore: version bump
arunjaindev Jan 8, 2026
e49aa3f
Merge pull request #3037 from devtron-labs/fix/date-picker-focus
arunjaindev Jan 8, 2026
cf701d8
feat: add navigation upgraded dialog
arunjaindev Jan 9, 2026
4213a2a
feat: update CommandBar and NavigationUpgradedDialog components for i…
arunjaindev Jan 12, 2026
1738285
chore: version bump
arunjaindev Jan 12, 2026
76904db
feat: add storage event handling for upgrade dialog visibility in Com…
arunjaindev Jan 12, 2026
8ab498b
Merge pull request #3039 from devtron-labs/feat/navigation-upgraded
arunjaindev Jan 12, 2026
b67f1ff
Merge pull request #3033 from devtron-labs/feat/ai-context
AbhishekA1509 Jan 12, 2026
96070a5
fix: create image on click of Create option
AbhishekA1509 Jan 13, 2026
96fc815
Merge pull request #3040 from devtron-labs/fix/container-image-creation
AbhishekA1509 Jan 13, 2026
aa1de1c
Merge pull request #3036 from devtron-labs/feat/debug-ai
AbhishekA1509 Jan 13, 2026
a951018
fix: improve prompt clarity in debugAgentContext for application status
AbhishekA1509 Jan 13, 2026
dcfac98
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
AbhishekA1509 Jan 14, 2026
b6c471d
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
arunjaindev Jan 15, 2026
70cdc09
feat: enhance CommandBarBackdrop with refetch capability and update A…
arunjaindev Jan 15, 2026
4898c08
Merge pull request #3027 from devtron-labs/refactor/app-details
arunjaindev Jan 15, 2026
15dd814
fix: update prompt wording for clarity in AI context
AbhishekA1509 Jan 15, 2026
0656948
fix: enhance event explanation prompts for clarity and structure
AbhishekA1509 Jan 15, 2026
d55e592
fix: update devtron-fe-common-lib version to 1.22.5-beta-1 and enable…
AbhishekA1509 Jan 15, 2026
cbe05f8
Merge pull request #3043 from devtron-labs/fix/ai-qa
AbhishekA1509 Jan 15, 2026
d7bbb98
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
AbhishekA1509 Jan 15, 2026
4c2081f
fix: update devtron-fe-common-lib version to 1.22.6-beta-1
AbhishekA1509 Jan 20, 2026
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
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE=false
GATEKEEPER_URL=https://license.devtron.ai/dashboard
FEATURE_AI_INTEGRATION_ENABLE=false
LOGIN_PAGE_IMAGE=
FEATURE_ASK_DEVTRON_EXPERT=false
FEATURE_MANAGE_TRAFFIC_ENABLE=false
FEATURE_REDFISH_NODE_ENABLE=false
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE=false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"homepage": "/dashboard",
"dependencies": {
"@devtron-labs/devtron-fe-common-lib": "1.22.0-pre-0",
"@devtron-labs/devtron-fe-common-lib": "1.22.0-beta-2",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@rjsf/core": "^5.13.3",
"@rjsf/utils": "^5.13.3",
Expand Down
28 changes: 23 additions & 5 deletions src/components/Navigation/NavItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, useMemo, useState } from 'react'
import { NavLink, useLocation } from 'react-router-dom'

import { Icon, preventDefault, TreeView } from '@devtron-labs/devtron-fe-common-lib'
import { Icon, TreeView } from '@devtron-labs/devtron-fe-common-lib'

import { NavItemProps } from './types'
import { doesNavigationItemMatchPath, getNavigationTreeNodes } from './utils'
Expand Down Expand Up @@ -57,17 +57,35 @@ export const NavItem = ({ hasSearchText, ...navItem }: NavItemProps) => {
)
}

const renderContent = () => (
<>
<Icon name={icon} color="white" />
<span className="fs-13 lh-20 text__sidenav">{title}</span>
</>
)

// Handle disabled items or items without href
if (disabled || !href) {
return (
<div
data-testid={dataTestId}
className="nav-item flex left dc__gap-8 px-8 py-6 br-4 dc__disabled"
aria-disabled
>
{renderContent()}
</div>
)
}

return (
<NavLink
to={href}
data-testid={dataTestId}
className={`nav-item flex left dc__gap-8 px-8 py-6 br-4 ${disabled ? 'dc__disabled' : ''}`}
className="nav-item flex left dc__gap-8 px-8 py-6 br-4"
activeClassName="is-selected fw-6"
aria-disabled={disabled}
onClick={disabled ? preventDefault : undefined}
>
<Icon name={icon} color="white" />
<span className="fs-13 lh-20 text__sidenav">{title}</span>
{renderContent()}
</NavLink>
)
}
8 changes: 0 additions & 8 deletions src/components/Navigation/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,6 @@ const NAVIGATION_LIST: NavigationGroupType[] = [
href: '/dummy-url',
disabled: true,
},
{
title: 'Runbook Automation',
dataTestId: 'runbook-automation',
id: 'automation-and-enablement-runbook-automation',
icon: 'ic-book-open',
href: '/dummy-url',
disabled: true,
},
],
},
...(DATA_PROTECTION_MANAGEMENT_NAV_GROUP ? [DATA_PROTECTION_MANAGEMENT_NAV_GROUP] : []),
Expand Down
17 changes: 14 additions & 3 deletions src/components/Navigation/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ import {

const getNavigationTreeItems = (items: NavigationItemType['subItems']) =>
items
.filter(({ forceHideEnvKey, hideNav }) => (forceHideEnvKey ? window._env_[forceHideEnvKey] : !hideNav))
.filter(({ forceHideEnvKey, hideNav, href }) => {
// Filter out items with undefined href
if (!href) {
return false
}
return forceHideEnvKey ? window._env_[forceHideEnvKey] : !hideNav
})
.map<TreeNode>(({ title, id, href, disabled }) => ({
id,
title,
Expand Down Expand Up @@ -67,7 +73,7 @@ export const filterNavigationItems = (
}

// remove trailing slashes
const normalize = (p: string) => p.replace(/\/+$/, '')
const normalize = (p: string) => p?.replace(/\/+$/, '') || ''

/**
* Checks if a given path is under a base path
Expand All @@ -76,6 +82,11 @@ const normalize = (p: string) => p.replace(/\/+$/, '')
* @returns True if the path is under the base path
*/
const isSubPath = (basePath: string, targetPath: string) => {
// Return false if basePath is undefined or null
if (!basePath) {
return false
}

// Ensure both paths start with a single "/"
const _basePath = normalize(basePath)
const _targetPath = normalize(targetPath)
Expand All @@ -102,7 +113,7 @@ export const doesNavigationItemMatchPath = (
return navItem.subItems.some((subItem) => !subItem.disabled && doesNavigationItemMatchPath(subItem, pathname))
}

return !navItem.disabled && isSubPath(item.href, pathname)
return !navItem.disabled && item.href && isSubPath(item.href, pathname)
}

/**
Expand Down
5 changes: 4 additions & 1 deletion src/components/common/SidePanel/SidePanelContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
Icon,
ImageType,
SidePanelTab,
useMainContext,
} from '@devtron-labs/devtron-fe-common-lib'

import { ReactComponent as ICMaintenance } from '@Images/ic-maintenance.svg'
Expand All @@ -40,6 +41,8 @@ import { getContentWrapperClassNameForTab, renderOpenTicketButton } from './util
const AIChat = importComponentFromFELibrary('AIChat', null, 'function')

export const SidePanelContent = ({ onClose, setSidePanelConfig, sidePanelConfig }: SidePanelContentProps) => {
const { featureAskDevtronExpert } = useMainContext()

const tab = sidePanelConfig.state as SidePanelTab

const renderAIChat = () => {
Expand All @@ -53,7 +56,7 @@ export const SidePanelContent = ({ onClose, setSidePanelConfig, sidePanelConfig
)
}

if (!window._env_?.FEATURE_ASK_DEVTRON_EXPERT) {
if (!featureAskDevtronExpert) {
return (
<GenericEmptyState
title="AI Integration not configured"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const SidePanelDocumentation = ({ SidePanelHeaderActions }: SidePanelCont
const iframeKeyRef = useRef<string | null>(`${docLink}-${getUniqueId()}`)

// CONSTANTS
const iframeSrc = `${docLink}${docLink.includes('?') ? `&theme=${appTheme}` : `?theme=${appTheme}`}`
const iframeSrc = `${docLink}${docLink.includes('?') ? `&docusaurus-theme=${appTheme}` : `?docusaurus-theme=${appTheme}`}`

useEffect(() => {
/**
Expand Down
71 changes: 42 additions & 29 deletions src/components/common/navigation/NavigationRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ const AIResponseWidget = importComponentFromFELibrary('AIResponseWidget', null,
const EnterpriseRouter = importComponentFromFELibrary('EnterpriseRouter', null, 'function')
const CostVisibilityRenderProvider: FunctionComponent<CostVisibilityRenderProviderProps> | null =
importComponentFromFELibrary('CostVisibilityRenderProvider', null, 'function')
const AIRecommendations = importComponentFromFELibrary('AIRecommendations', null, 'function')
const AIChatProvider = importComponentFromFELibrary('AIChatProvider', null, 'function')

const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesTypes>) => {
const history = useHistory()
Expand Down Expand Up @@ -412,6 +414,8 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
result.devtronManagedLicensingEnabled ?? ENVIRONMENT_DATA_FALLBACK.devtronManagedLicensingEnabled,
isResourceRecommendationEnabled:
result.isResourceRecommendationEnabled ?? ENVIRONMENT_DATA_FALLBACK.isResourceRecommendationEnabled,
featureAskDevtronExpert:
result.featureAskDevtronExpert ?? ENVIRONMENT_DATA_FALLBACK.featureAskDevtronExpert,
}
} catch {
return ENVIRONMENT_DATA_FALLBACK
Expand Down Expand Up @@ -441,6 +445,7 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
canFetchHelmAppStatus: environmentDataResponse.canFetchHelmAppStatus,
devtronManagedLicensingEnabled: environmentDataResponse.devtronManagedLicensingEnabled,
isResourceRecommendationEnabled: environmentDataResponse.isResourceRecommendationEnabled,
featureAskDevtronExpert: environmentDataResponse.featureAskDevtronExpert,
})

setServerMode(serverModeResponse)
Expand Down Expand Up @@ -701,6 +706,7 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
)}
{EnterpriseRouter && CostVisibilityRenderProvider && (
<Route
key="enterprise-router"
path={[
CommonURLS.APPLICATION_MANAGEMENT,
CommonURLS.COST_VISIBILITY,
Expand Down Expand Up @@ -729,6 +735,39 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
)
}

const renderMainBody = () => (
<motion.main id={DEVTRON_BASE_MAIN_ID} style={{ gridTemplateColumns }}>
{!isOnboardingPage && (
<Navigation
showStackManager={showStackManager}
isAirgapped={isAirgapped}
serverMode={serverMode}
moduleInInstallingState={moduleInInstallingState}
installedModuleMap={installedModuleMap}
pageState={pageState}
/>
)}
<>
<motion.div
className={`main flexbox-col bg__primary dc__position-rel ${appTheme === AppThemeType.light ? 'dc__no-border' : 'border__primary-translucent'} br-6 dc__overflow-hidden mt-8 mb-8 ml-8 ${sidePanelConfig.state === 'closed' ? 'mr-8' : ''}`}
ref={navRouteRef}
>
{renderMainContent()}
</motion.div>

<SidePanel asideWidth={asideWidth} />
</>
{showThemeSwitcherDialog && (
<SwitchThemeDialog
initialThemePreference={userPreferences?.themePreference}
handleClose={handleCloseSwitchThemeDialog}
handleUpdateUserThemePreference={handleUpdateUserThemePreference}
/>
)}
{renderAboutDevtronDialog()}
</motion.main>
)

return (
<MainContextProvider
value={{
Expand Down Expand Up @@ -766,6 +805,7 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
licenseData,
setLicenseData,
canFetchHelmAppStatus: environmentDataState.canFetchHelmAppStatus,
featureAskDevtronExpert: environmentDataState.featureAskDevtronExpert,
reloadVersionConfig,
intelligenceConfig,
setIntelligenceConfig,
Expand All @@ -779,39 +819,12 @@ const NavigationRoutes = ({ reloadVersionConfig }: Readonly<NavigationRoutesType
isGrafanaModuleInstalled && environmentDataState.isResourceRecommendationEnabled,
tempAppWindowConfig,
setTempAppWindowConfig,
AIRecommendations,
}}
>
<ConfirmationModalProvider>
<BaseConfirmationModal />
<motion.main id={DEVTRON_BASE_MAIN_ID} style={{ gridTemplateColumns }}>
{!isOnboardingPage && (
<Navigation
showStackManager={showStackManager}
isAirgapped={isAirgapped}
serverMode={serverMode}
moduleInInstallingState={moduleInInstallingState}
installedModuleMap={installedModuleMap}
pageState={pageState}
/>
)}
<>
<motion.div
className={`main flexbox-col bg__primary dc__position-rel ${appTheme === AppThemeType.light ? 'dc__no-border' : 'border__primary-translucent'} br-6 dc__overflow-hidden mt-8 mb-8 ml-8 ${sidePanelConfig.state === 'closed' ? 'mr-8' : ''}`}
ref={navRouteRef}
>
{renderMainContent()}
</motion.div>
<SidePanel asideWidth={asideWidth} />
</>
{showThemeSwitcherDialog && (
<SwitchThemeDialog
initialThemePreference={userPreferences?.themePreference}
handleClose={handleCloseSwitchThemeDialog}
handleUpdateUserThemePreference={handleUpdateUserThemePreference}
/>
)}
{renderAboutDevtronDialog()}
</motion.main>
{AIChatProvider ? <AIChatProvider>{renderMainBody()}</AIChatProvider> : renderMainBody()}
</ConfirmationModalProvider>
</MainContextProvider>
)
Expand Down
1 change: 1 addition & 0 deletions src/components/common/navigation/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const COMMON_ENV_FALLBACK: Omit<EnvironmentDataValuesDTO, 'isAirGapEnvironment'>
canFetchHelmAppStatus: false,
devtronManagedLicensingEnabled: false,
isResourceRecommendationEnabled: false,
featureAskDevtronExpert: false,
}

export const ENVIRONMENT_DATA_FALLBACK: EnvironmentDataValuesDTO = {
Expand Down
4 changes: 4 additions & 0 deletions src/css/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3437,6 +3437,10 @@ button.anchor {
height: 300px !important;
}

.h-360 {
height: 360px !important;
}

.h-365 {
height: 365px !important;
}
Expand Down
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ if (!window || !window._env_) {
GATEKEEPER_URL: 'https://license.devtron.ai/dashboard',
FEATURE_AI_INTEGRATION_ENABLE: true,
LOGIN_PAGE_IMAGE: '',
FEATURE_ASK_DEVTRON_EXPERT: false,
FEATURE_MANAGE_TRAFFIC_ENABLE: true,
FEATURE_REDFISH_NODE_ENABLE: false,
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE: false,
Expand Down
5 changes: 4 additions & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ const jsToBottomNoModule = () => {
export default defineConfig(({ mode }) => {
const secretsEnv = loadEnv('secrets', process.cwd(), '')
const targetUrl = secretsEnv.VITE_TARGET_URL ?? TARGET_URL

process.env = { ...process.env, ...loadEnv(mode, process.cwd(), ''), ...secretsEnv }

const baseConfig: UserConfig = {
Expand Down Expand Up @@ -275,6 +274,10 @@ export default defineConfig(({ mode }) => {
target: targetUrl,
changeOrigin: true,
},
'/proxy': {
target: targetUrl,
changeOrigin: true,
},
'/grafana': targetUrl,
},
},
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1729,9 +1729,9 @@ __metadata:
languageName: node
linkType: hard

"@devtron-labs/devtron-fe-common-lib@npm:1.22.0-pre-0":
version: 1.22.0-pre-0
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.22.0-pre-0"
"@devtron-labs/devtron-fe-common-lib@npm:1.22.0-beta-2":
version: 1.22.0-beta-2
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.22.0-beta-2"
dependencies:
"@codemirror/autocomplete": "npm:6.18.6"
"@codemirror/lang-json": "npm:6.0.1"
Expand Down Expand Up @@ -1785,7 +1785,7 @@ __metadata:
react-select: 5.8.0
rxjs: ^7.8.1
yaml: ^2.4.1
checksum: 10c0/c0e6254f202d2beac314185caf563674e367769057ae9c6ef4053f44b8a93851f9d6943b027adc65d42321be442ec6440f86d31bb58ceb166374d3476cdf81a5
checksum: 10c0/01afa9776f529db4280dbfb8aff10d434c46c22447f19297fe75fed00aa805b618f0974f9543388cefb80104e32d1fb72e0972c716a61d2843789edbdf310a73
languageName: node
linkType: hard

Expand Down Expand Up @@ -5599,7 +5599,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "dashboard@workspace:."
dependencies:
"@devtron-labs/devtron-fe-common-lib": "npm:1.22.0-pre-0"
"@devtron-labs/devtron-fe-common-lib": "npm:1.22.0-beta-2"
"@esbuild-plugins/node-globals-polyfill": "npm:0.2.3"
"@playwright/test": "npm:^1.32.1"
"@rjsf/core": "npm:^5.13.3"
Expand Down