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

[Bug] Fix initial page UI issues #8217

Merged
Merged
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
2 changes: 2 additions & 0 deletions changelogs/fragments/8217.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix initial page UI issues ([#8217](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8217))

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const WorkspaceInitial = () => {
<EuiTitle size="l">
<h1>
{i18n.translate('workspace.initial.title', {
defaultMessage: 'Create a workspace to get started',
defaultMessage: 'Getting started with OpenSearch',
})}
</h1>
</EuiTitle>
Expand All @@ -134,24 +134,20 @@ export const WorkspaceInitial = () => {
<EuiText size="s">
{i18n.translate('workspace.initial.description', {
defaultMessage:
'Welcome to OpenSearch! This interface supports you to easily explore, enrich and visualize your data with developer-friendly tools and powerful integrations for machine learning, data process, and more. To begin, create a workspace for your use case.',
'OpenSearch is a flexible, scalable, open-source way to build solutions for data-intensive search and analytics applications. Explore, enrich, and visualize your data, using developer-friendly tools and powerful integrations for machine learning, data processing, and more.',
})}
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false} className="eui-displayInline">
<EuiSmallButtonEmpty
<EuiLink
href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html"
iconType="popout"
iconSide="right"
flush="left"
data-test-subj="workspace-initial-button-openSearch"
external
style={{ fontWeight: 'normal' }}
>
<EuiText size="s">
{i18n.translate('workspace.initial.button.openSearch', {
defaultMessage: 'Learn more from documentation',
})}
</EuiText>
</EuiSmallButtonEmpty>
{i18n.translate('workspace.initial.button.openSearch', {
defaultMessage: 'Learn more from documentation',
})}
</EuiLink>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiTitle size="m">
Expand All @@ -176,7 +172,11 @@ export const WorkspaceInitial = () => {
<EuiText size="s">
<EuiIcon type="dashboardApp" size="l" />
&nbsp;&nbsp;Explore live demo environment at{' '}
<EuiLink href="https://playground.opensearch.org/">
<EuiLink
href="https://playground.opensearch.org/"
external
style={{ fontWeight: 'normal' }}
>
playground.opensearch.org
</EuiLink>
</EuiText>
Expand All @@ -190,7 +190,7 @@ export const WorkspaceInitial = () => {
return (
<EuiPage style={{ minHeight: '100vh' }}>
<EuiPageBody>
<EuiFlexGroup direction="column" justifyContent="center" alignItems="center">
<EuiFlexGroup direction="column" alignItems="center" style={{ paddingTop: '100px' }}>
<EuiFlexItem grow={false}>
<EuiImage size="l" alt="OpenSearch" src={logos.OpenSearch.url} />
</EuiFlexItem>
Expand All @@ -206,6 +206,7 @@ export const WorkspaceInitial = () => {
>
{content}
</EuiPageContent>
<EuiSpacer size="m" />
<EuiSmallButtonEmpty
iconType="gear"
iconSide="left"
Expand Down
Loading