mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Index Management] Only show standard and lookup index mode in create index modal (#209998)
Fixes https://github.com/elastic/kibana/issues/209889 ## Summary This PR removes the "LogsDB" and "Time Series" index mode options in the create index modal as per the suggestion in https://github.com/elastic/kibana/issues/209889#issuecomment-2638045561. The index mode field was added in https://github.com/elastic/kibana/pull/207413.
This commit is contained in:
parent
9a06509972
commit
9409a4364b
1 changed files with 1 additions and 32 deletions
|
@ -25,12 +25,7 @@ import {
|
|||
EuiText,
|
||||
} from '@elastic/eui';
|
||||
|
||||
import {
|
||||
LOGSDB_INDEX_MODE,
|
||||
LOOKUP_INDEX_MODE,
|
||||
STANDARD_INDEX_MODE,
|
||||
TIME_SERIES_MODE,
|
||||
} from '../../../../../../common/constants';
|
||||
import { LOOKUP_INDEX_MODE, STANDARD_INDEX_MODE } from '../../../../../../common/constants';
|
||||
import { indexModeDescriptions, indexModeLabels } from '../../../../lib/index_mode_labels';
|
||||
import { createIndex } from '../../../../services';
|
||||
import { notificationService } from '../../../../services/notification';
|
||||
|
@ -169,32 +164,6 @@ export const CreateIndexModal = ({ closeModal, loadIndices }: CreateIndexModalPr
|
|||
</Fragment>
|
||||
),
|
||||
},
|
||||
{
|
||||
value: TIME_SERIES_MODE,
|
||||
inputDisplay: indexModeLabels[TIME_SERIES_MODE],
|
||||
'data-test-subj': 'indexModeTimeSeriesOption',
|
||||
dropdownDisplay: (
|
||||
<Fragment>
|
||||
<strong>{indexModeLabels[TIME_SERIES_MODE]}</strong>
|
||||
<EuiText size="s" color="subdued">
|
||||
<p>{indexModeDescriptions[TIME_SERIES_MODE]}</p>
|
||||
</EuiText>
|
||||
</Fragment>
|
||||
),
|
||||
},
|
||||
{
|
||||
value: LOGSDB_INDEX_MODE,
|
||||
inputDisplay: indexModeLabels[LOGSDB_INDEX_MODE],
|
||||
'data-test-subj': 'indexModeLogsdbOption',
|
||||
dropdownDisplay: (
|
||||
<Fragment>
|
||||
<strong>{indexModeLabels[LOGSDB_INDEX_MODE]}</strong>
|
||||
<EuiText size="s" color="subdued">
|
||||
<p>{indexModeDescriptions[LOGSDB_INDEX_MODE]}</p>
|
||||
</EuiText>
|
||||
</Fragment>
|
||||
),
|
||||
},
|
||||
{
|
||||
value: LOOKUP_INDEX_MODE,
|
||||
inputDisplay: indexModeLabels[LOOKUP_INDEX_MODE],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue