Skip to content

Commit

Permalink
Updated paragraph size
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Dong <[email protected]>
  • Loading branch information
danieldong51 committed Jul 31, 2024
1 parent 600d05b commit d9f776e
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function HelpPanel(props: Props) {
</EuiTitle>
</EuiFlyoutHeader>
<EuiFlyoutBody>
<EuiText>
<EuiText size="s">
<h3>
<FormattedMessage
defaultMessage="Request format"
Expand All @@ -75,8 +75,6 @@ export function HelpPanel(props: Props) {
defaultMessage="Keyboard commands"
/>
</h3>
</EuiText>
<EuiText size="s">
<EuiSpacer />
<dl>
<dt>Ctrl/Cmd + I</dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,36 @@ export const getNoItemsMessage = (
}
body={
<Fragment>
<p>
<FormattedMessage
id="dashboard.listing.createNewDashboard.combineDataViewFromOpenSearchDashboardsAppDescription"
defaultMessage="You can combine data views from any OpenSearch Dashboards app into one dashboard and see everything in one place."
/>
</p>
<p>
<FormattedMessage
id="dashboard.listing.createNewDashboard.newToOpenSearchDashboardsDescription"
defaultMessage="New to OpenSearch Dashboards? {sampleDataInstallLink} to take a test drive."
values={{
sampleDataInstallLink: (
<EuiLink
onClick={() =>
application.navigateToApp('home', {
path: '#/tutorial_directory/sampleData',
})
}
>
<FormattedMessage
id="dashboard.listing.createNewDashboard.sampleDataInstallLinkText"
defaultMessage="Install some sample data"
/>
</EuiLink>
),
}}
/>
</p>
<EuiText size="s">
<p>
<FormattedMessage
id="dashboard.listing.createNewDashboard.combineDataViewFromOpenSearchDashboardsAppDescription"
defaultMessage="You can combine data views from any OpenSearch Dashboards app into one dashboard and see everything in one place."
/>
</p>
<p>
<FormattedMessage
id="dashboard.listing.createNewDashboard.newToOpenSearchDashboardsDescription"
defaultMessage="New to OpenSearch Dashboards? {sampleDataInstallLink} to take a test drive."
values={{
sampleDataInstallLink: (
<EuiLink
onClick={() =>
application.navigateToApp('home', {

Check warning on line 64 in src/plugins/dashboard/public/application/utils/get_no_items_message.tsx

View check run for this annotation

Codecov / codecov/patch

src/plugins/dashboard/public/application/utils/get_no_items_message.tsx#L64

Added line #L64 was not covered by tests
path: '#/tutorial_directory/sampleData',
})
}
>
<FormattedMessage
id="dashboard.listing.createNewDashboard.sampleDataInstallLinkText"
defaultMessage="Install some sample data"
/>
</EuiLink>
),
}}
/>
</p>
</EuiText>
</Fragment>
}
actions={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const Header = () => {
</h1>
</EuiTitle>
<EuiSpacer size="s" />
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="dataSourcesManagement.createDataSource.description"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const CreateDataSourcePanelHeader: React.FC = () => {
</h2>
</EuiTitle>
<EuiSpacer size="s" />
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="dataSourcesManagement.createDataSourcePanel.description"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const DataSourceHeader: React.FC<DataSourceHeaderProps> = () => {
</h2>
</EuiTitle>
<EuiSpacer size="s" />
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="dataSourcesManagement.dataSourcesTable.description"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const NoAccess = () => {
iconType="alert"
title={<h2>{'No permissions to access'}</h2>}
body={
<EuiText>
<EuiText size="s">
{
'You are missing permissions to view connection details. Contact your administrator for permissions.'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
EuiConfirmModal,
EuiSmallButton,
EuiSmallButtonEmpty,
EuiText,
} from '@elastic/eui';
import { i18n } from '@osd/i18n';
import { FormattedMessage } from '@osd/i18n/react';
Expand Down Expand Up @@ -121,22 +122,24 @@ export const Header = ({
defaultFocusedButton="confirm"
data-test-subj="editDatasourceDeleteConfirmModal"
>
<p>
{
<FormattedMessage
id="dataSourcesManagement.editDataSource.deleteConfirmation"
defaultMessage="Any objects created using data from these sources, including Index Patterns, Visualizations, and Observability Panels, will be impacted."
/>
}
</p>
<p>
{
<FormattedMessage
id="dataSourcesManagement.editDataSource.deleteWarning"
defaultMessage="This action cannot be undone."
/>
}
</p>
<EuiText size="s">
<p>
{
<FormattedMessage
id="dataSourcesManagement.editDataSource.deleteConfirmation"
defaultMessage="Any objects created using data from these sources, including Index Patterns, Visualizations, and Observability Panels, will be impacted."
/>
}
</p>
<p>
{
<FormattedMessage
id="dataSourcesManagement.editDataSource.deleteWarning"
defaultMessage="This action cannot be undone."
/>
}
</p>
</EuiText>
</EuiConfirmModal>
) : null}
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const EditIndexPattern = withRouter(
</EuiFlexGroup>
)}
<EuiSpacer size="m" />
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="indexPatternManagement.editIndexPattern.timeFilterLabel.timeFilterDetail"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Header = withRouter(({ indexPatternId, history }: HeaderProps) => (
/>
</h3>
</EuiTitle>
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="indexPatternManagement.editIndexPattern.scriptedLabel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Header = () => (
/>
</h3>
</EuiTitle>
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="indexPatternManagement.editIndexPattern.sourceLabel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const IndexPatternTable = ({ canSave, history }: Props) => {
<h2>{title}</h2>
</EuiTitle>
<EuiSpacer size="s" />
<EuiText>
<EuiText size="s">
<p>
<FormattedMessage
id="indexPatternManagement.indexPatternTable.indexPatternExplanation"
Expand Down

0 comments on commit d9f776e

Please sign in to comment.