V2Wizard: Update copy on empty state

This updates copy on empty state when no packages are found with "Available" and "Included repos" toggled.

Copy on "Selected" and "Other repos" was also updated.
This commit is contained in:
regexowl 2024-04-24 16:01:55 +02:00 committed by Lucas Garfield
parent 817a813107
commit 7124a6e2e6

View file

@ -264,12 +264,11 @@ const Packages = () => {
<Bullseye>
<EmptyState variant={EmptyStateVariant.sm}>
<EmptyStateHeader
titleText="No selected packages"
titleText="No selected packages in Other repos"
headingLevel="h4"
/>
<EmptyStateBody>
There are no selected packages in Other repos. Try looking under
&quot;
Try looking under &quot;
<Button
variant="link"
onClick={() => setToggleSourceRepos('toggle-included-repos')}
@ -300,8 +299,8 @@ const Packages = () => {
headingLevel="h4"
/>
<EmptyStateBody>
Adjust your search and try again, or search from your
repositories and popular repositories
Adjust your search and try again, or search in other
repositories (your repositories and popular repositories).
</EmptyStateBody>
<EmptyStateFooter>
<EmptyStateActions>
@ -314,17 +313,20 @@ const Packages = () => {
</EmptyStateActions>
<EmptyStateActions>
<Button
className="pf-u-pt-md"
variant="link"
isInline
component="a"
target="_blank"
iconPosition="right"
icon={<ExternalLinkAltIcon />}
href={
isBeta()
? '/preview/insights/content'
: '/insights/content'
}
>
View other repositories
Manage your repositories and popular repositories
</Button>
</EmptyStateActions>
</EmptyStateFooter>