Skip to content

Commit f685f95

Browse files
committed
chore: version bump & host url info text change
1 parent 56d3a20 commit f685f95

File tree

6 files changed

+12
-17
lines changed

6 files changed

+12
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.11.0-pre-8",
7+
"@devtron-labs/devtron-fe-common-lib": "1.11.0-pre-9",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/components/app/details/triggerView/TriggerView.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,7 @@ import { getHostURLConfiguration } from '../../../../services/service'
7272
import { ReactComponent as CloseIcon } from '../../../../assets/icons/ic-close.svg'
7373
import { getCIWebhookRes } from './ciWebhook.service'
7474
import { TriggerViewContext } from './config'
75-
import {
76-
DEFAULT_ENV,
77-
TIME_STAMP_ORDER,
78-
TRIGGER_VIEW_PARAMS,
79-
TRIGGER_VIEW_GA_EVENTS,
80-
} from './Constants'
75+
import { DEFAULT_ENV, TIME_STAMP_ORDER, TRIGGER_VIEW_PARAMS, TRIGGER_VIEW_GA_EVENTS } from './Constants'
8176
import {
8277
APP_DETAILS,
8378
CI_CONFIGURED_GIT_MATERIAL_ERROR,
@@ -1422,8 +1417,8 @@ class TriggerView extends Component<TriggerViewProps, TriggerViewState> {
14221417
renderHostErrorMessage() {
14231418
if (!this.state.hostURLConfig || this.state.hostURLConfig.value !== window.location.origin) {
14241419
return (
1425-
<div className="mb-6">
1426-
<InValidHostUrlWarningBlock />
1420+
<div className="mb-16">
1421+
<InValidHostUrlWarningBlock />
14271422
</div>
14281423
)
14291424
}

src/components/common/helpers/Helpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ export const setAppGroupFilterInLocalStorage = ({
12381238
}
12391239

12401240
const renderHostURLWarning = () => (
1241-
<div>
1241+
<div className='flexbox dc__content-space'>
12421242
{HOST_ERROR_MESSAGE.NotConfigured} &nbsp;
12431243
<Link className="dc__link-bold" to={URLS.GLOBAL_CONFIG_HOST_URL}>
12441244
{HOST_ERROR_MESSAGE.Review}

src/components/workflowEditor/workflowEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ class WorkflowEdit extends Component<WorkflowEditProps, WorkflowEditState> {
839839
renderHostErrorMessage() {
840840
if (!this.state.hostURLConfig || this.state.hostURLConfig.value !== window.location.origin) {
841841
return (
842-
<div className="mb-6">
842+
<div className="mb-16">
843843
<InValidHostUrlWarningBlock />
844844
</div>
845845
)

src/config/constantMessaging.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,6 @@ export const DUPLICATE_PIPELINE_NAME_VALIDATION = 'You cannot use same name for
441441
export const GENERATE_TOKEN_NAME_VALIDATION = 'Token name is required to generate token'
442442

443443
export const HOST_ERROR_MESSAGE = {
444-
NotConfigured: 'Host url is not configured or is incorrect. Reach out to your DevOps team (super-admin) to',
445-
Review: 'Review and update',
444+
NotConfigured: 'Host URL is missing or incorrect. Please contact a super admin.',
445+
Review: 'Review & update',
446446
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,10 +1126,10 @@
11261126
dependencies:
11271127
"@jridgewell/trace-mapping" "0.3.9"
11281128

1129-
"@devtron-labs/[email protected]8":
1130-
version "1.11.0-pre-8"
1131-
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.11.0-pre-8.tgz#4105fefb2d782ac219230f371231ed40fa5ba94c"
1132-
integrity sha512-PvMqHMBzryBvpo23mkwFvCYpybHR0RwioeY5gdan0n9psAb6hue0upAxflezMe6Rm4AJslFTvaIbY758eQvczA==
1129+
"@devtron-labs/[email protected]9":
1130+
version "1.11.0-pre-9"
1131+
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.11.0-pre-9.tgz#17377b4bc671923134bf6ade08aeb5d194d8ffb3"
1132+
integrity sha512-KvdoTo7KvEK5sIT/NWbJZlbxlTla8WUUQ2BzRQsIU5QU/0IEw6gqyPslZDzMKDZvaErrWqODRyo3ZG1PedLolg==
11331133
dependencies:
11341134
"@codemirror/lang-json" "6.0.1"
11351135
"@codemirror/lang-yaml" "6.1.2"

0 commit comments

Comments
 (0)