mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[BeatsCM] text update (#25297)
* progress * add missing text changes * text tweak * Update x-pack/plugins/beats_management/public/components/table/assignment_schema.ts
This commit is contained in:
parent
a584720286
commit
f113682c26
7 changed files with 24 additions and 26 deletions
|
@ -24,8 +24,8 @@ export const beatsListAssignmentOptions: AssignmentControlSchema[] = [
|
|||
grow: false,
|
||||
name: 'Unenroll selected',
|
||||
showWarning: true,
|
||||
warningHeading: 'Unenroll beats?',
|
||||
warningMessage: 'This will unenroll the selected beat(s) from centralized management',
|
||||
warningHeading: 'Unenroll selected beats?',
|
||||
warningMessage: 'The selected Beats will no longer use central management',
|
||||
action: AssignmentActionType.Delete,
|
||||
danger: true,
|
||||
},
|
||||
|
|
|
@ -69,9 +69,9 @@ export class ConfigView extends React.Component<ComponentProps, any> {
|
|||
<h2>
|
||||
{this.editMode
|
||||
? this.props.onSave
|
||||
? 'Edit configuration'
|
||||
: 'View configuration'
|
||||
: 'Add configuration'}
|
||||
? 'Edit configuration block'
|
||||
: 'View configuration block'
|
||||
: 'Add configuration block'}
|
||||
</h2>
|
||||
</EuiTitle>
|
||||
</EuiFlyoutHeader>
|
||||
|
|
|
@ -65,7 +65,9 @@ export class TagEdit extends React.PureComponent<TagEditProps, TagEditState> {
|
|||
<h3>Tag details</h3>
|
||||
</EuiTitle>
|
||||
<EuiText color="subdued">
|
||||
<p>Tags will apply the configurations below to all beats assigned this tag.</p>
|
||||
<p>
|
||||
A tag is a group of configuration blocks that you can apply to one or more Beats.
|
||||
</p>
|
||||
</EuiText>
|
||||
<div>
|
||||
<TagBadge tag={{ color: tag.color || '#FF0', id: tag.id }} />
|
||||
|
@ -105,12 +107,13 @@ export class TagEdit extends React.PureComponent<TagEditProps, TagEditState> {
|
|||
>
|
||||
<EuiFlexItem>
|
||||
<EuiTitle size="xs">
|
||||
<h3>Tag Configurations</h3>
|
||||
<h3>Configuration blocks</h3>
|
||||
</EuiTitle>
|
||||
<EuiText color="subdued">
|
||||
<p>
|
||||
Tags can have configurations for different types of Beats. For example, a tag can
|
||||
have two Metricbeat configurations and one Filebeat input configuration.
|
||||
A tag can have configuration blocks for different types of Beats. For example, a tag
|
||||
can have two Metricbeat configuration blocks and one Filebeat input configuration
|
||||
block.
|
||||
</p>
|
||||
</EuiText>
|
||||
</EuiFlexItem>
|
||||
|
@ -140,7 +143,7 @@ export class TagEdit extends React.PureComponent<TagEditProps, TagEditState> {
|
|||
this.setState({ showFlyout: true });
|
||||
}}
|
||||
>
|
||||
Add configuration
|
||||
Add configuration block
|
||||
</EuiButton>
|
||||
</div>
|
||||
</EuiFlexItem>
|
||||
|
@ -151,7 +154,7 @@ export class TagEdit extends React.PureComponent<TagEditProps, TagEditState> {
|
|||
<EuiHorizontalRule />
|
||||
|
||||
<EuiTitle size="xs">
|
||||
<h3>Beats assigned this tag</h3>
|
||||
<h3>Beats with this tag</h3>
|
||||
</EuiTitle>
|
||||
<Table
|
||||
assignmentOptions={{
|
||||
|
|
|
@ -14,7 +14,7 @@ import { FrontendLibs } from './lib/lib';
|
|||
import { PageRouter } from './router';
|
||||
|
||||
function startApp(libs: FrontendLibs) {
|
||||
libs.framework.registerManagementSection('beats', 'Beats Management', BASE_PATH);
|
||||
libs.framework.registerManagementSection('beats', 'Central Management', BASE_PATH);
|
||||
libs.framework.render(
|
||||
<ThemeProvider theme={{ eui: euiVars }}>
|
||||
<BreadcrumbProvider>
|
||||
|
|
|
@ -104,7 +104,7 @@ export class CreateTagFragment extends React.PureComponent<TagPageProps, TagPage
|
|||
this.props.setUrlState({
|
||||
createdTag: newTag.id,
|
||||
});
|
||||
this.props.goTo(`/overview/initial/review`);
|
||||
this.props.goTo(`/overview/initial/finish`);
|
||||
};
|
||||
}
|
||||
export const CreateTagPageFragment = withUrlState<TagPageProps>(CreateTagFragment);
|
||||
|
|
|
@ -15,7 +15,7 @@ interface PageProps extends URLStateProps<AppURLState>, RouteComponentProps<any>
|
|||
loadBeats: any;
|
||||
libs: FrontendLibs;
|
||||
}
|
||||
export class ReviewWalkthrough extends React.Component<PageProps, any> {
|
||||
export class FinishWalkthrough extends React.Component<PageProps, any> {
|
||||
constructor(props: PageProps) {
|
||||
super(props);
|
||||
|
||||
|
@ -47,15 +47,10 @@ export class ReviewWalkthrough extends React.Component<PageProps, any> {
|
|||
<EuiPageContent>
|
||||
<EuiEmptyPrompt
|
||||
iconType="logoBeats"
|
||||
title={<h2>Congratulations!</h2>}
|
||||
title={<h2>Your Beat is enrolled. What's next?</h2>}
|
||||
body={
|
||||
<React.Fragment>
|
||||
<p>
|
||||
You have enrolled your first beat, and we have assigned your new tag with its
|
||||
configurations to it
|
||||
</p>
|
||||
<h3>Next Steps</h3>
|
||||
<p>All that is left to do is to start the beat you just enrolled.</p>
|
||||
<p>Start your Beat to check for configuration errors, then click Done.</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
actions={
|
||||
|
@ -103,4 +98,4 @@ export class ReviewWalkthrough extends React.Component<PageProps, any> {
|
|||
};
|
||||
}
|
||||
|
||||
export const ReviewWalkthroughPage = withUrlState<PageProps>(ReviewWalkthrough);
|
||||
export const FinishWalkthroughPage = withUrlState<PageProps>(FinishWalkthrough);
|
|
@ -26,8 +26,8 @@ import { ActivityPage } from './activity';
|
|||
import { BeatsPage } from './beats';
|
||||
import { CreateTagPageFragment } from './create_tag_fragment';
|
||||
import { EnrollBeatPage } from './enroll_fragment';
|
||||
import { FinishWalkthroughPage } from './finish_walkthrough';
|
||||
import { TagsPage } from './tags';
|
||||
import { ReviewWalkthroughPage } from './walkthrough_review';
|
||||
|
||||
interface MainPagesProps extends URLStateProps<AppURLState> {
|
||||
libs: FrontendLibs;
|
||||
|
@ -107,10 +107,10 @@ class MainPagesComponent extends React.PureComponent<MainPagesProps, MainPagesSt
|
|||
page: CreateTagPageFragment,
|
||||
},
|
||||
{
|
||||
id: '/overview/initial/review',
|
||||
name: 'Review',
|
||||
id: '/overview/initial/finish',
|
||||
name: 'finish',
|
||||
disabled: false,
|
||||
page: ReviewWalkthroughPage,
|
||||
page: FinishWalkthroughPage,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue