diff --git a/ui/src/cmsData/legacyCms.json b/ui/src/cmsData/legacyCms.json index f3359ecc9..08ef2bfd7 100644 --- a/ui/src/cmsData/legacyCms.json +++ b/ui/src/cmsData/legacyCms.json @@ -350,7 +350,7 @@ "uid": "cs7c935e15de9ea7c8" }, "title": "File Format", - "description": "Click to read the document and subsequently continue with migration process.", + "description": "The file format compatible with the above cms is as follows.", "step_lock_text": "Editing this step is currently disabled. To make changes in Draft mode, please deactivate the migration.", "lock": false, "active": true, @@ -362,7 +362,7 @@ "uid": "cs0279f1f0ce13e83e" }, "title": "Imported File", - "description": "Select File to upload CMS Data.", + "description": "The uploaded file is as follows.", "step_lock_text": "Editing this step is currently disabled. To make changes in Draft mode, please deactivate the migration.", "lock": false, "active": true, diff --git a/ui/src/components/Common/Card/card.tsx b/ui/src/components/Common/Card/card.tsx index 178e68d20..fc0a9b7e1 100644 --- a/ui/src/components/Common/Card/card.tsx +++ b/ui/src/components/Common/Card/card.tsx @@ -1,4 +1,4 @@ -import { Icon, Radio, Tooltip } from '@contentstack/venus-components'; +import { Icon, Paragraph, Radio, Tooltip } from '@contentstack/venus-components'; import { MouseEvent, useState } from 'react'; import WordWrapper from '../WordWrapper/WordWrapper'; import { addDomainInPath } from '../../../utilities/functions'; @@ -72,7 +72,7 @@ const Card = ({ data, selectedCard, onCardClick, cardType, idField = 'id' }: Car
- +
); diff --git a/ui/src/components/DestinationStack/index.tsx b/ui/src/components/DestinationStack/index.tsx index f6ee5591b..81c411022 100644 --- a/ui/src/components/DestinationStack/index.tsx +++ b/ui/src/components/DestinationStack/index.tsx @@ -215,6 +215,7 @@ const DestinationStackComponent = ({ description={migrationData?.destinationStackData?.description} ref={autoVerticalStepperComponent} isEdit={!isMigrationLocked} + isRequired={false} handleOnAllStepsComplete={handleAllStepsComplete} /> diff --git a/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx b/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx index 4843f6680..4838fc988 100644 --- a/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx +++ b/ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx @@ -101,7 +101,7 @@ const LoadFileFormat = (props: LoadFileFormatProps) => { return (
-
+
{validateArray(allowed_file_formats) ? ( allowed_file_formats?.map((data: ICardType, index: number) => (
diff --git a/ui/src/components/LegacyCms/Actions/LoadSelectCms.tsx b/ui/src/components/LegacyCms/Actions/LoadSelectCms.tsx index e35afc5f0..906eb3c88 100644 --- a/ui/src/components/LegacyCms/Actions/LoadSelectCms.tsx +++ b/ui/src/components/LegacyCms/Actions/LoadSelectCms.tsx @@ -204,7 +204,7 @@ const LoadSelectCms = (props: LoadSelectCmsProps) => { : ( cmsData && validateArray(cmsData) && ( -
+
{cmsData?.map((data: ICMSType) => ( void; }; @@ -76,7 +76,7 @@ const AutoVerticalStepper = React.forwardRef< } }; - const StepperStepTitleCreator: (data: any) => JSX.Element = (data: any) => { + const StepperStepTitleCreator: (data: any,isRequired:boolean) => JSX.Element = (data: any, isRequired:boolean) => { const showSpan = data?.title == 'Orgnization' ? (read only) : '' return ( <> @@ -84,6 +84,8 @@ const AutoVerticalStepper = React.forwardRef<
+ {isRequired && } + {data?.ifReadonly && (read only)}
{data.titleNote ? data.titleNote : ''} @@ -153,7 +155,6 @@ const AutoVerticalStepper = React.forwardRef< const getStepStatus = (idx: number) => { return stepStatus[idx]; }; - return (
{props?.description &&
{props?.description}
} @@ -173,7 +174,7 @@ const AutoVerticalStepper = React.forwardRef< style={{ paddingBottom: '10px' }} >
- {StepperStepTitleCreator(step)} + {StepperStepTitleCreator(step, props?.isRequired)}