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

[IM] update close/delete system index modals #45037

Merged
merged 2 commits into from
Sep 10, 2019
Merged
Changes from 1 commit
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 @@ -9,6 +9,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
import { all } from 'lodash';
import {
EuiBadge,
EuiButton,
EuiCallOut,
EuiContextMenu,
Expand Down Expand Up @@ -431,10 +432,12 @@ export class IndexActionsContextMenu extends Component {
{isSystemIndexByName[indexName] ? (
<Fragment>
{' '}
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.deleteIndex.systemIndexLabel"
defaultMessage="(System index)"
/>
<EuiBadge iconType="alert" color="hollow">
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.deleteIndex.systemIndexLabel"
defaultMessage="System index"
/>
</EuiBadge>
</Fragment>
) : ''}
</li>
Expand All @@ -457,7 +460,7 @@ export class IndexActionsContextMenu extends Component {
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.deleteIndex.proceedWithCautionCallOutDescription"
defaultMessage="System indices are critical for internal operations.
Deleting an index cannot be undone. Make sure you have appropriate backups."
If you delete a system index, you can't recover it. Make sure you have appropriate backups."
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Text change was suggested by gail while working on the index templates UI

/>
</p>
<EuiCheckbox
Expand Down Expand Up @@ -567,10 +570,12 @@ export class IndexActionsContextMenu extends Component {
{isSystemIndexByName[indexName] ? (
<Fragment>
{' '}
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.closeIndex.systemIndexLabel"
defaultMessage="(System index)"
/>
<EuiBadge iconType="alert" color="hollow">
<FormattedMessage
id="xpack.idxMgmt.indexActionsMenu.closeIndex.systemIndexLabel"
defaultMessage="System index"
/>
</EuiBadge>
</Fragment>
) : ''}
</li>
Expand Down