Skip to content

Commit

Permalink
HMS-4126: update some strings
Browse files Browse the repository at this point in the history
Update some UI text for correctness or clarity.
  • Loading branch information
frasertweedale committed May 15, 2024
1 parent 0cbdf84 commit 5eb013b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,19 @@ const AutoJoinChangeConfirmDialog: React.FC<AutoJoinChangeConfirmDialogProps> =
text = (
<div>
<p>Are you sure you want to disable domain auto-join?</p>
<p>Disabling will avoid new hosts to join the domain &quot;{domain.title}&quot; using domain auto-join on launch.</p>
<p>
Disabling will prevent new systems from automatically joining the domain <strong>&quot;{domain.title}&quot;</strong>.
</p>
</div>
);
} else {
title = `Enable domain auto-join on launch`;
text = (
<div>
<p>Are you sure you want to enable domain auto-join?</p>
<p>Enabling will allow new hosts to join the domain &quot;{domain.title}&quot; using domain auto-join on launch.</p>
<p>
Enabling will allow new systems to automatically join the domain <strong>&quot;{domain.title}&quot;</strong>.
</p>
</div>
);
}
Expand Down
3 changes: 2 additions & 1 deletion src/Components/ConfirmDeleteDomain/ConfirmDeleteDomain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const ConfirmDeleteDomain: React.FC<ConfirmDeleteDomainProps> = (props) => {
</Button>,
]}
>
No new host enrollment from HCC will be allowed on <b>{props.domain?.title || ''}</b> domain after registration deletion.
Hosts will be unable to automatically join the domain
<b> {props.domain?.title || ''}</b> after deletion.
</Modal>
);
};
Expand Down
8 changes: 4 additions & 4 deletions src/Routes/DefaultPage/DefaultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Header = () => {
<PageHeader>
<PageHeaderTitle title={title} />
<p>
Manage registered identity domains to leverage host access controls from your existing identity and access management.{' '}
Register identity and access management systems to enable machines to automatically join a domain.{' '}
<Button
component="a"
target="_blank"
Expand All @@ -50,7 +50,7 @@ const Header = () => {
href={linkLearnMoreAbout}
ouiaId="LinkDefaultLearnMoreAbout1"
>
Learn more about the domain registry.
Learn more about the Directory and Domain Services registry.
</Button>
</p>
</PageHeader>
Expand Down Expand Up @@ -88,8 +88,8 @@ const EmptyContent = () => {
<EmptyStateBody>
<Stack>
<StackItem className="pf-v5-u-pt-sm">
Use host access controls from your existing identity domains in your
<br /> cloud environment*. To get started, register an identity domain.
Register an identity domain to enable systems to
<br /> automatically join the domain on launch.
</StackItem>
<StackItem className="pf-v5-u-pt-md">
<RegisterDomainButton />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const PagePreparation = (props: PagePreparationProps) => {
steps to install the server packages
</Button>
<ClipboardCopy hoverTip="copy" clickTip="Copied" isReadOnly ouiaId="TextPagePreparationInstallPackage">
dnf copr enable @podengo/ipa-hcc && dnf install ipa-hcc-server
dnf install ipa-hcc-server
</ClipboardCopy>
</TextContent>
<TextContent className="pf-v5-u-pt-md">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ const PageServiceRegistration = (props: PageServiceRegistrationProp) => {
<ol>
<li className="pf-v5-u-ml-md">
<TextContent>
Register your Red Hat IdM domain with the Red Hat Hybrid Cloud Console by running the following command in a terminal on your Red Hat
IdM server.
Register your Red Hat IdM domain with the Red Hat Hybrid Cloud Console by running the following command as <code>root</code> in a
terminal on your Red Hat IdM server, and following the prompts.
</TextContent>
<ClipboardCopy hoverTip="copy" clickTip="Copied" isReadOnly ouiaId="TextWizardRegistrationRegister">
{ipa_hcc_register_cmd}
</ClipboardCopy>
</li>
<li className="pf-v5-u-ml-md pf-v5-u-pt-md">
<TextContent>Once the processes have been completed, run a verification test.</TextContent>
<TextContent>After the command completes, verify the registration was successful.</TextContent>
</li>
</ol>
</Form>
Expand Down

0 comments on commit 5eb013b

Please sign in to comment.