Skip to content

chore: merge rc-v0.34.0 #2673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 119 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
a281a57
feat: add support for skipping hibernated apps in bulk deploy
arunjaindev Apr 2, 2025
802b722
chore: add check for scoop on skip checkbox
arunjaindev Apr 2, 2025
e52bbe7
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
arunjaindev Apr 3, 2025
93af745
chore: update yarn.lock
arunjaindev Apr 3, 2025
4b482b7
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
arunjaindev Apr 3, 2025
bdc8331
update the configfile
Apr 6, 2025
6abf455
fix: improve import/export order across modules via eslint-plugin-sim…
RohitRaj011 Apr 8, 2025
6819d2f
chore: update vite to version 5.4.17
RohitRaj011 Apr 8, 2025
98ba115
Merge pull request #2636 from devtron-labs/fix/dependabot-issues
RohitRaj011 Apr 8, 2025
5cb4c13
Merge branch 'develop' of github.com:devtron-labs/dashboard into fix/…
RohitRaj011 Apr 8, 2025
48a9bb6
chore: common-lib version bump
RohitRaj011 Apr 8, 2025
2d03669
Merge pull request #2634 from devtron-labs/fix/sort-imports
RohitRaj011 Apr 8, 2025
f620653
feat: enhance gzip configuration in nginx for improved performance
AbhishekA1509 Apr 9, 2025
45c1c43
feat: add vite-plugin-compression2 to add brotli compression through …
AbhishekA1509 Apr 9, 2025
28cea02
Merge pull request #2642 from devtron-labs/feat/enable-nginx-caching
AbhishekA1509 Apr 9, 2025
3d04baa
chore: kube config logic for bulk cluster selection implementation
shivani170 Apr 9, 2025
b460dd7
chore: unreachable cluster ui
shivani170 Apr 9, 2025
47e3ae6
chore: cluster list icon modification
shivani170 Apr 10, 2025
e2ad8a0
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
arunjaindev Apr 10, 2025
540a1f9
chore: GA event added for kube config modal
shivani170 Apr 10, 2025
d44370a
chore: css fix
shivani170 Apr 10, 2025
ddc3a4c
chore: reachable cluster select disable
shivani170 Apr 10, 2025
59edc9d
chore: kubeconfig modal update
shivani170 Apr 10, 2025
dc706e3
fix: retry failed apps
arunjaindev Apr 10, 2025
71b33dc
chore: UAT fixes
shivani170 Apr 10, 2025
d1187e4
chore: kubeconfig ilogic fix
shivani170 Apr 10, 2025
8566017
chore: rename helm status available flag
arunjaindev Apr 10, 2025
e59935f
chore: use structured clone for initial state
arunjaindev Apr 10, 2025
8542271
Merge branch 'develop' into config_file_update
arunjaindev Apr 10, 2025
3b8709d
Update config.md
neha130 Apr 10, 2025
9b4d222
Update config.md
neha130 Apr 10, 2025
0cfc577
Update config.md
neha130 Apr 10, 2025
f416b8a
Update config.md
neha130 Apr 10, 2025
34cf77c
Merge pull request #2630 from devtron-labs/config_file_update
neha130 Apr 10, 2025
a96ef25
feat: add checkbox in pre and post cd as well
arunjaindev Apr 10, 2025
6c7fb4d
chore: update error message
arunjaindev Apr 10, 2025
965fbb3
Merge branch 'develop' into feat/skip-hibernated-deploy
arunjaindev Apr 10, 2025
95b81c4
chore: version bump
arunjaindev Apr 10, 2025
c8bba6e
chore: token update in color palette of v300
shivani170 Apr 10, 2025
aa7fb57
chore: removed kubeconfig modal component
shivani170 Apr 10, 2025
f550273
chore: unnecesssary component removed
shivani170 Apr 10, 2025
4240986
Merge branch 'main' of github.com:devtron-labs/dashboard into chore/s…
RohitRaj011 Apr 11, 2025
de1c231
Merge pull request #2647 from devtron-labs/chore/sync-develop-with-main
RohitRaj011 Apr 11, 2025
d172b52
chore: add h-18--imp
AbhishekA1509 Apr 13, 2025
2216f10
chore: move getTimeDifference params to obj
AbhishekA1509 Apr 13, 2025
688c2ce
chore: code refactoring
shivani170 Apr 13, 2025
d8fe9bd
chore: format time.ts
AbhishekA1509 Apr 13, 2025
36def1c
Merge branch 'develop' into feat/poll-release-status
AbhishekA1509 Apr 13, 2025
5741798
chore: update fe-common to 1.11.0-beta-1
AbhishekA1509 Apr 13, 2025
0df64e9
chore: code refactoring
shivani170 Apr 14, 2025
6d15e13
Merge branch 'develop' into feat/bulk-kubeconfig
shivani170 Apr 14, 2025
25f3c64
add runtimeCaching in vitePWA
AbhishekA1509 Apr 14, 2025
801a0a1
Merge branch 'develop' into feat/skip-hibernated-deploy
AbhishekA1509 Apr 14, 2025
51e337c
Merge pull request #2613 from devtron-labs/feat/skip-hibernated-deploy
AbhishekA1509 Apr 14, 2025
bd775a6
chore: code refactoring
shivani170 Apr 14, 2025
12a95ca
chore: code refactoring
shivani170 Apr 14, 2025
7aee30f
Merge branch 'develop' into feat/poll-release-status
AbhishekA1509 Apr 14, 2025
49779e1
chore: update common-lib to 1.11.0-beta-4
AbhishekA1509 Apr 14, 2025
88b0471
chore: checkboc logic moved to fe lib
shivani170 Apr 14, 2025
8d5e03e
Merge branch 'develop' into feat/bulk-kubeconfig
shivani170 Apr 14, 2025
a5eb583
chore: selectedClusterName value reset on close
shivani170 Apr 14, 2025
29ef069
chore: code refactoring
shivani170 Apr 14, 2025
ed628f5
chore: replacement with generic button
shivani170 Apr 14, 2025
c905ef3
fix: identifier count for filtered list
shivani170 Apr 14, 2025
9d168f7
chore: update common version to 1.11.0-pre-2
AbhishekA1509 Apr 14, 2025
133b812
Merge pull request #2648 from devtron-labs/feat/poll-release-status
AbhishekA1509 Apr 14, 2025
d18ea96
chore: button added for the redirection of env override
shivani170 Apr 14, 2025
4194d64
chore: renaming of variable
shivani170 Apr 14, 2025
f33613e
chore: GA event added
shivani170 Apr 15, 2025
78295f9
Merge branch 'develop' into feat/bulk-kubeconfig
shivani170 Apr 15, 2025
c757752
chore: version bump
shivani170 Apr 15, 2025
96ade6f
fix: remove https and ssh validation in git repository
AbhishekA1509 Apr 15, 2025
ee81c5b
chore: version bump
shivani170 Apr 15, 2025
2ce6e0b
chore: version bump
shivani170 Apr 15, 2025
aa6b7ac
feat: TriggerView - Webhook Node - add image button UI
RohitRaj011 Apr 15, 2025
2dcb316
Merge pull request #2643 from devtron-labs/feat/bulk-kubeconfig
shivani170 Apr 15, 2025
1528f90
Merge branch 'develop' into feat/navigate-to-env-overide
shivani170 Apr 15, 2025
a9fc015
Merge pull request #2653 from devtron-labs/feat/webhook-external-image
AbhishekA1509 Apr 15, 2025
3aa9a01
fix: add check for starts with http in create material
AbhishekA1509 Apr 15, 2025
656c7a7
chore: text update
shivani170 Apr 15, 2025
f4cdeeb
feat: add authentication type radio button
arunjaindev Apr 15, 2025
6a6df6a
chore: fix
shivani170 Apr 15, 2025
7971ec1
feat: TriggerView, EnvTriggerView - integrate webhook add image modal
RohitRaj011 Apr 15, 2025
dee3f44
Merge branch 'feat/six-pm-release' of github.com:devtron-labs/dashboa…
RohitRaj011 Apr 15, 2025
71c1c36
chore: add fallback for credential type
arunjaindev Apr 15, 2025
74d4999
feat: hide user name password for anonymous
arunjaindev Apr 15, 2025
ea08525
feat: do not send username password in case of anonymous
arunjaindev Apr 15, 2025
cb9869f
Merge pull request #2655 from devtron-labs/feat/webhook-external-image
AbhishekA1509 Apr 15, 2025
5552518
Merge pull request #2654 from devtron-labs/feat/authentication-type
arunjaindev Apr 15, 2025
3438925
chore: GA event for app metrics
shivani170 Apr 15, 2025
4cf6c3b
type added for react GA evnt
shivani170 Apr 15, 2025
ffd50e2
chore: code formatting & type added in date time picker
shivani170 Apr 15, 2025
da5e940
chore: common-lib version bump
RohitRaj011 Apr 15, 2025
6b5cc51
Merge pull request #2649 from devtron-labs/feat/navigate-to-env-overide
shivani170 Apr 15, 2025
596461a
Merge branch 'fix-ng-changes' into fix-ng-changes-develop
AbhishekA1509 Apr 16, 2025
6ffd517
fix/ webhook generic header rendering conditionally
shivani170 Apr 16, 2025
7bd35c6
chore: version bump
shivani170 Apr 16, 2025
24eca2d
chore: code refactoring
shivani170 Apr 16, 2025
b898915
Merge pull request #2657 from devtron-labs/fix/webhook-generic-info-h…
shivani170 Apr 16, 2025
cffa5e3
refactor: update addImageButtonConfig to addImageButtonClick
RohitRaj011 Apr 16, 2025
6cd239d
refactor: not rendering WebhookAddImageModal if other route based mod…
RohitRaj011 Apr 16, 2025
c93bc02
refactor: improve rendering logic for WebhookAddImageModal based on l…
RohitRaj011 Apr 16, 2025
0fd7b03
Merge pull request #2658 from devtron-labs/fix/webhook-external-image
RohitRaj011 Apr 16, 2025
828a277
fix: add overflow hidden in expanded status to cater absence of overf…
AbhishekA1509 Apr 16, 2025
57660f8
feat: rename credentialType key to registryCredentialsType
arunjaindev Apr 17, 2025
01d955d
fix: registry is updated without password
arunjaindev Apr 17, 2025
0db233c
chore: remove useTabs v1 to v2 migration
Elessar1802 Apr 21, 2025
3577bf9
Merge branch 'develop' into fix/expanded-app-list-safari
AbhishekA1509 Apr 21, 2025
deee3a7
Merge pull request #2664 from devtron-labs/chore/rm-use-tabs-migration
Elessar1802 Apr 21, 2025
5c5d8e3
Merge branch 'develop' into fix/expanded-app-list-safari
AbhishekA1509 Apr 21, 2025
3dc0ee3
Merge pull request #2661 from devtron-labs/chore/rename-credentials-key
arunjaindev Apr 21, 2025
301d009
Merge pull request #2660 from devtron-labs/fix/expanded-app-list-safari
AbhishekA1509 Apr 21, 2025
b46ea9f
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Apr 21, 2025
6d135b5
Merge pull request #2665 from devtron-labs/fix-ng-changes-develop
AbhishekA1509 Apr 21, 2025
d624242
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
arunjaindev Apr 21, 2025
f942e25
feat: hide migrate to devtron in template view
arunjaindev Apr 21, 2025
b29a73a
Merge pull request #2666 from devtron-labs/chore/sync-activate-license
arunjaindev Apr 21, 2025
c4a1b9c
Merge branch 'main' of github.com:devtron-labs/dashboard into rc-merg…
RohitRaj011 Apr 25, 2025
b21057a
chore: common-lib version bump
RohitRaj011 Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 23 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
* limitations under the License.
*/

const tsconfigPath = require('./tsconfig.json')

module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'react', 'prettier', 'import'],
plugins: ['@typescript-eslint', 'react', 'prettier', 'import', 'simple-import-sort'],
env: {
browser: true,
es2021: true,
Expand Down Expand Up @@ -112,6 +114,26 @@ module.exports = {
'import/named': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'error',
'simple-import-sort/imports': [
'error',
{
groups: [
// Packages `react` related packages and external packages.
['^react', '^@?\\w'],
// Devtron packages
['^@devtron-labs'],
// Internal packages.
[...Object.keys(tsconfigPath.compilerOptions.paths).map((alias) => alias.replace('/*', ''))],
// Side effect imports.
['^\\u0000'],
// Put same-folder imports, `..` and `.` last. Other relative imports.
['^\\.\\.(?!/?$)', '^\\.\\./?$', '^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$',],
// Style imports.
[ '^.+\\.?(css|scss)$'],
],
},
],
'simple-import-sort/exports': 'error',
},
overrides: [
{
Expand Down
4 changes: 4 additions & 0 deletions config.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@
| TRIGGER_API_TIMEOUT | 60000 | Default timeout for all API requests for Trigger calls (Deploy artifacts, charts) in DASHBOARD |
| FEATURE_HIDE_USER_DIRECT_PERMISSIONS_FOR_NON_SUPER_ADMINS | "true" | Would hide the user direct permissions for non-super admin users in User Permissions |
| FEATURE_ACTION_AUDIOS_ENABLE | true | Would enable audios in dashboard |
| FEATURE_EXTERNAL_FLUX_CD_ENABLE | false | To enable flux cd option in app list page |
| FEATURE_BULK_RESTART_WORKLOADS_FROM_RB | deployment,rollout,daemonset,statefulset | Enables the bulk operations in the resource browser for specific workload type. |
| FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE | false | If enabled user can pass the manual gitops repo |
| SENTRY_RELEASE_VERSION | | Sentry release Version |

# DASHBOARD CONFIG SECRET
8 changes: 8 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ http {
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;

gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;
gzip_vary on;
gzip_min_length 1024;
gzip_proxied any;
gzip_comp_level 6;
gzip_static on;

include /etc/nginx/conf.d/*.conf;
}
6 changes: 4 additions & 2 deletions 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.11.2",
"@devtron-labs/devtron-fe-common-lib": "1.12.0",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@rjsf/core": "^5.13.3",
"@rjsf/utils": "^5.13.3",
Expand Down Expand Up @@ -42,7 +42,7 @@
"rxjs": "^7.5.4",
"sockjs-client": "1.6.1",
"tippy.js": "^6.3.7",
"vite": "5.4.14",
"vite": "5.4.17",
"vite-plugin-require-transform": "1.0.21",
"vite-plugin-svgr": "^2.4.0",
"xterm": "^4.19.0",
Expand Down Expand Up @@ -111,6 +111,7 @@
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^7.0.4",
"jest-extended": "^2.0.0",
Expand All @@ -129,6 +130,7 @@
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"vite-plugin-compression2": "^1.3.3",
"vite-plugin-image-optimizer": "^1.1.8",
"vite-plugin-pwa": "^0.21.1",
"vite-tsconfig-paths": "5.0.1"
Expand Down
5 changes: 4 additions & 1 deletion src/Pages/App/CreateAppModal/AppToCloneSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@
* limitations under the License.
*/

import { useState } from 'react'

import {
AppSelectorNoOptionsMessage as appSelectorNoOptionsMessage,
ComponentSizeType,
InfoBlock,
SelectPicker,
SelectPickerProps,
} from '@devtron-labs/devtron-fe-common-lib'

import { appListOptions } from '@Components/AppSelector/AppSelectorUtil'
import { useState } from 'react'

import { AppToCloneSelectorProps } from './types'

const AppToCloneSelector = ({ isJobView, error, handleCloneIdChange }: AppToCloneSelectorProps) => {
Expand Down
9 changes: 6 additions & 3 deletions src/Pages/App/CreateAppModal/ApplicationInfoForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@
* limitations under the License.
*/

import { ChangeEvent } from 'react'

import { CustomInput, TagsContainer, Textarea } from '@devtron-labs/devtron-fe-common-lib'
import { ReactComponent as ICDevtronApp } from '@Icons/ic-devtron-app.svg'

import { ReactComponent as ICCaretLeftSmall } from '@Icons/ic-caret-left-small.svg'
import { ChangeEvent } from 'react'
import { ReactComponent as ICDevtronApp } from '@Icons/ic-devtron-app.svg'
import { importComponentFromFELibrary } from '@Components/common'
import { APP_TYPE } from '@Config/constants'

import AppToCloneSelector from './AppToCloneSelector'
import ProjectSelector from './ProjectSelector'
import {
ApplicationInfoFormProps,
Expand All @@ -29,7 +33,6 @@ import {
HandleFormStateChangeParamsType,
ProjectSelectorProps,
} from './types'
import AppToCloneSelector from './AppToCloneSelector'

const MandatoryTagsContainer = importComponentFromFELibrary('MandatoryTagsContainer', null, 'function')

Expand Down
28 changes: 15 additions & 13 deletions src/Pages/App/CreateAppModal/CreateAppModal.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

import { useEffect, useMemo, useState } from 'react'
import { useHistory } from 'react-router-dom'

import {
Button,
ButtonStyleType,
Expand All @@ -28,17 +31,21 @@ import {
validateTagKeyValue,
validateTagValue,
} from '@devtron-labs/devtron-fe-common-lib'
import { useEffect, useMemo, useState } from 'react'
import { getHostURLConfiguration } from '@Services/service'

import { ReactComponent as ICAppTemplate } from '@Icons/ic-app-template.svg'
import { ReactComponent as ICBack } from '@Icons/ic-caret-left-small.svg'
import { importComponentFromFELibrary } from '@Components/common'
import { saveHostURLConfiguration } from '@Components/hostURL/hosturl.service'
import { createJob } from '@Components/Jobs/Service'
import { APP_COMPOSE_STAGE, getAppComposeURL, URLS } from '@Config/routes'
import { useHistory } from 'react-router-dom'
import { REQUIRED_FIELDS_MISSING } from '@Config/constants'
import { importComponentFromFELibrary } from '@Components/common'
import { ReactComponent as ICBack } from '@Icons/ic-caret-left-small.svg'
import { ReactComponent as ICAppTemplate } from '@Icons/ic-app-template.svg'
import { APP_COMPOSE_STAGE, getAppComposeURL, URLS } from '@Config/routes'
import { getHostURLConfiguration } from '@Services/service'

import ApplicationInfoForm from './ApplicationInfoForm'
import { createAppInitialFormErrorState, createAppInitialFormState } from './constants'
import HeaderSection from './HeaderSection'
import { createApp } from './service'
import Sidebar from './Sidebar'
import {
ApplicationInfoFormProps,
CreateAppFormErrorStateType,
Expand All @@ -47,13 +54,8 @@ import {
CreateAppModalProps,
CreationMethodType,
} from './types'
import { createAppInitialFormErrorState, createAppInitialFormState } from './constants'
import { getCreateMethodConfig, validateAppName, validateCloneApp, validateProject } from './utils'
import { createApp } from './service'
import ApplicationInfoForm from './ApplicationInfoForm'
import HeaderSection from './HeaderSection'
import Sidebar from './Sidebar'
import UpdateTemplateConfig from './UpdateTemplateConfig'
import { getCreateMethodConfig, validateAppName, validateCloneApp, validateProject } from './utils'

import './styles.scss'

Expand Down
2 changes: 2 additions & 0 deletions src/Pages/App/CreateAppModal/HeaderSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

import { Button, ButtonStyleType, ButtonVariantType, ComponentSizeType } from '@devtron-labs/devtron-fe-common-lib'

import { ReactComponent as ICClose } from '@Icons/ic-close.svg'

import { HeaderSectionProps } from './types'

const HeaderSection = ({ isJobView, handleClose, isCloseDisabled }: HeaderSectionProps) => (
Expand Down
2 changes: 2 additions & 0 deletions src/Pages/App/CreateAppModal/ProjectSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import {
SelectPickerProps,
useGetResourceKindsOptions,
} from '@devtron-labs/devtron-fe-common-lib'

import { ReactComponent as ICFolderColor } from '@Icons/ic-folder-color.svg'

import { CreateAppFormStateType, ProjectSelectorProps } from './types'

const ProjectSelector = ({ selectedProjectId, handleProjectIdChange, error }: ProjectSelectorProps) => {
Expand Down
2 changes: 2 additions & 0 deletions src/Pages/App/CreateAppModal/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

import { ModalSidebarPanel } from '@devtron-labs/devtron-fe-common-lib'

import { DOCUMENTATION } from '@Config/constants'

import { CreationMethodType, SidebarProps } from './types'

const Sidebar = ({
Expand Down
4 changes: 2 additions & 2 deletions src/Pages/App/CreateAppModal/UpdateTemplateConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

import { noop } from '@devtron-labs/devtron-fe-common-lib'

import MaterialList from '@Components/material/MaterialList'
import CIConfig from '@Components/ciConfig/CIConfig'
import { CIConfigProps } from '@Components/ciConfig/types'
import { DockerConfigOverrideKeys } from '@Components/ciPipeline/types'
import { MaterialListProps } from '@Components/material/material.types'
import MaterialList from '@Components/material/MaterialList'

import { Workflow, WorkflowProps } from './Workflow'
import { CreateAppFormStateActionType, UpdateTemplateConfigProps } from './types'
import { Workflow, WorkflowProps } from './Workflow'

const parentState: CIConfigProps['parentState'] = {
loadingState: null,
Expand Down
3 changes: 2 additions & 1 deletion src/Pages/App/CreateAppModal/Workflow/Workflow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import { useEffect, useState } from 'react'

import {
APIResponseHandler,
GenericEmptyState,
Expand All @@ -29,6 +30,7 @@ import {
import { getCreateWorkflows } from '@Components/app/details/triggerView/workflow.service'
import { getEnvironmentListMin } from '@Services/service'

import { HandleNodeUpdateActionProps, NodeUpdateActionType, WorkflowProps } from './types'
import {
getCDNodeIcon,
getPipelineIdFromNodeId,
Expand All @@ -37,7 +39,6 @@ import {
getWorkflowGraphVisualizerNodes,
getWorkflowLinkedCDNodes,
} from './utils'
import { HandleNodeUpdateActionProps, NodeUpdateActionType, WorkflowProps } from './types'

export const Workflow = ({ templateId, onChange, workflowIdToErrorMessageMap }: WorkflowProps) => {
// STATES
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/App/CreateAppModal/Workflow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
* limitations under the License.
*/

export * from './Workflow'
export type { WorkflowProps } from './types'
export * from './Workflow'
8 changes: 4 additions & 4 deletions src/Pages/App/CreateAppModal/Workflow/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import {
WorkflowType,
} from '@devtron-labs/devtron-fe-common-lib'

import { ReactComponent as ICCi } from '@Icons/ic-CI.svg'
import { ReactComponent as ICCD } from '@Icons/ic-CD.svg'
import { ReactComponent as ICCi } from '@Icons/ic-CI.svg'
import { ReactComponent as ICCIWebhook } from '@Icons/ic-CIWebhook.svg'
import { ReactComponent as ICNodeBuildLinked } from '@Icons/ic-node-build-linked.svg'
import { ReactComponent as ICWarning } from '@Icons/ic-warning.svg'
import { ReactComponent as ICError } from '@Icons/ic-error.svg'
import { ReactComponent as ICJobNode } from '@Icons/ic-job-node.svg'
import { ReactComponent as ICLinkedCD } from '@Icons/ic-linked-cd.svg'
import { ReactComponent as ICNodeBuildLinked } from '@Icons/ic-node-build-linked.svg'
import { ReactComponent as ICPaperRocket } from '@Icons/ic-paper-rocket.svg'
import { ReactComponent as ICError } from '@Icons/ic-error.svg'
import { ReactComponent as ICWarning } from '@Icons/ic-warning.svg'
import { createClusterEnvGroup } from '@Components/common'

import {
Expand Down
1 change: 1 addition & 0 deletions src/Pages/App/CreateAppModal/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import { getEmptyTagTableRow } from '@devtron-labs/devtron-fe-common-lib'

import { CreateAppFormErrorStateType, CreateAppFormStateType } from './types'

export const createAppInitialFormState: CreateAppFormStateType = {
Expand Down
1 change: 1 addition & 0 deletions src/Pages/App/CreateAppModal/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import { post } from '@devtron-labs/devtron-fe-common-lib'

import { Routes } from '@Config/constants'

export const createApp = (request) => post(Routes.APP, request)
7 changes: 5 additions & 2 deletions src/Pages/App/CreateAppModal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@
* limitations under the License.
*/

import { SyntheticEvent } from 'react'

import {
ButtonProps,
DynamicDataTableCellErrorType,
DynamicDataTableRowType,
SelectPickerProps,
TagsTableColumnsType,
} from '@devtron-labs/devtron-fe-common-lib'
import { SyntheticEvent } from 'react'
import { GitMaterialType } from '@Components/material/material.types'

import { CIConfigProps } from '@Components/ciConfig/types'
import { GitMaterialType } from '@Components/material/material.types'

import { getCreateMethodConfig } from './utils'

interface CreateAppWorkflowConfigType {
Expand Down
6 changes: 4 additions & 2 deletions src/Pages/App/CreateAppModal/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
* limitations under the License.
*/

import { MAX_LENGTH_30 } from '@Config/constantMessaging'
import { PATTERNS } from '@Config/constants'
import { Icon, IconsProps, SelectPickerOptionType, ValidationResponseType } from '@devtron-labs/devtron-fe-common-lib'

import { importComponentFromFELibrary } from '@Components/common'
import { MAX_LENGTH_30 } from '@Config/constantMessaging'
import { PATTERNS } from '@Config/constants'

import { CreateAppFormStateType, CreateAppModalProps, CreationMethodType } from './types'

const isFELibAvailable: boolean = importComponentFromFELibrary('isFELibAvailable', null, 'function')
Expand Down
22 changes: 12 additions & 10 deletions src/Pages/App/Details/ExternalFlux/ExternalFluxAppDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,27 @@
* limitations under the License.
*/

import { useEffect, useState } from 'react'
import { useParams } from 'react-router-dom'

import {
AppType,
DeploymentAppTypes,
ERROR_STATUS_CODE,
ErrorScreenManager,
IndexStore,
useMainContext,
DeploymentAppTypes,
showError,
ResponseType,
noop,
ERROR_STATUS_CODE,
ResponseType,
showError,
useMainContext,
} from '@devtron-labs/devtron-fe-common-lib'
import { useEffect, useState } from 'react'
import { useParams } from 'react-router-dom'
import { ExternalFluxAppDetailParams } from './types'
import { getExternalFluxCDAppDetails } from './service'

import { FluxCDTemplateType } from '../../../../components/app/list-new/AppListType'
import AppDetailsComponent from '../../../../components/v2/appDetails/AppDetails.component'
import { getAppStatus } from './utils'
import { AppDetails } from '../../../../components/v2/appDetails/appDetails.type'
import { getExternalFluxCDAppDetails } from './service'
import { ExternalFluxAppDetailParams } from './types'
import { getAppStatus } from './utils'

let initTimer = null

Expand Down
Loading