Skip to content

Commit 9a5334f

Browse files
committed
chore: import documentation url from common
1 parent 71e165d commit 9a5334f

File tree

45 files changed

+74
-136
lines changed

Some content is hidden

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

45 files changed

+74
-136
lines changed

src/Pages/App/CreateAppModal/Sidebar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { getDocumentationUrl, ModalSidebarPanel } from '@devtron-labs/devtron-fe-common-lib'
18-
19-
import { DOCUMENTATION } from '@Config/constants'
17+
import { DOCUMENTATION, getDocumentationUrl, ModalSidebarPanel } from '@devtron-labs/devtron-fe-common-lib'
2018

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

src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfig.utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ import {
2020
AppConfigProps,
2121
BASE_CONFIGURATION_ENV_ID,
2222
ConfigResourceType,
23+
DOCUMENTATION,
2324
getDocumentationUrl,
2425
ResourceKindType,
2526
stringComparatorBySortOrder,
2627
URLS as CommonURLS,
2728
} from '@devtron-labs/devtron-fe-common-lib'
2829

29-
import { APP_COMPOSE_STAGE, DOCUMENTATION, getAppComposeURL, URLS } from '@Config/index'
30+
import { APP_COMPOSE_STAGE, getAppComposeURL, URLS } from '@Config/index'
3031

3132
import { AppConfigStatusItemType, EnvConfigDTO } from '../../service.types'
3233
import { AppConfigState, AppStageUnlockedType, CustomNavItemsType, EnvConfigType, STAGE_NAME } from './AppConfig.types'

src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/constants.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { SelectPickerOptionType } from '@devtron-labs/devtron-fe-common-lib'
18-
19-
import { DOCUMENTATION } from '@Config/constants'
17+
import { DOCUMENTATION, SelectPickerOptionType } from '@devtron-labs/devtron-fe-common-lib'
2018

2119
export const PROTECT_BASE_DEPLOYMENT_TEMPLATE_IDENTIFIER_DTO = 'BaseDeploymentTemplate' as const
2220

src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/EnvironmentOverrideRouter.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
ConfirmationDialog,
2222
DeleteConfirmationModal,
2323
DocLink,
24+
DOCUMENTATION,
2425
EnvResourceType,
2526
getEnvironmentListMinPublic,
2627
InfoBlock,
@@ -40,7 +41,7 @@ import { ReactComponent as More } from '../../../../../../assets/icons/ic-more-o
4041
import warn from '../../../../../../assets/icons/ic-warning.svg'
4142
import { createClusterEnvGroup, usePrevious } from '../../../../../../components/common'
4243
import { RESOURCE_ACTION_MENU } from '../../../../../../components/ResourceBrowser/Constants'
43-
import { DOCUMENTATION, URLS } from '../../../../../../config'
44+
import { URLS } from '../../../../../../config'
4445
import { addJobEnvironment, deleteJobEnvironment, getCIConfig } from '../../../../../../services/service'
4546
import { AppConfigState, JobEnvOverrideRouteProps } from '../AppConfig.types'
4647
import { useAppConfigurationContext } from '../AppConfiguration.provider'

src/Pages/GlobalConfigurations/Authorization/APITokens/CreateAPIToken.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Moment } from 'moment'
2222

2323
import {
2424
CustomInput,
25+
DOCUMENTATION,
2526
InfoIconTippy,
2627
ServerErrors,
2728
showError,
@@ -33,7 +34,7 @@ import {
3334

3435
import { ReactComponent as Error } from '../../../../assets/icons/ic-warning.svg'
3536
import { importComponentFromFELibrary } from '../../../../components/common'
36-
import { DOCUMENTATION, REQUIRED_FIELDS_MISSING } from '../../../../config'
37+
import { REQUIRED_FIELDS_MISSING } from '../../../../config'
3738
import { API_COMPONENTS } from '../../../../config/constantMessaging'
3839
import { createOrUpdateUser } from '../authorization.service'
3940
import { getDefaultUserStatusAndTimeout } from '../libUtils'

src/Pages/GlobalConfigurations/Authorization/PermissionGroups/List/PermissionGroupListHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import {
2020
Button,
2121
ButtonComponentType,
2222
ComponentSizeType,
23+
DOCUMENTATION,
2324
FeatureTitleWithInfo,
2425
SearchBar,
2526
useMainContext,
2627
} from '@devtron-labs/devtron-fe-common-lib'
2728

2829
import { ReactComponent as PlusIcon } from '../../../../../assets/icons/ic-add.svg'
29-
import { DOCUMENTATION } from '../../../../../config'
3030
import ExportPermissionGroupsToCsv from './ExportPermissionGroupsToCsv'
3131
import { PermissionGroupListHeaderProps } from './types'
3232

src/Pages/GlobalConfigurations/Authorization/SSOLoginServices/SSOLogin.component.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import {
3737
ConfirmationModalVariantType,
3838
CustomInput,
3939
DEFAULT_SECRET_PLACEHOLDER,
40+
DOCUMENTATION,
4041
ErrorScreenManager,
4142
FeatureTitleWithInfo,
4243
InfoBlock,
@@ -60,7 +61,7 @@ import {
6061
} from '@Components/common'
6162

6263
import { withGlobalConfiguration } from '../../../../components/globalConfigurations/GlobalConfigurationProvider'
63-
import { DOCUMENTATION, HEADER_TEXT, SwitchItemValues, URLS, ViewType } from '../../../../config'
64+
import { HEADER_TEXT, SwitchItemValues, URLS, ViewType } from '../../../../config'
6465
import {
6566
AUTHORIZATION_CONFIG_TYPES,
6667
autoAssignPermissionsFlowActiveProviders,

src/Pages/GlobalConfigurations/Authorization/UserPermissions/List/UserPermissionListHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ import {
2020
Button,
2121
ButtonComponentType,
2222
ComponentSizeType,
23+
DOCUMENTATION,
2324
FeatureTitleWithInfo,
2425
SearchBar,
2526
useMainContext,
2627
} from '@devtron-labs/devtron-fe-common-lib'
2728

2829
import { ReactComponent as PlusIcon } from '../../../../../assets/icons/ic-add.svg'
2930
import { importComponentFromFELibrary } from '../../../../../components/common'
30-
import { DOCUMENTATION } from '../../../../../config'
3131
import ExportUserPermissionsToCsv from './ExportUserPermissionsToCsv'
3232
import { UserPermissionListHeaderProps } from './types'
3333

src/Pages/GlobalConfigurations/DeploymentCharts/List/DeploymentChartsList.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import DOMPurify from 'dompurify'
2020
import {
2121
APIResponseHandler,
2222
DocLink,
23+
DOCUMENTATION,
2324
EMPTY_STATE_STATUS,
2425
GenericEmptyState,
2526
GenericFilterEmptyState,
@@ -36,7 +37,6 @@ import { ReactComponent as ICDevtronApp } from '@Icons/ic-devtron-app.svg'
3637
import { ReactComponent as ICFolderZip } from '@Icons/ic-folder-zip.svg'
3738
import emptyCustomChart from '@Images/ic-empty-custom-charts.webp'
3839
import { importComponentFromFELibrary } from '@Components/common'
39-
import { DOCUMENTATION } from '@Config/constants'
4040

4141
import { DeploymentChartsListSortableKeys } from '../types'
4242
import DeploymentChartsListHeader from './DeploymentChartsListHeader'

src/Pages/GlobalConfigurations/DeploymentCharts/List/DeploymentChartsListHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { InfoIconTippy, SearchBar } from '@devtron-labs/devtron-fe-common-lib'
17+
import { DOCUMENTATION, InfoIconTippy, SearchBar } from '@devtron-labs/devtron-fe-common-lib'
1818

19-
import { CUSTOM_CHART_TITLE_DESCRIPTION_CONTENT, DOCUMENTATION } from '@Config/constants'
19+
import { CUSTOM_CHART_TITLE_DESCRIPTION_CONTENT } from '@Config/constants'
2020

2121
import { DeploymentChartsListHeaderProps } from '../types'
2222
import UploadButton from './UploadButton'

0 commit comments

Comments
 (0)