Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Onboarding] Add tech preview badges to onboarding flows #196926

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="apple" size="m" />
</EuiFlexItem>,
<EuiFlexItem grow={false}>
</ExtraLabelBadgeWrapper>,
<ExtraLabelBadgeWrapper>
<LogoIcon logo="linux" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand All @@ -79,6 +79,7 @@ export function useCustomCardsForCategory(
version: '',
integration: '',
isQuickstart: true,
release: 'preview',
},
{
id: 'otel-logs',
Expand All @@ -98,12 +99,12 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="apple" size="m" />
</EuiFlexItem>,
<EuiFlexItem grow={false}>
</ExtraLabelBadgeWrapper>,
<ExtraLabelBadgeWrapper>
<LogoIcon logo="linux" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand All @@ -116,6 +117,7 @@ export function useCustomCardsForCategory(
version: '',
integration: '',
isQuickstart: true,
release: 'preview',
},
];

Expand All @@ -139,9 +141,9 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="kubernetes" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand All @@ -154,6 +156,7 @@ export function useCustomCardsForCategory(
version: '',
integration: '',
isQuickstart: true,
release: 'preview',
},
{
id: 'otel-kubernetes',
Expand All @@ -173,9 +176,9 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="kubernetes" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand Down Expand Up @@ -356,3 +359,11 @@ export function useCustomCardsForCategory(
return undefined;
}
}

function ExtraLabelBadgeWrapper({ children }: { children: React.ReactNode }) {
return (
<EuiFlexItem grow={false} css={{ alignSelf: 'center' }}>
{children}
</EuiFlexItem>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const AutoDetectPage = () => (
'This installation scans your host and auto-detects log and metric files.',
}
)}
isTechnicalPreview={true}
/>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const KubernetesPage = () => (
'This installation is tailored for configuring and collecting metrics and logs by deploying a new Elastic Agent within your host.',
}
)}
isTechnicalPreview={true}
/>
}
>
Expand Down