Skip to content

Commit 8329bce

Browse files
authored
Microcopy updates for maas wizard (opendatahub-io#6949)
* Microcopy updates for maas wizard * Small word fix
1 parent 0021af2 commit 8329bce

3 files changed

Lines changed: 19 additions & 9 deletions

File tree

packages/maas/frontend/src/odh/modelServingExtensions/modelDeploymentWizard/MaaSEndpointCheckbox.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ const MaaSField: React.FC<MaaSFieldProps> = ({ id, value, onChange, isDisabled }
3636
data-testid={id}
3737
label={
3838
<>
39-
<div className="pf-v6-c-form__label-text">Publish as MaaS endpoint</div>
39+
<div className="pf-v6-c-form__label-text">Publish as MaaS</div>
4040
<Flex>
4141
<FlexItem>
42-
Enable users in any namespace to access this model by adding its endpoint to the{' '}
43-
<span className="pf-v6-c-form__label-text">Models as a service</span> page. This
44-
is best for production models.
42+
Publishing as MaaS makes the model deployment endpoint accessible to others as a
43+
service through a gateway API.
4544
</FlexItem>
4645
<Label isCompact color="yellow" variant="outline">
4746
Tech preview

packages/model-serving/src/components/deploymentWizard/fields/ModelAvailabilityFields.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ export const AvailableAiAssetsFieldsComponent: React.FC<AvailableAiAssetsFieldsC
101101
data-testid="save-as-ai-asset-checkbox"
102102
label={
103103
<>
104-
<div className="pf-v6-c-form__label-text">Add as AI asset endpoint</div>
104+
<div className="pf-v6-c-form__label-text">Publish as AI asset endpoint</div>
105105
<Flex>
106106
<FlexItem>
107-
Enable users in your namespace to test this model in the playground by adding
108-
its endpoint to the{' '}
109-
<span className="pf-v6-c-form__label-text">AI asset endpoints</span> page.
107+
Publishing as an AI asset endpoint allows users with access to your project to
108+
test the model in the{' '}
109+
<span className="pf-v6-c-form__label-text">Playground</span>.
110110
</FlexItem>
111111
<Label isCompact color="yellow" variant="outline">
112112
Tech preview

packages/model-serving/src/components/deploymentWizard/steps/AdvancedOptionsStep.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import {
1212
StackItem,
1313
Alert,
1414
FormGroup,
15+
FormHelperText,
1516
FormSection,
17+
HelperText,
18+
HelperTextItem,
1619
Spinner,
1720
} from '@patternfly/react-core';
1821
import { ExternalRouteField } from '../fields/ExternalRouteField';
@@ -118,10 +121,18 @@ export const AdvancedSettingsStepContent: React.FC<AdvancedSettingsStepContentPr
118121
{wizardState.state.modelAvailability.showField && (
119122
<StackItem>
120123
<FormGroup
121-
label="Model playground availability"
124+
label="Model availability"
122125
data-testid="model-playground-availability"
123126
fieldId="model-playground-availability"
124127
>
128+
<FormHelperText className="pf-v6-u-mb-md">
129+
<HelperText>
130+
<HelperTextItem>
131+
Make this model available to other users by publishing it on the{' '}
132+
<b>AI asset endpoints</b> page.
133+
</HelperTextItem>
134+
</HelperText>
135+
</FormHelperText>
125136
<AvailableAiAssetsFieldsComponent
126137
data={wizardState.state.modelAvailability.data}
127138
setData={wizardState.state.modelAvailability.setData}

0 commit comments

Comments
 (0)