Skip to content

Commit 450099a

Browse files
committed
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-lib into feat/segmented-control
2 parents 2655a63 + 3822516 commit 450099a

Some content is hidden

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

60 files changed

+1284
-70
lines changed

package-lock.json

Lines changed: 234 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.9.5",
3+
"version": "1.9.8",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",
@@ -108,6 +108,7 @@
108108
"@replit/codemirror-indentation-markers": "6.5.3",
109109
"@replit/codemirror-vscode-keymap": "6.0.2",
110110
"@types/react-dates": "^21.8.6",
111+
"@xyflow/react": "12.4.2",
111112
"@uiw/codemirror-extensions-hyper-link": "4.23.10",
112113
"@uiw/codemirror-theme-github": "4.23.7",
113114
"@uiw/react-codemirror": "4.23.7",

src/Assets/IconV2/ic-card-stack.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/IconV2/ic-copy.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/IconV2/ic-new.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Common/Constants.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export const PATTERNS = {
4949
ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: /^[A-Za-z0-9._/-]+$/, // allow alphanumeric,(.) ,(-),(_),(/)
5050
}
5151

52+
const GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP = '/global-config/templates/devtron-apps'
53+
5254
export const URLS = {
5355
LOGIN_SSO: '/login/sso',
5456
PERMISSION_GROUPS: '/global-config/auth/groups',
@@ -79,8 +81,14 @@ export const URLS = {
7981
NETWORK_STATUS_INTERFACE: '/network-status-interface',
8082
RESOURCE_BROWSER: '/resource-browser',
8183
COMPARE_CLUSTERS: '/compare-clusters',
84+
APP_CONFIG: 'edit',
85+
GLOBAL_CONFIG: '/global-config',
8286
CONFIG_DRIFT: 'config-drift',
83-
}
87+
GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP,
88+
GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: `${GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP}/create`,
89+
// NOTE: using appId since we are re-using AppConfig component
90+
GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: `${GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP}/detail/:appId`,
91+
} as const
8492

8593
export const ROUTES = {
8694
APP: 'app',
@@ -140,8 +148,9 @@ export const ROUTES = {
140148
CD_TRIGGER_POST: 'app/cd-pipeline/trigger',
141149
DELETE_RESOURCE: 'k8s/resource/delete',
142150
NODE_CAPACITY: 'k8s/capacity/node',
151+
RESOURCE_TEMPLATE: 'resource/template',
143152
ENVIRONMENT_DATA: 'global/environment-variables',
144-
}
153+
} as const
145154

146155
export enum KEY_VALUE {
147156
KEY = 'key',

0 commit comments

Comments
 (0)