CreateImageWizard: Update Wizard description to match UI design

Changes the Wizard's description (defined in the schema) to `Image
builder allows you to create a custom image and push it to target
environments` as indicated in the UI design prototype. The previous
description (`Create a RHEL image and push it to cloud providers`)
is no longer accurate since CentOS images are also currently supported.
This commit is contained in:
lucasgarfield 2022-03-03 12:02:11 +01:00 committed by jkozol
parent 0c9b0f1070
commit db9bb31887

View file

@ -2,8 +2,7 @@ import React from 'react';
import ImageCreator from './ImageCreator';
import { useNavigate } from 'react-router-dom';
import componentTypes from '@data-driven-forms/react-form-renderer/component-types';
import { Button } from '@patternfly/react-core';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
import DocumentationButton from '../sharedComponents/DocumentationButton';
import './CreateImageWizard.scss';
import { useDispatch } from 'react-redux';
import api from '../../api';
@ -246,18 +245,7 @@ const CreateImageWizard = () => {
showTitles: true,
title: 'Create image',
crossroads: [ 'target-environment', 'release' ],
description: <>Create a RHEL image and push it to cloud providers. <Button
component="a"
target="_blank"
variant="link"
icon={ <ExternalLinkAltIcon /> }
iconPosition="right"
isInline
href="
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/uploading_a_customized_rhel_system_image_to_cloud_environments/index
">
Documentation
</Button></>,
description: <>Image builder allows you to create a custom image and push it to target environments. <DocumentationButton /></>,
// order in this array does not reflect order in wizard nav, this order is managed inside
// of each step by `nextStep` property!
fields: [