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

QA fixes to align with the new borealis theme #204080

Merged
merged 12 commits into from
Dec 17, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const CloudDetailsPanel = ({
</EuiFlexItem>
<EuiFlexItem grow={false}>
<span>
<EuiBadge color="success">
<EuiBadge color="accent">
<FormattedMessage
id="searchApiPanels.cloudIdDetails.elasticsearchEndpoint.recommendedBadge"
defaultMessage="Recommended"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const AuthenticationPanelActions: React.FC = () => {
) : currentAuth === null ? (
<EuiButton
data-telemetry-id="entSearchContent-crawler-domainDetail-authentication-addCredentials"
color="success"
color="primary"
iconType="plusInCircle"
size="s"
onClick={() => enableEditing(currentAuth)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const DomainsPanel: React.FC = () => {
data-telemetry-id="entSearchContent-crawler-domainManagement-addDomain-addDomain"
onClick={openFlyout}
size="s"
color="success"
color="primary"
iconType="plusInCircle"
>
{i18n.translate('xpack.enterpriseSearch.crawler.addDomainFlyout.openButtonLabel', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const AddButton: React.FC<{
<EuiButton
fullWidth
data-telemetry-id={`entSearchContent-${ingestionMethod}-pipelines-addInferencePipeline`}
color={disabled ? undefined : 'success'}
color={disabled ? undefined : 'primary'}
disabled={disabled}
iconType={disabled ? 'lock' : 'plusInCircle'}
onClick={onClick}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ export const DeployModel = ({
const { createTextExpansionModel } = useActions(TextExpansionCalloutLogic);

return (
<EuiCallOut color="success">
<EuiCallOut color="primary">
<EuiFlexGroup direction="column" gutterSize="s">
<EuiFlexItem>
<EuiFlexGroup direction="row" gutterSize="s" alignItems="center">
<EuiFlexItem grow={false}>
<EuiBadge color="success">
<EuiBadge color="primary">
<FormattedMessage
id="xpack.enterpriseSearch.content.index.pipelines.textExpansionCallOut.titleBadge"
defaultMessage="New"
/>
</EuiBadge>
</EuiFlexItem>
<EuiFlexItem grow>
<EuiText color="success" size="xs">
<EuiText color="primary" size="xs">
<h3>
{i18n.translate(
'xpack.enterpriseSearch.content.index.pipelines.textExpansionCallOut.title',
Expand Down Expand Up @@ -87,7 +87,7 @@ export const DeployModel = ({
>
<EuiFlexItem grow={false}>
<EuiButton
color="success"
color="primary"
data-telemetry-id={`entSearchContent-${ingestionMethod}-pipelines-textExpansionCallOut-deployModel`}
disabled={isCreateButtonDisabled}
iconType="launch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const SearchIndexPipelines: React.FC = () => {
hasIndexIngestionPipeline ? (
<EuiFlexGroup alignItems="center" gutterSize="xs" justifyContent="center">
<EuiFlexItem grow={false}>
<EuiBadge color="success">
<EuiBadge color="accent">
{i18n.translate(
'xpack.enterpriseSearch.content.indices.pipelines.ingestionPipeline.customBadge',
{ defaultMessage: 'Custom' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ export const SearchLabsBanner: React.FC = () => {
<EuiPanel
hasBorder
hasShadow
color="success"
color="accentSecondary"
css={css`
background-image: url(${backgroundImagePath});
background-repeat: no-repeat;
background-size: cover;
`}
>
<SearchLabsLogo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const InlineEditableTableContents = <Item extends ItemWithAnID>({
iconType="plusInCircle"
disabled={isEditing}
onClick={editNewItem}
color="success"
color="primary"
data-test-subj="inlineEditableTableActionButton"
>
{addButtonText ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const DevToolsConsoleCodeBlock: React.FC<DevToolsConsoleCodeBlockProps> =

return (
<EuiThemeProvider colorMode="dark">
<EuiPanel hasShadow={false}>
<EuiPanel hasShadow={false} hasBorder>
<EuiFlexGroup direction="column" gutterSize="xs">
<EuiFlexGroup
direction="rowReverse"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export function SemanticTextBanner({

return isSemanticTextBannerDisplayable && isSemanticTextEnabled ? (
<>
<EuiPanel color="success" data-test-subj="indexDetailsMappingsSemanticTextBanner">
<EuiPanel color="accentSecondary" data-test-subj="indexDetailsMappingsSemanticTextBanner">
<EuiFlexGroup>
<EuiFlexItem>
<EuiText size="m" color="success">
<EuiText size="m" color="primary">
{isPlatinumLicense ? platinumLicenseMessage : defaultLicenseMessage}
</EuiText>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const SearchNotebooksButton = ({
if (activeView) {
return (
<EuiButton
color="success"
color="primary"
fill
onClick={onClick}
size="s"
Expand All @@ -47,7 +47,7 @@ export const SearchNotebooksButton = ({
}
return (
<EuiButtonEmpty
color="success"
color="primary"
onClick={onClick}
size="s"
iconType="documentation"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.serverlessSearchHeaderSection {
background-color: $euiColorPrimary;
}

.serverlessSearchHeaderSection > div {
padding-bottom: 0;
padding-top: 0;
Expand All @@ -13,4 +9,4 @@

.serverlessSearchCloudDetailsCopyPanel {
word-break: break-all;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
EuiIcon,
EuiPageTemplate,
EuiPanel,
EuiText,
EuiBadge,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
Expand Down Expand Up @@ -96,9 +95,7 @@ export const ElasticsearchOverview = () => {
return (
<EuiPageTemplate offset={0} grow restrictWidth data-test-subj="svlSearchOverviewPage">
<EuiPageTemplate.Section alignment="top" className="serverlessSearchHeaderSection">
<EuiText color="ghost">
<WelcomeBanner user={user} assetBasePath={assetBasePath} />
</EuiText>
<WelcomeBanner user={user} assetBasePath={assetBasePath} />
</EuiPageTemplate.Section>
<EuiPageTemplate.Section
color="subdued"
Expand Down
Loading