Skip to content

Commit 063d533

Browse files
authored
fix(ws): Improve Workspace Creation Wizard Step Descriptions (#452)
Signed-off-by: Jenny <[email protected]> Changes to step descriptions based on feedback
1 parent 9815278 commit 063d533

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

workspaces/frontend/src/app/pages/Workspaces/Form/WorkspaceForm.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
ProgressStep,
1010
ProgressStepper,
1111
Stack,
12+
StackItem,
1213
} from '@patternfly/react-core';
1314
import useGenericObjectState from '~/app/hooks/useGenericObjectState';
1415
import { useNotebookAPI } from '~/app/hooks/useNotebookAPI';
@@ -30,10 +31,12 @@ enum WorkspaceFormSteps {
3031
}
3132

3233
const stepDescriptions: { [key in WorkspaceFormSteps]?: string } = {
33-
[WorkspaceFormSteps.KindSelection]: 'Select a workspace kind to use for the workspace.',
34+
[WorkspaceFormSteps.KindSelection]:
35+
'A workspace kind is a template for creating a workspace, which is an isolated area where you can work with models in your preferred IDE, such as Jupyter Notebook.',
3436
[WorkspaceFormSteps.ImageSelection]:
35-
'Select a workspace image and image version to use for the workspace.',
36-
[WorkspaceFormSteps.PodConfigSelection]: 'Select a pod config to use for the workspace.',
37+
'Select a workspace image and image version to use for the workspace. A workspace image is a container image that contains the software and dependencies needed to run a workspace.',
38+
[WorkspaceFormSteps.PodConfigSelection]:
39+
'Select a pod config to use for the workspace. A pod config is a configuration that defines the resources and settings for a workspace.',
3740
[WorkspaceFormSteps.Properties]: 'Configure properties for your workspace.',
3841
};
3942

@@ -167,7 +170,6 @@ const WorkspaceForm: React.FC = () => {
167170
<FlexItem>
168171
<Content>
169172
<h1>{`${mode === 'create' ? 'Create' : 'Edit'} workspace`}</h1>
170-
<p>{stepDescriptions[currentStep]}</p>
171173
</Content>
172174
</FlexItem>
173175
<FlexItem>
@@ -211,6 +213,9 @@ const WorkspaceForm: React.FC = () => {
211213
</ProgressStepper>
212214
</FlexItem>
213215
</Flex>
216+
<StackItem>
217+
<p>{stepDescriptions[currentStep]}</p>
218+
</StackItem>
214219
</Stack>
215220
</PageSection>
216221
</PageGroup>

0 commit comments

Comments
 (0)